Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_main.c534 u32 wufc = wx->wol; in ngbe_shutdown()
545 if (wufc) { in ngbe_shutdown()
548 wr32(wx, WX_PSR_WKUP_CTL, wufc);
552 pci_wake_from_d3(pdev, !!wufc);
553 *enable_wake = !!wufc;
509 u32 wufc = wx->wol; ngbe_dev_shutdown() local
/linux/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/drivers/net/ethernet/atheros/atlx/
H A Datl2.c1496 u32 wufc = adapter->wol; in atl2_suspend() local
1518 wufc &= ~ATLX_WUFC_LNKC; in atl2_suspend()
1520 if (0 != (ctrl & BMSR_LSTATUS) && 0 != wufc) { in atl2_suspend()
1534 if (wufc & ATLX_WUFC_MAG) in atl2_suspend()
1550 if (wufc & ATLX_WUFC_MAG) { in atl2_suspend()
1569 if (0 == (ctrl&BMSR_LSTATUS) && 0 != (wufc&ATLX_WUFC_LNKC)) { in atl2_suspend()
H A Datl1.c2795 u32 wufc = adapter->wol; in atl1_suspend() local
2808 wufc &= ~ATLX_WUFC_LNKC; in atl1_suspend()
2809 if (!wufc) in atl1_suspend()
2824 if (wufc & ATLX_WUFC_MAG) in atl1_suspend()
2838 if (wufc & ATLX_WUFC_MAG) in atl1_suspend()
/linux/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c6218 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() argument
6269 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup()
6273 ew32(WUFC, wufc); in e1000_init_phy_wakeup()
6278 hw->phy.ops.write_reg_page(&adapter->hw, BM_WUFC, wufc); in e1000_init_phy_wakeup()
6632 u32 ctrl, ctrl_ext, rctl, status, wufc; in __e1000_shutdown() local
6637 wufc = E1000_WUFC_LNKC; in __e1000_shutdown()
6639 wufc = adapter->wol; in __e1000_shutdown()
6641 wufc = 0; in __e1000_shutdown()
6645 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
6647 if (wufc) { in __e1000_shutdown()
[all …]
/linux/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/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c2395 u32 wufc = adapter->wake_up_evt; in __pch_gbe_suspend() local
2400 if (wufc) { in __pch_gbe_suspend()
2408 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
2412 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_main.c5073 u32 wufc = adapter->wol; in __e1000_shutdown() local
5091 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
5093 if (wufc) { in __e1000_shutdown()
5100 if (wufc & E1000_WUFC_MC) in __e1000_shutdown()
5126 ew32(WUFC, wufc); in __e1000_shutdown()
5134 *enable_wake = !!wufc; in __e1000_shutdown()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c9492 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __igb_shutdown() local
9508 wufc &= ~E1000_WUFC_LNKC; in __igb_shutdown()
9510 if (wufc) { in __igb_shutdown()
9515 if (wufc & E1000_WUFC_MC) { in __igb_shutdown()
9529 wr32(E1000_WUFC, wufc); in __igb_shutdown()
9535 wake = wufc || adapter->en_mng_pt; in __igb_shutdown()