Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/intel/igc/
Digc_main.c3189 u32 wufc; in igc_write_flex_filter_ll() local
3209 wufc = rd32(IGC_WUFC); in igc_write_flex_filter_ll()
3210 wufc &= ~IGC_WUFC_FLEX_HQ; in igc_write_flex_filter_ll()
3211 wr32(IGC_WUFC, wufc); in igc_write_flex_filter_ll()
3254 wufc |= IGC_WUFC_FLEX_HQ; in igc_write_flex_filter_ll()
3263 wufc |= (IGC_WUFC_FLX0 << input->index); in igc_write_flex_filter_ll()
3265 wr32(IGC_WUFC, wufc); in igc_write_flex_filter_ll()
3301 u32 wufc, wufc_ext; in igc_find_avail_flex_filter_slot() local
3304 wufc = rd32(IGC_WUFC); in igc_find_avail_flex_filter_slot()
3309 if (!(wufc & (IGC_WUFC_FLX0 << i))) in igc_find_avail_flex_filter_slot()
[all …]
/Linux-v6.1/drivers/net/ethernet/atheros/atl1c/
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()
Datl1c_hw.h40 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc);
Datl1c_main.c2554 u32 wufc = adapter->wol; in atl1c_suspend() local
2563 if (wufc) in atl1c_suspend()
2567 atl1c_power_saving(hw, wufc); in atl1c_suspend()
/Linux-v6.1/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.c2759 u32 wufc = adapter->wol; in atl1_suspend() local
2772 wufc &= ~ATLX_WUFC_LNKC; in atl1_suspend()
2773 if (!wufc) in atl1_suspend()
2788 if (wufc & ATLX_WUFC_MAG) in atl1_suspend()
2802 if (wufc & ATLX_WUFC_MAG) in atl1_suspend()
/Linux-v6.1/drivers/net/ethernet/intel/e1000e/
Dnetdev.c6242 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() argument
6293 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup()
6297 ew32(WUFC, wufc); in e1000_init_phy_wakeup()
6302 hw->phy.ops.write_reg_page(&adapter->hw, BM_WUFC, wufc); in e1000_init_phy_wakeup()
6654 u32 ctrl, ctrl_ext, rctl, status, wufc; in __e1000_shutdown() local
6659 wufc = E1000_WUFC_LNKC; in __e1000_shutdown()
6661 wufc = adapter->wol; in __e1000_shutdown()
6663 wufc = 0; in __e1000_shutdown()
6667 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
6669 if (wufc) { in __e1000_shutdown()
[all …]
/Linux-v6.1/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-v6.1/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c2387 u32 wufc = adapter->wake_up_evt; in __pch_gbe_suspend() local
2392 if (wufc) { in __pch_gbe_suspend()
2400 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
2404 pch_gbe_mac_set_wol_event(hw, wufc); in __pch_gbe_suspend()
/Linux-v6.1/drivers/net/ethernet/intel/e1000/
De1000_main.c5067 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-v6.1/drivers/net/ethernet/intel/igb/
Digb_main.c9286 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __igb_shutdown() local
9302 wufc &= ~E1000_WUFC_LNKC; in __igb_shutdown()
9304 if (wufc) { in __igb_shutdown()
9309 if (wufc & E1000_WUFC_MC) { in __igb_shutdown()
9323 wr32(E1000_WUFC, wufc); in __igb_shutdown()
9329 wake = wufc || adapter->en_mng_pt; in __igb_shutdown()
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c6990 u32 wufc = adapter->wol; in __ixgbe_shutdown() local
7004 if (wufc) { in __ixgbe_shutdown()
7022 IXGBE_WRITE_REG(hw, IXGBE_WUFC, wufc); in __ixgbe_shutdown()
7037 pci_wake_from_d3(pdev, !!wufc); in __ixgbe_shutdown()
7043 *enable_wake = !!wufc; in __ixgbe_shutdown()