Lines Matching full:wol
80 adapter->wol = 0; in atl2_sw_init()
1496 u32 wufc = adapter->wol; in atl2_suspend()
1533 /* turn on magic packet wol */ in atl2_suspend()
1570 /* link is down, so only LINK CHG WOL event enable */ in atl2_suspend()
1591 /* WOL disabled */ in atl2_suspend()
1637 ATL2_READ_REG(&adapter->hw, REG_WOL_CTRL); /* clear WOL status */ in atl2_resume()
1991 struct ethtool_wolinfo *wol) in atl2_get_wol() argument
1995 wol->supported = WAKE_MAGIC; in atl2_get_wol()
1996 wol->wolopts = 0; in atl2_get_wol()
1998 if (adapter->wol & ATLX_WUFC_EX) in atl2_get_wol()
1999 wol->wolopts |= WAKE_UCAST; in atl2_get_wol()
2000 if (adapter->wol & ATLX_WUFC_MC) in atl2_get_wol()
2001 wol->wolopts |= WAKE_MCAST; in atl2_get_wol()
2002 if (adapter->wol & ATLX_WUFC_BC) in atl2_get_wol()
2003 wol->wolopts |= WAKE_BCAST; in atl2_get_wol()
2004 if (adapter->wol & ATLX_WUFC_MAG) in atl2_get_wol()
2005 wol->wolopts |= WAKE_MAGIC; in atl2_get_wol()
2006 if (adapter->wol & ATLX_WUFC_LNKC) in atl2_get_wol()
2007 wol->wolopts |= WAKE_PHY; in atl2_get_wol()
2010 static int atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) in atl2_set_wol() argument
2014 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE)) in atl2_set_wol()
2017 if (wol->wolopts & (WAKE_UCAST | WAKE_BCAST | WAKE_MCAST)) in atl2_set_wol()
2021 adapter->wol = 0; in atl2_set_wol()
2023 if (wol->wolopts & WAKE_MAGIC) in atl2_set_wol()
2024 adapter->wol |= ATLX_WUFC_MAG; in atl2_set_wol()
2025 if (wol->wolopts & WAKE_PHY) in atl2_set_wol()
2026 adapter->wol |= ATLX_WUFC_LNKC; in atl2_set_wol()