Home
last modified time | relevance | path

Searched refs:wufc (Results 1 – 13 of 13) sorted by relevance

/linux-6.15/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_main.c440 u32 wufc = wx->wol; in ngbe_dev_shutdown() local
451 if (wufc) { in ngbe_dev_shutdown()
454 wr32(wx, NGBE_PSR_WKUP_CTL, wufc); in ngbe_dev_shutdown()
458 pci_wake_from_d3(pdev, !!wufc); in ngbe_dev_shutdown()
459 *enable_wake = !!wufc; in ngbe_dev_shutdown()
/linux-6.15/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.c780 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc) in atl1c_power_saving() argument
804 if (!wufc) { /* without WoL */ in atl1c_power_saving()
815 if (wufc & AT_WUFC_MAG) { in atl1c_power_saving()
821 if (wufc & AT_WUFC_LNKC) { in atl1c_power_saving()
H A Datl1c_hw.h40 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc);
H A Datl1c_main.c2513 u32 wufc = adapter->wol; in atl1c_suspend() local
2522 if (wufc) in atl1c_suspend()
2526 atl1c_power_saving(hw, wufc); in atl1c_suspend()
/linux-6.15/drivers/net/ethernet/intel/igc/
H A Digc_main.c3601 u32 wufc; in igc_write_flex_filter_ll() local
3621 wufc = rd32(IGC_WUFC); in igc_write_flex_filter_ll()
3623 wr32(IGC_WUFC, wufc); in igc_write_flex_filter_ll()
3677 wr32(IGC_WUFC, wufc); in igc_write_flex_filter_ll()
3713 u32 wufc, wufc_ext; in igc_find_avail_flex_filter_slot() local
3716 wufc = rd32(IGC_WUFC); in igc_find_avail_flex_filter_slot()
3735 u32 wufc, wufc_ext; in igc_flex_filter_in_use() local
3737 wufc = rd32(IGC_WUFC); in igc_flex_filter_in_use()
3831 u32 wufc; in igc_del_flex_filter() local
3855 wr32(IGC_WUFC, wufc); in igc_del_flex_filter()
[all …]
/linux-6.15/drivers/net/ethernet/atheros/atlx/
H A Datl2.c1495 u32 wufc = adapter->wol; in atl2_suspend() local
1517 wufc &= ~ATLX_WUFC_LNKC; in atl2_suspend()
1519 if (0 != (ctrl & BMSR_LSTATUS) && 0 != wufc) { in atl2_suspend()
1533 if (wufc & ATLX_WUFC_MAG) in atl2_suspend()
1549 if (wufc & ATLX_WUFC_MAG) { in atl2_suspend()
1568 if (0 == (ctrl&BMSR_LSTATUS) && 0 != (wufc&ATLX_WUFC_LNKC)) { in atl2_suspend()
H A Datl1.c2760 u32 wufc = adapter->wol; in atl1_suspend() local
2773 wufc &= ~ATLX_WUFC_LNKC; in atl1_suspend()
2774 if (!wufc) in atl1_suspend()
2789 if (wufc & ATLX_WUFC_MAG) in atl1_suspend()
2803 if (wufc & ATLX_WUFC_MAG) in atl1_suspend()
/linux-6.15/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c6266 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup()
6270 ew32(WUFC, wufc); in e1000_init_phy_wakeup()
6629 u32 ctrl, ctrl_ext, rctl, status, wufc; in __e1000_shutdown() local
6634 wufc = E1000_WUFC_LNKC; in __e1000_shutdown()
6636 wufc = adapter->wol; in __e1000_shutdown()
6638 wufc = 0; in __e1000_shutdown()
6642 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
6644 if (wufc) { in __e1000_shutdown()
6649 if (wufc & E1000_WUFC_MC) { in __e1000_shutdown()
6685 ew32(WUFC, wufc); in __e1000_shutdown()
[all …]
/linux-6.15/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c2080 u32 wufc = adapter->wol; in atl1e_suspend() local
2098 if (wufc) { in atl1e_suspend()
2116 if (wufc & AT_WUFC_MAG) in atl1e_suspend()
2119 if (wufc & AT_WUFC_LNKC) { in atl1e_suspend()
2155 if (wufc & AT_WUFC_MAG) in atl1e_suspend()
/linux-6.15/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c2387 u32 wufc = adapter->wake_up_evt; in __pch_gbe_suspend() local
2392 if (wufc) { in __pch_gbe_suspend()
2400 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
2404 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
/linux-6.15/drivers/net/ethernet/intel/e1000/
H A De1000_main.c5068 u32 wufc = adapter->wol; in __e1000_shutdown() local
5086 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
5088 if (wufc) { in __e1000_shutdown()
5095 if (wufc & E1000_WUFC_MC) in __e1000_shutdown()
5121 ew32(WUFC, wufc); in __e1000_shutdown()
5129 *enable_wake = !!wufc; in __e1000_shutdown()
/linux-6.15/drivers/net/ethernet/intel/igb/
H A Digb_main.c9447 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __igb_shutdown() local
9463 wufc &= ~E1000_WUFC_LNKC; in __igb_shutdown()
9465 if (wufc) { in __igb_shutdown()
9470 if (wufc & E1000_WUFC_MC) { in __igb_shutdown()
9484 wr32(E1000_WUFC, wufc); in __igb_shutdown()
9490 wake = wufc || adapter->en_mng_pt; in __igb_shutdown()
/linux-6.15/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c7376 u32 wufc = adapter->wol; in __ixgbe_shutdown() local
7390 if (wufc) { in __ixgbe_shutdown()
7408 IXGBE_WRITE_REG(hw, IXGBE_WUFC, wufc); in __ixgbe_shutdown()
7424 pci_wake_from_d3(pdev, !!wufc); in __ixgbe_shutdown()
7430 *enable_wake = !!wufc; in __ixgbe_shutdown()