Lines Matching refs:wol
62 struct ethtool_wolinfo *wol)
66 wol->supported = WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY;
72 wol->wolopts |= WAKE_UCAST;
74 wol->wolopts |= WAKE_MCAST;
76 wol->wolopts |= WAKE_BCAST;
78 wol->wolopts |= WAKE_PHY;
82 struct ethtool_wolinfo *wol)
86 if (wol->wolopts & ~(WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY))
90 if (wol->wolopts & WAKE_UCAST)
92 if (wol->wolopts & WAKE_MCAST)
94 if (wol->wolopts & WAKE_BCAST)
96 if (wol->wolopts & WAKE_PHY)
98 if (wol->wolopts == 0)