Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c754 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()
Datl1c_hw.h39 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc);
Datl1c_main.c2422 u32 wufc = adapter->wol; in atl1c_suspend() local
2431 if (wufc) in atl1c_suspend()
2435 atl1c_power_saving(hw, wufc); in atl1c_suspend()
/Linux-v5.10/drivers/net/ethernet/atheros/atlx/
Datl2.c1495 u32 wufc = adapter->wol; in atl2_suspend() local
1517 wufc &= ~ATLX_WUFC_LNKC; in atl2_suspend()
1519 if (0 != (ctrl & BMSR_LSTATUS) && 0 != wufc) { in atl2_suspend()
1533 if (wufc & ATLX_WUFC_MAG) in atl2_suspend()
1549 if (wufc & ATLX_WUFC_MAG) { in atl2_suspend()
1568 if (0 == (ctrl&BMSR_LSTATUS) && 0 != (wufc&ATLX_WUFC_LNKC)) { in atl2_suspend()
Datl1.c2760 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.10/drivers/net/ethernet/intel/e1000e/
Dnetdev.c6275 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() argument
6326 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup()
6330 ew32(WUFC, wufc); in e1000_init_phy_wakeup()
6335 hw->phy.ops.write_reg_page(&adapter->hw, BM_WUFC, wufc); in e1000_init_phy_wakeup()
6631 u32 ctrl, ctrl_ext, rctl, status, wufc; in __e1000_shutdown() local
6636 wufc = E1000_WUFC_LNKC; in __e1000_shutdown()
6638 wufc = adapter->wol; in __e1000_shutdown()
6640 wufc = 0; in __e1000_shutdown()
6644 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
6646 if (wufc) { in __e1000_shutdown()
[all …]
/Linux-v5.10/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c2074 u32 wufc = adapter->wol; in atl1e_suspend() local
2092 if (wufc) { in atl1e_suspend()
2110 if (wufc & AT_WUFC_MAG) in atl1e_suspend()
2113 if (wufc & AT_WUFC_LNKC) { in atl1e_suspend()
2149 if (wufc & AT_WUFC_MAG) in atl1e_suspend()
/Linux-v5.10/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c2414 u32 wufc = adapter->wake_up_evt; in __pch_gbe_suspend() local
2420 if (wufc) { in __pch_gbe_suspend()
2428 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
2432 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc_main.c5272 u32 wufc = runtime ? IGC_WUFC_LNKC : adapter->wol; in __igc_shutdown() local
5290 wufc &= ~IGC_WUFC_LNKC; in __igc_shutdown()
5292 if (wufc) { in __igc_shutdown()
5297 if (wufc & IGC_WUFC_MC) { in __igc_shutdown()
5311 wr32(IGC_WUFC, wufc); in __igc_shutdown()
5317 wake = wufc || adapter->en_mng_pt; in __igc_shutdown()
/Linux-v5.10/drivers/net/ethernet/intel/e1000/
De1000_main.c5066 u32 wufc = adapter->wol; in __e1000_shutdown() local
5082 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
5084 if (wufc) { in __e1000_shutdown()
5091 if (wufc & E1000_WUFC_MC) in __e1000_shutdown()
5117 ew32(WUFC, wufc); in __e1000_shutdown()
5125 *enable_wake = !!wufc; in __e1000_shutdown()
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb_main.c9144 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __igb_shutdown() local
9160 wufc &= ~E1000_WUFC_LNKC; in __igb_shutdown()
9162 if (wufc) { in __igb_shutdown()
9167 if (wufc & E1000_WUFC_MC) { in __igb_shutdown()
9181 wr32(E1000_WUFC, wufc); in __igb_shutdown()
9187 wake = wufc || adapter->en_mng_pt; in __igb_shutdown()
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c6928 u32 wufc = adapter->wol; in __ixgbe_shutdown() local
6942 if (wufc) { in __ixgbe_shutdown()
6960 IXGBE_WRITE_REG(hw, IXGBE_WUFC, wufc); in __ixgbe_shutdown()
6975 pci_wake_from_d3(pdev, !!wufc); in __ixgbe_shutdown()
6981 *enable_wake = !!wufc; in __ixgbe_shutdown()