Lines Matching refs:wufc
5982 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() argument
6033 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup()
6037 ew32(WUFC, wufc); in e1000_init_phy_wakeup()
6042 hw->phy.ops.write_reg_page(&adapter->hw, BM_WUFC, wufc); in e1000_init_phy_wakeup()
6112 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __e1000_shutdown() local
6117 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
6119 if (wufc) { in __e1000_shutdown()
6124 if (wufc & E1000_WUFC_MC) { in __e1000_shutdown()
6153 retval = e1000_init_phy_wakeup(adapter, wufc); in __e1000_shutdown()
6158 ew32(WUFC, wufc); in __e1000_shutdown()
6172 if (!(wufc & (E1000_WUFC_EX | E1000_WUFC_MC | E1000_WUFC_BC))) in __e1000_shutdown()