Lines Matching full:wol
23 struct ethtool_wolinfo *wol) in mwifiex_ethtool_get_wol() argument
28 wol->supported = WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY; in mwifiex_ethtool_get_wol()
34 wol->wolopts |= WAKE_UCAST; in mwifiex_ethtool_get_wol()
36 wol->wolopts |= WAKE_MCAST; in mwifiex_ethtool_get_wol()
38 wol->wolopts |= WAKE_BCAST; in mwifiex_ethtool_get_wol()
40 wol->wolopts |= WAKE_PHY; in mwifiex_ethtool_get_wol()
44 struct ethtool_wolinfo *wol) in mwifiex_ethtool_set_wol() argument
49 if (wol->wolopts & ~(WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY)) in mwifiex_ethtool_set_wol()
52 if (wol->wolopts & WAKE_UCAST) in mwifiex_ethtool_set_wol()
54 if (wol->wolopts & WAKE_MCAST) in mwifiex_ethtool_set_wol()
56 if (wol->wolopts & WAKE_BCAST) in mwifiex_ethtool_set_wol()
58 if (wol->wolopts & WAKE_PHY) in mwifiex_ethtool_set_wol()
60 if (wol->wolopts == 0) in mwifiex_ethtool_set_wol()