Searched refs:wufc (Results 1 – 11 of 11) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 767 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()
|
D | atl1c_hw.h | 52 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc);
|
D | atl1c_main.c | 2448 u32 wufc = adapter->wol; in atl1c_suspend() local 2457 if (wufc) in atl1c_suspend() 2461 atl1c_power_saving(hw, wufc); in atl1c_suspend()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 1520 u32 wufc = adapter->wol; in atl2_suspend() local 1542 wufc &= ~ATLX_WUFC_LNKC; in atl2_suspend() 1544 if (0 != (ctrl & BMSR_LSTATUS) && 0 != wufc) { in atl2_suspend() 1558 if (wufc & ATLX_WUFC_MAG) in atl2_suspend() 1574 if (wufc & ATLX_WUFC_MAG) { in atl2_suspend() 1593 if (0 == (ctrl&BMSR_LSTATUS) && 0 != (wufc&ATLX_WUFC_LNKC)) { in atl2_suspend()
|
D | atl1.c | 2790 u32 wufc = adapter->wol; in atl1_suspend() local 2803 wufc &= ~ATLX_WUFC_LNKC; in atl1_suspend() 2804 if (!wufc) in atl1_suspend() 2819 if (wufc & ATLX_WUFC_MAG) in atl1_suspend() 2833 if (wufc & ATLX_WUFC_MAG) in atl1_suspend()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 2092 u32 wufc = adapter->wol; in atl1e_suspend() local 2110 if (wufc) { in atl1e_suspend() 2128 if (wufc & AT_WUFC_MAG) in atl1e_suspend() 2131 if (wufc & AT_WUFC_LNKC) { in atl1e_suspend() 2167 if (wufc & AT_WUFC_MAG) in atl1e_suspend()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 6131 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() argument 6182 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup() 6186 ew32(WUFC, wufc); in e1000_init_phy_wakeup() 6191 hw->phy.ops.write_reg_page(&adapter->hw, BM_WUFC, wufc); in e1000_init_phy_wakeup() 6261 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __e1000_shutdown() local 6266 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown() 6268 if (wufc) { in __e1000_shutdown() 6273 if (wufc & E1000_WUFC_MC) { in __e1000_shutdown() 6302 retval = e1000_init_phy_wakeup(adapter, wufc); in __e1000_shutdown() 6307 ew32(WUFC, wufc); in __e1000_shutdown() [all …]
|
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 2503 u32 wufc = adapter->wake_up_evt; in __pch_gbe_suspend() local 2509 if (wufc) { in __pch_gbe_suspend() 2517 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend() 2521 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 5058 u32 wufc = adapter->wol; in __e1000_shutdown() local 5083 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown() 5085 if (wufc) { in __e1000_shutdown() 5092 if (wufc & E1000_WUFC_MC) in __e1000_shutdown() 5118 ew32(WUFC, wufc); in __e1000_shutdown() 5126 *enable_wake = !!wufc; in __e1000_shutdown()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 7314 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __igb_shutdown() local 7334 wufc &= ~E1000_WUFC_LNKC; in __igb_shutdown() 7336 if (wufc) { in __igb_shutdown() 7341 if (wufc & E1000_WUFC_MC) { in __igb_shutdown() 7359 wr32(E1000_WUFC, wufc); in __igb_shutdown() 7365 *enable_wake = wufc || adapter->en_mng_pt; in __igb_shutdown()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 5942 u32 wufc = adapter->wol; in __ixgbe_shutdown() local 5965 if (wufc) { in __ixgbe_shutdown() 5973 if (wufc & IXGBE_WUFC_MC) { in __ixgbe_shutdown() 5983 IXGBE_WRITE_REG(hw, IXGBE_WUFC, wufc); in __ixgbe_shutdown() 5997 pci_wake_from_d3(pdev, !!wufc); in __ixgbe_shutdown() 6003 *enable_wake = !!wufc; in __ixgbe_shutdown()
|