| /linux/drivers/net/ethernet/wangxun/ngbe/ |
| H A D | ngbe_main.c | 574 u32 wufc = wx->wol; in ngbe_dev_shutdown() 585 if (wufc) { in ngbe_dev_shutdown() 588 wr32(wx, WX_PSR_WKUP_CTL, wufc); in ngbe_dev_shutdown() 592 pci_wake_from_d3(pdev, !!wufc); in ngbe_dev_shutdown() 593 *enable_wake = !!wufc; in ngbe_dev_shutdown() 572 u32 wufc = wx->wol; ngbe_dev_shutdown() local
|
| /linux/drivers/net/ethernet/atheros/atl1c/ |
| H A D | atl1c_hw.c | 780 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 D | atl1c_hw.h | 40 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc);
|
| H A D | atl1c_main.c | 2516 u32 wufc = adapter->wol; in atl1c_suspend() local 2525 if (wufc) in atl1c_suspend() 2529 atl1c_power_saving(hw, wufc); in atl1c_suspend()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_main.c | 3622 u32 wufc; in igc_write_flex_filter_ll() local 3642 wufc = rd32(IGC_WUFC); in igc_write_flex_filter_ll() 3643 wufc &= ~IGC_WUFC_FLEX_HQ; in igc_write_flex_filter_ll() 3644 wr32(IGC_WUFC, wufc); in igc_write_flex_filter_ll() 3687 wufc |= IGC_WUFC_FLEX_HQ; in igc_write_flex_filter_ll() 3696 wufc |= (IGC_WUFC_FLX0 << input->index); in igc_write_flex_filter_ll() 3698 wr32(IGC_WUFC, wufc); in igc_write_flex_filter_ll() 3734 u32 wufc, wufc_ext; in igc_find_avail_flex_filter_slot() local 3737 wufc = rd32(IGC_WUFC); in igc_find_avail_flex_filter_slot() 3742 if (!(wufc & (IGC_WUFC_FLX0 << i))) in igc_find_avail_flex_filter_slot() [all …]
|
| /linux/drivers/net/ethernet/atheros/atl1e/ |
| H A D | atl1e_main.c | 2083 u32 wufc = adapter->wol; in atl1e_suspend() local 2101 if (wufc) { in atl1e_suspend() 2119 if (wufc & AT_WUFC_MAG) in atl1e_suspend() 2122 if (wufc & AT_WUFC_LNKC) { in atl1e_suspend() 2158 if (wufc & AT_WUFC_MAG) in atl1e_suspend()
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | netdev.c | 6242 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() 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() 6656 u32 ctrl, ctrl_ext, rctl, status, wufc; in __e1000_shutdown() 6661 wufc = E1000_WUFC_LNKC; in __e1000_shutdown() 6663 wufc = adapter->wol; in __e1000_shutdown() 6665 wufc = 0; in __e1000_shutdown() 6669 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown() 6671 if (wufc) { in __e1000_shutdown() 6237 e1000_init_phy_wakeup(struct e1000_adapter * adapter,u32 wufc) e1000_init_phy_wakeup() argument 6651 u32 ctrl, ctrl_ext, rctl, status, wufc; __e1000_shutdown() local [all...] |
| /linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
| H A D | pch_gbe_main.c | 2415 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/drivers/net/ethernet/atheros/atlx/ |
| H A D | atl1.c | 2799 u32 wufc = adapter->wol; in atl1_suspend() 2812 wufc &= ~ATLX_WUFC_LNKC; in atl1_suspend() 2813 if (!wufc) in atl1_suspend() 2828 if (wufc & ATLX_WUFC_MAG) in atl1_suspend() 2842 if (wufc & ATLX_WUFC_MAG) in atl1_suspend() 2798 u32 wufc = adapter->wol; atl1_suspend() local
|
| /linux/drivers/net/ethernet/intel/e1000/ |
| H A D | e1000_main.c | 5073 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 D | igb_main.c | 9501 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __igb_shutdown() local 9517 wufc &= ~E1000_WUFC_LNKC; in __igb_shutdown() 9519 if (wufc) { in __igb_shutdown() 9524 if (wufc & E1000_WUFC_MC) { in __igb_shutdown() 9538 wr32(E1000_WUFC, wufc); in __igb_shutdown() 9544 wake = wufc || adapter->en_mng_pt; in __igb_shutdown()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_main.c | 7585 u32 wufc = adapter->wol; in __ixgbe_shutdown() local 7599 if (wufc) { in __ixgbe_shutdown() 7617 IXGBE_WRITE_REG(hw, IXGBE_WUFC, wufc); in __ixgbe_shutdown() 7633 pci_wake_from_d3(pdev, !!wufc); in __ixgbe_shutdown() 7639 *enable_wake = !!wufc; in __ixgbe_shutdown()
|