Searched refs:wufc (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 754 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc) in atl1c_power_saving() argument 778 if (!wufc) { /* without WoL */ in atl1c_power_saving() 789 if (wufc & AT_WUFC_MAG) { in atl1c_power_saving() 795 if (wufc & AT_WUFC_LNKC) { in atl1c_power_saving()
|
D | atl1c_hw.h | 39 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc);
|
D | atl1c_main.c | 2426 u32 wufc = adapter->wol; in atl1c_suspend() local 2435 if (wufc) in atl1c_suspend() 2439 atl1c_power_saving(hw, wufc); in atl1c_suspend()
|
/Linux-v5.4/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 1500 u32 wufc = adapter->wol; in atl2_suspend() local 1522 wufc &= ~ATLX_WUFC_LNKC; in atl2_suspend() 1524 if (0 != (ctrl & BMSR_LSTATUS) && 0 != wufc) { in atl2_suspend() 1538 if (wufc & ATLX_WUFC_MAG) in atl2_suspend() 1554 if (wufc & ATLX_WUFC_MAG) { in atl2_suspend() 1573 if (0 == (ctrl&BMSR_LSTATUS) && 0 != (wufc&ATLX_WUFC_LNKC)) { in atl2_suspend()
|
D | atl1.c | 2760 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-v5.4/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 2066 u32 wufc = adapter->wol; in atl1e_suspend() local 2084 if (wufc) { in atl1e_suspend() 2102 if (wufc & AT_WUFC_MAG) in atl1e_suspend() 2105 if (wufc & AT_WUFC_LNKC) { in atl1e_suspend() 2141 if (wufc & AT_WUFC_MAG) in atl1e_suspend()
|
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 6201 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() argument 6252 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup() 6256 ew32(WUFC, wufc); in e1000_init_phy_wakeup() 6261 hw->phy.ops.write_reg_page(&adapter->hw, BM_WUFC, wufc); in e1000_init_phy_wakeup() 6331 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __e1000_shutdown() local 6336 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown() 6338 if (wufc) { in __e1000_shutdown() 6343 if (wufc & E1000_WUFC_MC) { in __e1000_shutdown() 6372 retval = e1000_init_phy_wakeup(adapter, wufc); in __e1000_shutdown() 6377 ew32(WUFC, wufc); in __e1000_shutdown() [all …]
|
/Linux-v5.4/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 2413 u32 wufc = adapter->wake_up_evt; in __pch_gbe_suspend() local 2419 if (wufc) { in __pch_gbe_suspend() 2427 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend() 2431 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
|
/Linux-v5.4/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 5054 u32 wufc = adapter->wol; in __e1000_shutdown() local 5079 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown() 5081 if (wufc) { in __e1000_shutdown() 5088 if (wufc & E1000_WUFC_MC) in __e1000_shutdown() 5114 ew32(WUFC, wufc); in __e1000_shutdown() 5122 *enable_wake = !!wufc; in __e1000_shutdown()
|
/Linux-v5.4/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 8731 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __igb_shutdown() local 8747 wufc &= ~E1000_WUFC_LNKC; in __igb_shutdown() 8749 if (wufc) { in __igb_shutdown() 8754 if (wufc & E1000_WUFC_MC) { in __igb_shutdown() 8768 wr32(E1000_WUFC, wufc); in __igb_shutdown() 8774 wake = wufc || adapter->en_mng_pt; in __igb_shutdown()
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 6910 u32 wufc = adapter->wol; in __ixgbe_shutdown() local 6933 if (wufc) { in __ixgbe_shutdown() 6951 IXGBE_WRITE_REG(hw, IXGBE_WUFC, wufc); in __ixgbe_shutdown() 6966 pci_wake_from_d3(pdev, !!wufc); in __ixgbe_shutdown() 6972 *enable_wake = !!wufc; in __ixgbe_shutdown()
|