Lines Matching refs:wol
99 adapter->wol = 0; in atl2_sw_init()
1520 u32 wufc = adapter->wol; in atl2_suspend()
2036 struct ethtool_wolinfo *wol) in atl2_get_wol() argument
2040 wol->supported = WAKE_MAGIC; in atl2_get_wol()
2041 wol->wolopts = 0; in atl2_get_wol()
2043 if (adapter->wol & ATLX_WUFC_EX) in atl2_get_wol()
2044 wol->wolopts |= WAKE_UCAST; in atl2_get_wol()
2045 if (adapter->wol & ATLX_WUFC_MC) in atl2_get_wol()
2046 wol->wolopts |= WAKE_MCAST; in atl2_get_wol()
2047 if (adapter->wol & ATLX_WUFC_BC) in atl2_get_wol()
2048 wol->wolopts |= WAKE_BCAST; in atl2_get_wol()
2049 if (adapter->wol & ATLX_WUFC_MAG) in atl2_get_wol()
2050 wol->wolopts |= WAKE_MAGIC; in atl2_get_wol()
2051 if (adapter->wol & ATLX_WUFC_LNKC) in atl2_get_wol()
2052 wol->wolopts |= WAKE_PHY; in atl2_get_wol()
2055 static int atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) in atl2_set_wol() argument
2059 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE)) in atl2_set_wol()
2062 if (wol->wolopts & (WAKE_UCAST | WAKE_BCAST | WAKE_MCAST)) in atl2_set_wol()
2066 adapter->wol = 0; in atl2_set_wol()
2068 if (wol->wolopts & WAKE_MAGIC) in atl2_set_wol()
2069 adapter->wol |= ATLX_WUFC_MAG; in atl2_set_wol()
2070 if (wol->wolopts & WAKE_PHY) in atl2_set_wol()
2071 adapter->wol |= ATLX_WUFC_LNKC; in atl2_set_wol()