Lines Matching refs:wol
2074 static void gem_stop_phy(struct gem *gp, int wol) in gem_stop_phy() argument
2090 if (wol && gp->has_wol) { in gem_stop_phy()
2121 if (!wol) { in gem_stop_phy()
2194 static void gem_do_stop(struct net_device *dev, int wol) in gem_do_stop() argument
2225 if (!wol) in gem_do_stop()
2236 gem_stop_phy(gp, wol); in gem_do_stop()
2242 if (!wol) in gem_do_stop()
2646 static void gem_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) in gem_get_wol() argument
2652 wol->supported = WOL_SUPPORTED_MASK; in gem_get_wol()
2653 wol->wolopts = gp->wake_on_lan; in gem_get_wol()
2655 wol->supported = 0; in gem_get_wol()
2656 wol->wolopts = 0; in gem_get_wol()
2660 static int gem_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) in gem_set_wol() argument
2666 gp->wake_on_lan = wol->wolopts & WOL_SUPPORTED_MASK; in gem_set_wol()