Lines Matching refs:wol
80 adapter->wol = 0; in atl2_sw_init()
1495 u32 wufc = adapter->wol; in atl2_suspend()
1990 struct ethtool_wolinfo *wol) in atl2_get_wol() argument
1994 wol->supported = WAKE_MAGIC; in atl2_get_wol()
1995 wol->wolopts = 0; in atl2_get_wol()
1997 if (adapter->wol & ATLX_WUFC_EX) in atl2_get_wol()
1998 wol->wolopts |= WAKE_UCAST; in atl2_get_wol()
1999 if (adapter->wol & ATLX_WUFC_MC) in atl2_get_wol()
2000 wol->wolopts |= WAKE_MCAST; in atl2_get_wol()
2001 if (adapter->wol & ATLX_WUFC_BC) in atl2_get_wol()
2002 wol->wolopts |= WAKE_BCAST; in atl2_get_wol()
2003 if (adapter->wol & ATLX_WUFC_MAG) in atl2_get_wol()
2004 wol->wolopts |= WAKE_MAGIC; in atl2_get_wol()
2005 if (adapter->wol & ATLX_WUFC_LNKC) in atl2_get_wol()
2006 wol->wolopts |= WAKE_PHY; in atl2_get_wol()
2009 static int atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) in atl2_set_wol() argument
2013 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE)) in atl2_set_wol()
2016 if (wol->wolopts & (WAKE_UCAST | WAKE_BCAST | WAKE_MCAST)) in atl2_set_wol()
2020 adapter->wol = 0; in atl2_set_wol()
2022 if (wol->wolopts & WAKE_MAGIC) in atl2_set_wol()
2023 adapter->wol |= ATLX_WUFC_MAG; in atl2_set_wol()
2024 if (wol->wolopts & WAKE_PHY) in atl2_set_wol()
2025 adapter->wol |= ATLX_WUFC_LNKC; in atl2_set_wol()