Lines Matching full:wol
892 pegasus_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) in pegasus_get_wol() argument
896 wol->supported = WAKE_MAGIC | WAKE_PHY; in pegasus_get_wol()
897 wol->wolopts = pegasus->wolopts; in pegasus_get_wol()
901 pegasus_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) in pegasus_set_wol() argument
907 if (wol->wolopts & ~WOL_SUPPORTED) in pegasus_set_wol()
910 if (wol->wolopts & WAKE_MAGIC) in pegasus_set_wol()
912 if (wol->wolopts & WAKE_PHY) in pegasus_set_wol()
915 if (wol->wolopts) in pegasus_set_wol()
919 pegasus->wolopts = wol->wolopts; in pegasus_set_wol()
924 wol->wolopts); in pegasus_set_wol()
930 struct ethtool_wolinfo wol; in pegasus_reset_wol() local
932 memset(&wol, 0, sizeof wol); in pegasus_reset_wol()
933 (void) pegasus_set_wol(dev, &wol); in pegasus_reset_wol()