| /OK3568_Linux_fs/kernel/drivers/net/ethernet/atheros/atl1c/ |
| H A D | atl1c_hw.c | 754 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 D | atl1c_hw.h | 39 int atl1c_power_saving(struct atl1c_hw *hw, u32 wufc);
|
| H A D | atl1c_main.c | 2422 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 D | atl2.c | 1495 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 D | atl1.c | 2760 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 D | netdev.c | 6243 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 D | atl1e_main.c | 2074 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 D | pch_gbe_main.c | 2408 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 D | igc_main.c | 5303 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 D | e1000_main.c | 5066 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 D | igb_ethdev.c | 4162 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 D | igb_main.c | 9180 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 D | ixgbe_main.c | 6941 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()
|