Searched refs:wufc (Results 1 – 11 of 11) sorted by relevance
/linux-4.1.27/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 | 2438 u32 wufc = adapter->wol; in atl1c_suspend() local 2447 if (wufc) in atl1c_suspend() 2451 atl1c_power_saving(hw, wufc); in atl1c_suspend()
|
/linux-4.1.27/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.1.27/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.1.27/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 5982 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() argument 6033 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup() 6037 ew32(WUFC, wufc); in e1000_init_phy_wakeup() 6042 hw->phy.ops.write_reg_page(&adapter->hw, BM_WUFC, wufc); in e1000_init_phy_wakeup() 6112 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __e1000_shutdown() local 6117 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown() 6119 if (wufc) { in __e1000_shutdown() 6124 if (wufc & E1000_WUFC_MC) { in __e1000_shutdown() 6153 retval = e1000_init_phy_wakeup(adapter, wufc); in __e1000_shutdown() 6158 ew32(WUFC, wufc); in __e1000_shutdown() [all …]
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 5063 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-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 7361 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __igb_shutdown() local 7381 wufc &= ~E1000_WUFC_LNKC; in __igb_shutdown() 7383 if (wufc) { in __igb_shutdown() 7388 if (wufc & E1000_WUFC_MC) { in __igb_shutdown() 7406 wr32(E1000_WUFC, wufc); in __igb_shutdown() 7412 *enable_wake = wufc || adapter->en_mng_pt; in __igb_shutdown()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 5830 u32 wufc = adapter->wol; in __ixgbe_shutdown() local 5853 if (wufc) { in __ixgbe_shutdown() 5861 if (wufc & IXGBE_WUFC_MC) { in __ixgbe_shutdown() 5871 IXGBE_WRITE_REG(hw, IXGBE_WUFC, wufc); in __ixgbe_shutdown() 5885 pci_wake_from_d3(pdev, !!wufc); in __ixgbe_shutdown() 5891 *enable_wake = !!wufc; in __ixgbe_shutdown()
|