Lines Matching full:wol
65 struct ethtool_wolinfo *wol) in lbs_ethtool_get_wol() argument
69 wol->supported = WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY; in lbs_ethtool_get_wol()
75 wol->wolopts |= WAKE_UCAST; in lbs_ethtool_get_wol()
77 wol->wolopts |= WAKE_MCAST; in lbs_ethtool_get_wol()
79 wol->wolopts |= WAKE_BCAST; in lbs_ethtool_get_wol()
81 wol->wolopts |= WAKE_PHY; in lbs_ethtool_get_wol()
85 struct ethtool_wolinfo *wol) in lbs_ethtool_set_wol() argument
89 if (wol->wolopts & ~(WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY)) in lbs_ethtool_set_wol()
93 if (wol->wolopts & WAKE_UCAST) in lbs_ethtool_set_wol()
95 if (wol->wolopts & WAKE_MCAST) in lbs_ethtool_set_wol()
97 if (wol->wolopts & WAKE_BCAST) in lbs_ethtool_set_wol()
99 if (wol->wolopts & WAKE_PHY) in lbs_ethtool_set_wol()
101 if (wol->wolopts == 0) in lbs_ethtool_set_wol()