Home
last modified time | relevance | path

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

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