Lines Matching refs:wol
3427 static void velocity_ethtool_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) in velocity_ethtool_get_wol() argument
3430 wol->supported = WAKE_PHY | WAKE_MAGIC | WAKE_UCAST | WAKE_ARP; in velocity_ethtool_get_wol()
3431 wol->wolopts |= WAKE_MAGIC; in velocity_ethtool_get_wol()
3437 wol->wolopts |= WAKE_UCAST; in velocity_ethtool_get_wol()
3439 wol->wolopts |= WAKE_ARP; in velocity_ethtool_get_wol()
3440 memcpy(&wol->sopass, vptr->wol_passwd, 6); in velocity_ethtool_get_wol()
3443 static int velocity_ethtool_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) in velocity_ethtool_set_wol() argument
3447 if (!(wol->wolopts & (WAKE_PHY | WAKE_MAGIC | WAKE_UCAST | WAKE_ARP))) in velocity_ethtool_set_wol()
3458 if (wol->wolopts & WAKE_MAGIC) { in velocity_ethtool_set_wol()
3462 if (wol->wolopts & WAKE_UCAST) { in velocity_ethtool_set_wol()
3466 if (wol->wolopts & WAKE_ARP) { in velocity_ethtool_set_wol()
3470 memcpy(vptr->wol_passwd, wol->sopass, 6); in velocity_ethtool_set_wol()