Lines Matching refs:wol
80 adapter->wol = 0; in atl2_sw_init()
1495 u32 wufc = adapter->wol; in atl2_suspend()
2012 struct ethtool_wolinfo *wol) in atl2_get_wol() argument
2016 wol->supported = WAKE_MAGIC; in atl2_get_wol()
2017 wol->wolopts = 0; in atl2_get_wol()
2019 if (adapter->wol & ATLX_WUFC_EX) in atl2_get_wol()
2020 wol->wolopts |= WAKE_UCAST; in atl2_get_wol()
2021 if (adapter->wol & ATLX_WUFC_MC) in atl2_get_wol()
2022 wol->wolopts |= WAKE_MCAST; in atl2_get_wol()
2023 if (adapter->wol & ATLX_WUFC_BC) in atl2_get_wol()
2024 wol->wolopts |= WAKE_BCAST; in atl2_get_wol()
2025 if (adapter->wol & ATLX_WUFC_MAG) in atl2_get_wol()
2026 wol->wolopts |= WAKE_MAGIC; in atl2_get_wol()
2027 if (adapter->wol & ATLX_WUFC_LNKC) in atl2_get_wol()
2028 wol->wolopts |= WAKE_PHY; in atl2_get_wol()
2031 static int atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) in atl2_set_wol() argument
2035 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE)) in atl2_set_wol()
2038 if (wol->wolopts & (WAKE_UCAST | WAKE_BCAST | WAKE_MCAST)) in atl2_set_wol()
2042 adapter->wol = 0; in atl2_set_wol()
2044 if (wol->wolopts & WAKE_MAGIC) in atl2_set_wol()
2045 adapter->wol |= ATLX_WUFC_MAG; in atl2_set_wol()
2046 if (wol->wolopts & WAKE_PHY) in atl2_set_wol()
2047 adapter->wol |= ATLX_WUFC_LNKC; in atl2_set_wol()