Lines Matching refs:wol
2253 /* Get the ethtool Wake-on-LAN settings. Assumes that wol points to
2254 kernel memory, *wol has been initialized as {ETHTOOL_GWOL}, and
2256 static void rtl8139_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol)
2266 wol->supported = WAKE_PHY | WAKE_MAGIC
2269 wol->wolopts = 0;
2271 wol->wolopts |= WAKE_PHY;
2273 wol->wolopts |= WAKE_MAGIC;
2277 wol->wolopts |= WAKE_UCAST;
2279 wol->wolopts |= WAKE_MCAST;
2281 wol->wolopts |= WAKE_BCAST;
2288 that wol points to kernel memory and other threads or interrupts
2290 static int rtl8139_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol)
2301 if (wol->wolopts & ~support)
2306 if (wol->wolopts & WAKE_PHY)
2308 if (wol->wolopts & WAKE_MAGIC)
2318 if (wol->wolopts & WAKE_UCAST)
2320 if (wol->wolopts & WAKE_MCAST)
2322 if (wol->wolopts & WAKE_BCAST)