Lines Matching refs:wufc
6179 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() argument
6230 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup()
6234 ew32(WUFC, wufc); in e1000_init_phy_wakeup()
6239 hw->phy.ops.write_reg_page(&adapter->hw, BM_WUFC, wufc); in e1000_init_phy_wakeup()
6309 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __e1000_shutdown() local
6314 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
6316 if (wufc) { in __e1000_shutdown()
6321 if (wufc & E1000_WUFC_MC) { in __e1000_shutdown()
6350 retval = e1000_init_phy_wakeup(adapter, wufc); in __e1000_shutdown()
6355 ew32(WUFC, wufc); in __e1000_shutdown()
6368 if (!(wufc & (E1000_WUFC_EX | E1000_WUFC_MC | E1000_WUFC_BC))) in __e1000_shutdown()