Lines Matching refs:wufc
6201 static int e1000_init_phy_wakeup(struct e1000_adapter *adapter, u32 wufc) in e1000_init_phy_wakeup() argument
6252 if (wufc & (E1000_WUFC_MAG | E1000_WUFC_LNKC)) in e1000_init_phy_wakeup()
6256 ew32(WUFC, wufc); in e1000_init_phy_wakeup()
6261 hw->phy.ops.write_reg_page(&adapter->hw, BM_WUFC, wufc); in e1000_init_phy_wakeup()
6331 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol; in __e1000_shutdown() local
6336 wufc &= ~E1000_WUFC_LNKC; in __e1000_shutdown()
6338 if (wufc) { in __e1000_shutdown()
6343 if (wufc & E1000_WUFC_MC) { in __e1000_shutdown()
6372 retval = e1000_init_phy_wakeup(adapter, wufc); in __e1000_shutdown()
6377 ew32(WUFC, wufc); in __e1000_shutdown()
6390 if (!(wufc & (E1000_WUFC_EX | E1000_WUFC_MC | E1000_WUFC_BC))) in __e1000_shutdown()