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