Home
last modified time | relevance | path

Searched refs:wufc (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_main.c441 u32 wufc = wx->wol; in ngbe_dev_shutdown() local
452 if (wufc) { in ngbe_dev_shutdown()
455 wr32(wx, NGBE_PSR_WKUP_CTL, wufc); in ngbe_dev_shutdown()
459 pci_wake_from_d3(pdev, !!wufc); in ngbe_dev_shutdown()
460 *enable_wake = !!wufc; in ngbe_dev_shutdown()
/kernel/linux/linux-5.10/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_main.c2425 u32 wufc = adapter->wol; in atl1c_suspend() local
2434 if (wufc) in atl1c_suspend()
2438 atl1c_power_saving(hw, wufc); in atl1c_suspend()
H A Datl1c_hw.h39 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc);
/kernel/linux/linux-6.6/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_main.c2512 u32 wufc = adapter->wol; in atl1c_suspend() local
2521 if (wufc) in atl1c_suspend()
2525 atl1c_power_saving(hw, wufc); in atl1c_suspend()
H A Datl1c_hw.h40 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc);
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
H A Digc_main.c3429 u32 wufc; in igc_write_flex_filter_ll() local
3449 wufc = rd32(IGC_WUFC); in igc_write_flex_filter_ll()
3450 wufc &= ~IGC_WUFC_FLEX_HQ; in igc_write_flex_filter_ll()
3451 wr32(IGC_WUFC, wufc); in igc_write_flex_filter_ll()
3494 wufc |= IGC_WUFC_FLEX_HQ; in igc_write_flex_filter_ll()
3503 wufc |= (IGC_WUFC_FLX0 << input->index); in igc_write_flex_filter_ll()
3505 wr32(IGC_WUFC, wufc); in igc_write_flex_filter_ll()
3541 u32 wufc, wufc_ext; in igc_find_avail_flex_filter_slot() local
3544 wufc = rd32(IGC_WUFC); in igc_find_avail_flex_filter_slot()
3549 if (!(wufc in igc_find_avail_flex_filter_slot()
3563 u32 wufc, wufc_ext; igc_flex_filter_in_use() local
3657 u32 wufc; igc_del_flex_filter() local
7022 u32 wufc = runtime ? IGC_WUFC_LNKC : adapter->wol; __igc_shutdown() local
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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.c2762 u32 wufc = adapter->wol; in atl1_suspend() local
2775 wufc &= ~ATLX_WUFC_LNKC; in atl1_suspend()
2776 if (!wufc) in atl1_suspend()
2791 if (wufc & ATLX_WUFC_MAG) in atl1_suspend()
2805 if (wufc & ATLX_WUFC_MAG) in atl1_suspend()
/kernel/linux/linux-5.10/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()
6574 u32 ctrl, ctrl_ext, rctl, status, wufc; in __e1000_shutdown() local
6579 wufc = E1000_WUFC_LNKC; in __e1000_shutdown()
6581 wufc = adapter->wol; in __e1000_shutdown()
6583 wufc = 0; in __e1000_shutdown()
6587 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
6589 if (wufc) { in __e1000_shutdown()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c6213 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() argument
6264 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup()
6268 ew32(WUFC, wufc); in e1000_init_phy_wakeup()
6273 hw->phy.ops.write_reg_page(&adapter->hw, BM_WUFC, wufc); in e1000_init_phy_wakeup()
6627 u32 ctrl, ctrl_ext, rctl, status, wufc; in __e1000_shutdown() local
6632 wufc = E1000_WUFC_LNKC; in __e1000_shutdown()
6634 wufc = adapter->wol; in __e1000_shutdown()
6636 wufc = 0; in __e1000_shutdown()
6640 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
6642 if (wufc) { in __e1000_shutdown()
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/drivers/net/ethernet/oki-semi/pch_gbe/
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
H A Digc_main.c5475 u32 wufc = runtime ? IGC_WUFC_LNKC : adapter->wol; in __igc_shutdown() local
5493 wufc &= ~IGC_WUFC_LNKC; in __igc_shutdown()
5495 if (wufc) { in __igc_shutdown()
5500 if (wufc & IGC_WUFC_MC) { in __igc_shutdown()
5514 wr32(IGC_WUFC, wufc); in __igc_shutdown()
5520 wake = wufc || adapter->en_mng_pt; in __igc_shutdown()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000/
H A De1000_main.c5064 u32 wufc = adapter->wol; in __e1000_shutdown() local
5080 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
5082 if (wufc) { in __e1000_shutdown()
5089 if (wufc & E1000_WUFC_MC) in __e1000_shutdown()
5115 ew32(WUFC, wufc); in __e1000_shutdown()
5123 *enable_wake = !!wufc; in __e1000_shutdown()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
H A Digb_main.c9186 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __igb_shutdown() local
9202 wufc &= ~E1000_WUFC_LNKC; in __igb_shutdown()
9204 if (wufc) { in __igb_shutdown()
9209 if (wufc & E1000_WUFC_MC) { in __igb_shutdown()
9223 wr32(E1000_WUFC, wufc); in __igb_shutdown()
9229 wake = wufc || adapter->en_mng_pt; in __igb_shutdown()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
H A Digb_main.c9364 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __igb_shutdown() local
9380 wufc &= ~E1000_WUFC_LNKC; in __igb_shutdown()
9382 if (wufc) { in __igb_shutdown()
9387 if (wufc & E1000_WUFC_MC) { in __igb_shutdown()
9401 wr32(E1000_WUFC, wufc); in __igb_shutdown()
9407 wake = wufc || adapter->en_mng_pt; in __igb_shutdown()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c6945 u32 wufc = adapter->wol; in __ixgbe_shutdown() local
6959 if (wufc) { in __ixgbe_shutdown()
6977 IXGBE_WRITE_REG(hw, IXGBE_WUFC, wufc); in __ixgbe_shutdown()
6992 pci_wake_from_d3(pdev, !!wufc); in __ixgbe_shutdown()
6998 *enable_wake = !!wufc; in __ixgbe_shutdown()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A 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()

Completed in 166 milliseconds