Searched refs:wolinfo (Results 1 - 14 of 14) sorted by relevance

/linux-master/drivers/net/ethernet/toshiba/
H A Dspider_net_ethtool.c77 struct ethtool_wolinfo *wolinfo)
80 wolinfo->supported = 0;
81 wolinfo->wolopts = 0;
76 spider_net_ethtool_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) argument
/linux-master/drivers/net/usb/
H A Dasix_common.c591 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) argument
598 wolinfo->supported = 0;
599 wolinfo->wolopts = 0;
602 wolinfo->supported = WAKE_PHY | WAKE_MAGIC;
603 wolinfo->wolopts = 0;
605 wolinfo->wolopts |= WAKE_PHY;
607 wolinfo->wolopts |= WAKE_MAGIC;
610 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) argument
615 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC))
618 if (wolinfo
[all...]
H A Dsr9800.c399 sr_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) argument
405 wolinfo->supported = 0;
406 wolinfo->wolopts = 0;
409 wolinfo->supported = WAKE_PHY | WAKE_MAGIC;
410 wolinfo->wolopts = 0;
412 wolinfo->wolopts |= WAKE_PHY;
414 wolinfo->wolopts |= WAKE_MAGIC;
418 sr_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) argument
423 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC))
426 if (wolinfo
[all...]
H A Dasix.h243 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo);
244 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo);
H A Daqc111.c214 struct ethtool_wolinfo *wolinfo)
219 wolinfo->supported = WAKE_MAGIC;
220 wolinfo->wolopts = 0;
223 wolinfo->wolopts |= WAKE_MAGIC;
227 struct ethtool_wolinfo *wolinfo)
232 if (wolinfo->wolopts & ~WAKE_MAGIC)
236 if (wolinfo->wolopts & WAKE_MAGIC)
213 aqc111_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) argument
226 aqc111_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) argument
H A Dsmsc95xx.c721 struct ethtool_wolinfo *wolinfo)
726 wolinfo->supported = SUPPORTED_WAKE;
727 wolinfo->wolopts = pdata->wolopts;
731 struct ethtool_wolinfo *wolinfo)
737 if (wolinfo->wolopts & ~SUPPORTED_WAKE)
740 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE;
720 smsc95xx_ethtool_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) argument
730 smsc95xx_ethtool_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) argument
H A Dax88179_178a.c513 ax88179_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) argument
518 wolinfo->supported = priv->wol_supported;
519 wolinfo->wolopts = priv->wolopts;
523 ax88179_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) argument
528 if (wolinfo->wolopts & ~(priv->wol_supported))
531 priv->wolopts = wolinfo->wolopts;
H A Dsmsc75xx.c707 struct ethtool_wolinfo *wolinfo)
712 wolinfo->supported = SUPPORTED_WAKE;
713 wolinfo->wolopts = pdata->wolopts;
717 struct ethtool_wolinfo *wolinfo)
723 if (wolinfo->wolopts & ~SUPPORTED_WAKE)
726 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE;
706 smsc75xx_ethtool_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) argument
716 smsc75xx_ethtool_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) argument
/linux-master/drivers/net/ethernet/dec/tulip/
H A Dtulip_core.c867 struct ethtool_wolinfo *wolinfo)
871 if (wolinfo->wolopts & (~tp->wolinfo.supported))
874 tp->wolinfo.wolopts = wolinfo->wolopts;
875 device_set_wakeup_enable(&tp->pdev->dev, tp->wolinfo.wolopts);
880 struct ethtool_wolinfo *wolinfo)
884 wolinfo->supported = tp->wolinfo.supported;
885 wolinfo
866 tulip_ethtool_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) argument
879 tulip_ethtool_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) argument
[all...]
H A Ddmfe.c1082 struct ethtool_wolinfo *wolinfo)
1086 if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST |
1090 db->wol_mode = wolinfo->wolopts;
1095 struct ethtool_wolinfo *wolinfo)
1099 wolinfo->supported = WAKE_PHY | WAKE_MAGIC;
1100 wolinfo->wolopts = db->wol_mode;
1081 dmfe_ethtool_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) argument
1094 dmfe_ethtool_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) argument
H A Dtulip.h441 struct ethtool_wolinfo wolinfo; /* WOL settings */ member in struct:tulip_private
/linux-master/drivers/net/ethernet/silan/
H A Dsc92031.c1255 struct ethtool_wolinfo *wolinfo)
1266 wolinfo->supported = WAKE_PHY | WAKE_MAGIC
1268 wolinfo->wolopts = 0;
1271 wolinfo->wolopts |= WAKE_PHY;
1274 wolinfo->wolopts |= WAKE_MAGIC;
1278 wolinfo->wolopts |= WAKE_UCAST | WAKE_MCAST | WAKE_BCAST;
1282 struct ethtool_wolinfo *wolinfo)
1293 if (wolinfo->wolopts & WAKE_PHY)
1296 if (wolinfo->wolopts & WAKE_MAGIC)
1300 if (wolinfo
1254 sc92031_ethtool_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) argument
1281 sc92031_ethtool_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) argument
[all...]
/linux-master/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c304 bnad_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) argument
306 wolinfo->supported = 0;
307 wolinfo->wolopts = 0;
/linux-master/drivers/net/ethernet/nvidia/
H A Dforcedeth.c4299 static void nv_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) argument
4302 wolinfo->supported = WAKE_MAGIC;
4306 wolinfo->wolopts = WAKE_MAGIC;
4310 static int nv_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) argument
4316 if (wolinfo->wolopts == 0) {
4318 } else if (wolinfo->wolopts & WAKE_MAGIC) {

Completed in 489 milliseconds