Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/atheros/atl1c/
H A 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()
H A Datl1c_hw.h39 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc);
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/atheros/atlx/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c6243 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() argument
6294 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup()
6298 ew32(WUFC, wufc); in e1000_init_phy_wakeup()
6303 hw->phy.ops.write_reg_page(&adapter->hw, BM_WUFC, wufc); in e1000_init_phy_wakeup()
6599 u32 ctrl, ctrl_ext, rctl, status, wufc; in __e1000_shutdown() local
6604 wufc = E1000_WUFC_LNKC; in __e1000_shutdown()
6606 wufc = adapter->wol; in __e1000_shutdown()
6608 wufc = 0; in __e1000_shutdown()
6612 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
6614 if (wufc) { in __e1000_shutdown()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/atheros/atl1e/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c2408 u32 wufc = adapter->wake_up_evt; in __pch_gbe_suspend() local
2414 if (wufc) { in __pch_gbe_suspend()
2422 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
2426 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igc/
H A Digc_main.c5303 u32 wufc = runtime ? IGC_WUFC_LNKC : adapter->wol; in __igc_shutdown() local
5321 wufc &= ~IGC_WUFC_LNKC; in __igc_shutdown()
5323 if (wufc) { in __igc_shutdown()
5328 if (wufc & IGC_WUFC_MC) { in __igc_shutdown()
5342 wr32(IGC_WUFC, wufc); in __igc_shutdown()
5348 wake = wufc || adapter->en_mng_pt; in __igc_shutdown()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000/
H A 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()
/OK3568_Linux_fs/external/dpdk/pcie/e1000/
H A Digb_ethdev.c4162 uint32_t wufc, queueing; in igb_inject_flex_filter() local
4166 wufc = E1000_READ_REG(hw, E1000_WUFC); in igb_inject_flex_filter()
4172 E1000_WRITE_REG(hw, E1000_WUFC, wufc | E1000_WUFC_FLEX_HQ | in igb_inject_flex_filter()
4222 uint32_t wufc, i; in igb_remove_flex_filter() local
4225 wufc = E1000_READ_REG(hw, E1000_WUFC); in igb_remove_flex_filter()
4234 E1000_WRITE_REG(hw, E1000_WUFC, wufc & in igb_remove_flex_filter()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A Digb_main.c9180 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __igb_shutdown() local
9196 wufc &= ~E1000_WUFC_LNKC; in __igb_shutdown()
9198 if (wufc) { in __igb_shutdown()
9203 if (wufc & E1000_WUFC_MC) { in __igb_shutdown()
9217 wr32(E1000_WUFC, wufc); in __igb_shutdown()
9223 wake = wufc || adapter->en_mng_pt; in __igb_shutdown()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c6941 u32 wufc = adapter->wol; in __ixgbe_shutdown() local
6955 if (wufc) { in __ixgbe_shutdown()
6973 IXGBE_WRITE_REG(hw, IXGBE_WUFC, wufc); in __ixgbe_shutdown()
6988 pci_wake_from_d3(pdev, !!wufc); in __ixgbe_shutdown()
6994 *enable_wake = !!wufc; in __ixgbe_shutdown()