Lines Matching refs:wufc
6131 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() argument
6182 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup()
6186 ew32(WUFC, wufc); in e1000_init_phy_wakeup()
6191 hw->phy.ops.write_reg_page(&adapter->hw, BM_WUFC, wufc); in e1000_init_phy_wakeup()
6261 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __e1000_shutdown() local
6266 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
6268 if (wufc) { in __e1000_shutdown()
6273 if (wufc & E1000_WUFC_MC) { in __e1000_shutdown()
6302 retval = e1000_init_phy_wakeup(adapter, wufc); in __e1000_shutdown()
6307 ew32(WUFC, wufc); in __e1000_shutdown()
6321 if (!(wufc & (E1000_WUFC_EX | E1000_WUFC_MC | E1000_WUFC_BC))) in __e1000_shutdown()