Lines Matching refs:wol
99 adapter->wol = 0; in atl2_sw_init()
1520 u32 wufc = adapter->wol; in atl2_suspend()
2040 struct ethtool_wolinfo *wol) in atl2_get_wol() argument
2044 wol->supported = WAKE_MAGIC; in atl2_get_wol()
2045 wol->wolopts = 0; in atl2_get_wol()
2047 if (adapter->wol & ATLX_WUFC_EX) in atl2_get_wol()
2048 wol->wolopts |= WAKE_UCAST; in atl2_get_wol()
2049 if (adapter->wol & ATLX_WUFC_MC) in atl2_get_wol()
2050 wol->wolopts |= WAKE_MCAST; in atl2_get_wol()
2051 if (adapter->wol & ATLX_WUFC_BC) in atl2_get_wol()
2052 wol->wolopts |= WAKE_BCAST; in atl2_get_wol()
2053 if (adapter->wol & ATLX_WUFC_MAG) in atl2_get_wol()
2054 wol->wolopts |= WAKE_MAGIC; in atl2_get_wol()
2055 if (adapter->wol & ATLX_WUFC_LNKC) in atl2_get_wol()
2056 wol->wolopts |= WAKE_PHY; in atl2_get_wol()
2059 static int atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) in atl2_set_wol() argument
2063 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE)) in atl2_set_wol()
2066 if (wol->wolopts & (WAKE_UCAST | WAKE_BCAST | WAKE_MCAST)) in atl2_set_wol()
2070 adapter->wol = 0; in atl2_set_wol()
2072 if (wol->wolopts & WAKE_MAGIC) in atl2_set_wol()
2073 adapter->wol |= ATLX_WUFC_MAG; in atl2_set_wol()
2074 if (wol->wolopts & WAKE_PHY) in atl2_set_wol()
2075 adapter->wol |= ATLX_WUFC_LNKC; in atl2_set_wol()