Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c767 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc) in atl1c_power_saving() argument
791 if (!wufc) { /* without WoL */ in atl1c_power_saving()
802 if (wufc & AT_WUFC_MAG) { in atl1c_power_saving()
808 if (wufc & AT_WUFC_LNKC) { in atl1c_power_saving()
Datl1c_hw.h52 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc);
Datl1c_main.c2442 u32 wufc = adapter->wol; in atl1c_suspend() local
2451 if (wufc) in atl1c_suspend()
2455 atl1c_power_saving(hw, wufc); in atl1c_suspend()
/Linux-v4.19/drivers/net/ethernet/atheros/atlx/
Datl2.c1517 u32 wufc = adapter->wol; in atl2_suspend() local
1539 wufc &= ~ATLX_WUFC_LNKC; in atl2_suspend()
1541 if (0 != (ctrl & BMSR_LSTATUS) && 0 != wufc) { in atl2_suspend()
1555 if (wufc & ATLX_WUFC_MAG) in atl2_suspend()
1571 if (wufc & ATLX_WUFC_MAG) { in atl2_suspend()
1590 if (0 == (ctrl&BMSR_LSTATUS) && 0 != (wufc&ATLX_WUFC_LNKC)) { in atl2_suspend()
Datl1.c2782 u32 wufc = adapter->wol; in atl1_suspend() local
2795 wufc &= ~ATLX_WUFC_LNKC; in atl1_suspend()
2796 if (!wufc) in atl1_suspend()
2811 if (wufc & ATLX_WUFC_MAG) in atl1_suspend()
2825 if (wufc & ATLX_WUFC_MAG) in atl1_suspend()
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c2078 u32 wufc = adapter->wol; in atl1e_suspend() local
2096 if (wufc) { in atl1e_suspend()
2114 if (wufc & AT_WUFC_MAG) in atl1e_suspend()
2117 if (wufc & AT_WUFC_LNKC) { in atl1e_suspend()
2153 if (wufc & AT_WUFC_MAG) in atl1e_suspend()
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/
Dnetdev.c6179 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() argument
6230 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup()
6234 ew32(WUFC, wufc); in e1000_init_phy_wakeup()
6239 hw->phy.ops.write_reg_page(&adapter->hw, BM_WUFC, wufc); in e1000_init_phy_wakeup()
6309 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __e1000_shutdown() local
6314 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
6316 if (wufc) { in __e1000_shutdown()
6321 if (wufc & E1000_WUFC_MC) { in __e1000_shutdown()
6350 retval = e1000_init_phy_wakeup(adapter, wufc); in __e1000_shutdown()
6355 ew32(WUFC, wufc); in __e1000_shutdown()
[all …]
/Linux-v4.19/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c2427 u32 wufc = adapter->wake_up_evt; in __pch_gbe_suspend() local
2433 if (wufc) { in __pch_gbe_suspend()
2441 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
2445 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
/Linux-v4.19/drivers/net/ethernet/intel/e1000/
De1000_main.c5063 u32 wufc = adapter->wol; in __e1000_shutdown() local
5088 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
5090 if (wufc) { in __e1000_shutdown()
5097 if (wufc & E1000_WUFC_MC) in __e1000_shutdown()
5123 ew32(WUFC, wufc); in __e1000_shutdown()
5131 *enable_wake = !!wufc; in __e1000_shutdown()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_main.c8756 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __igb_shutdown() local
8780 wufc &= ~E1000_WUFC_LNKC; in __igb_shutdown()
8782 if (wufc) { in __igb_shutdown()
8787 if (wufc & E1000_WUFC_MC) { in __igb_shutdown()
8805 wr32(E1000_WUFC, wufc); in __igb_shutdown()
8811 *enable_wake = wufc || adapter->en_mng_pt; in __igb_shutdown()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c6831 u32 wufc = adapter->wol; in __ixgbe_shutdown() local
6854 if (wufc) { in __ixgbe_shutdown()
6872 IXGBE_WRITE_REG(hw, IXGBE_WUFC, wufc); in __ixgbe_shutdown()
6887 pci_wake_from_d3(pdev, !!wufc); in __ixgbe_shutdown()
6893 *enable_wake = !!wufc; in __ixgbe_shutdown()