Lines Matching full:wol
11 struct ethtool_wolinfo *wol) in mwifiex_ethtool_get_wol() argument
16 wol->supported = WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY; in mwifiex_ethtool_get_wol()
22 wol->wolopts |= WAKE_UCAST; in mwifiex_ethtool_get_wol()
24 wol->wolopts |= WAKE_MCAST; in mwifiex_ethtool_get_wol()
26 wol->wolopts |= WAKE_BCAST; in mwifiex_ethtool_get_wol()
28 wol->wolopts |= WAKE_PHY; in mwifiex_ethtool_get_wol()
32 struct ethtool_wolinfo *wol) in mwifiex_ethtool_set_wol() argument
37 if (wol->wolopts & ~(WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY)) in mwifiex_ethtool_set_wol()
40 if (wol->wolopts & WAKE_UCAST) in mwifiex_ethtool_set_wol()
42 if (wol->wolopts & WAKE_MCAST) in mwifiex_ethtool_set_wol()
44 if (wol->wolopts & WAKE_BCAST) in mwifiex_ethtool_set_wol()
46 if (wol->wolopts & WAKE_PHY) in mwifiex_ethtool_set_wol()
48 if (wol->wolopts == 0) in mwifiex_ethtool_set_wol()