Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/usb/
H A Dasix_common.c573 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_get_wol() argument
580 wolinfo->supported = 0; in asix_get_wol()
581 wolinfo->wolopts = 0; in asix_get_wol()
584 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in asix_get_wol()
585 wolinfo->wolopts = 0; in asix_get_wol()
587 wolinfo->wolopts |= WAKE_PHY; in asix_get_wol()
589 wolinfo->wolopts |= WAKE_MAGIC; in asix_get_wol()
592 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_set_wol() argument
597 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in asix_set_wol()
600 if (wolinfo in asix_set_wol()
[all...]
H A 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 in sr_set_wol()
[all...]
H A Dax88179_178a.c532 ax88179_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_get_wol() argument
539 wolinfo->supported = 0; in ax88179_get_wol()
540 wolinfo->wolopts = 0; in ax88179_get_wol()
544 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in ax88179_get_wol()
545 wolinfo->wolopts = 0; in ax88179_get_wol()
547 wolinfo->wolopts |= WAKE_PHY; in ax88179_get_wol()
549 wolinfo->wolopts |= WAKE_MAGIC; in ax88179_get_wol()
553 ax88179_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_set_wol() argument
558 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in ax88179_set_wol()
561 if (wolinfo in ax88179_set_wol()
[all...]
H A Dasix.h230 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo);
231 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo);
H A Daqc111.c214 struct ethtool_wolinfo *wolinfo) in aqc111_get_wol()
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()
232 if (wolinfo->wolopts & ~WAKE_MAGIC) in aqc111_set_wol()
236 if (wolinfo->wolopts & WAKE_MAGIC) in aqc111_set_wol()
213 aqc111_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) aqc111_get_wol() argument
226 aqc111_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) aqc111_set_wol() argument
H A Dsmsc95xx.c711 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_get_wol()
716 wolinfo->supported = SUPPORTED_WAKE; in smsc95xx_ethtool_get_wol()
717 wolinfo->wolopts = pdata->wolopts; in smsc95xx_ethtool_get_wol()
721 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_set_wol()
727 if (wolinfo->wolopts & ~SUPPORTED_WAKE) in smsc95xx_ethtool_set_wol()
730 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc95xx_ethtool_set_wol()
710 smsc95xx_ethtool_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) smsc95xx_ethtool_get_wol() argument
720 smsc95xx_ethtool_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) smsc95xx_ethtool_set_wol() argument
H A Dsmsc75xx.c707 struct ethtool_wolinfo *wolinfo) in smsc75xx_ethtool_get_wol()
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()
723 if (wolinfo->wolopts & ~SUPPORTED_WAKE) in smsc75xx_ethtool_set_wol()
726 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc75xx_ethtool_set_wol()
706 smsc75xx_ethtool_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) smsc75xx_ethtool_get_wol() argument
716 smsc75xx_ethtool_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) smsc75xx_ethtool_set_wol() argument
/kernel/linux/linux-6.6/drivers/net/usb/
H A 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 in asix_set_wol()
[all...]
H A 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 in sr_set_wol()
[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) in aqc111_get_wol()
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()
232 if (wolinfo->wolopts & ~WAKE_MAGIC) in aqc111_set_wol()
236 if (wolinfo->wolopts & WAKE_MAGIC) in aqc111_set_wol()
213 aqc111_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) aqc111_get_wol() argument
226 aqc111_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) aqc111_set_wol() argument
H A Dsmsc95xx.c721 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_get_wol()
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()
737 if (wolinfo->wolopts & ~SUPPORTED_WAKE) in smsc95xx_ethtool_set_wol()
740 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc95xx_ethtool_set_wol()
720 smsc95xx_ethtool_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) smsc95xx_ethtool_get_wol() argument
730 smsc95xx_ethtool_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) smsc95xx_ethtool_set_wol() argument
H A 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()
H A Dsmsc75xx.c707 struct ethtool_wolinfo *wolinfo) in smsc75xx_ethtool_get_wol()
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()
723 if (wolinfo->wolopts & ~SUPPORTED_WAKE) in smsc75xx_ethtool_set_wol()
726 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc75xx_ethtool_set_wol()
706 smsc75xx_ethtool_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) smsc75xx_ethtool_get_wol() argument
716 smsc75xx_ethtool_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) smsc75xx_ethtool_set_wol() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/
H A Dspider_net_ethtool.c77 struct ethtool_wolinfo *wolinfo) in spider_net_ethtool_get_wol()
80 wolinfo->supported = 0; in spider_net_ethtool_get_wol()
81 wolinfo->wolopts = 0; in spider_net_ethtool_get_wol()
76 spider_net_ethtool_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) spider_net_ethtool_get_wol() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/toshiba/
H A Dspider_net_ethtool.c77 struct ethtool_wolinfo *wolinfo) in spider_net_ethtool_get_wol()
80 wolinfo->supported = 0; in spider_net_ethtool_get_wol()
81 wolinfo->wolopts = 0; in spider_net_ethtool_get_wol()
76 spider_net_ethtool_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) spider_net_ethtool_get_wol() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
H A Dtulip_core.c867 struct ethtool_wolinfo *wolinfo) in tulip_ethtool_set_wol()
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()
884 wolinfo->supported = tp->wolinfo.supported; in tulip_ethtool_get_wol()
885 wolinfo in tulip_ethtool_get_wol()
866 tulip_ethtool_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) tulip_ethtool_set_wol() argument
879 tulip_ethtool_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) tulip_ethtool_get_wol() argument
[all...]
H A Ddmfe.c1083 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_set_wol()
1087 if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | in dmfe_ethtool_set_wol()
1091 db->wol_mode = wolinfo->wolopts; in dmfe_ethtool_set_wol()
1096 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_get_wol()
1100 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in dmfe_ethtool_get_wol()
1101 wolinfo->wolopts = db->wol_mode; in dmfe_ethtool_get_wol()
1082 dmfe_ethtool_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) dmfe_ethtool_set_wol() argument
1095 dmfe_ethtool_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) dmfe_ethtool_get_wol() argument
H A Dtulip.h441 struct ethtool_wolinfo wolinfo; /* WOL settings */ member
/kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/
H A Dtulip_core.c867 struct ethtool_wolinfo *wolinfo) in tulip_ethtool_set_wol()
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()
884 wolinfo->supported = tp->wolinfo.supported; in tulip_ethtool_get_wol()
885 wolinfo in tulip_ethtool_get_wol()
866 tulip_ethtool_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) tulip_ethtool_set_wol() argument
879 tulip_ethtool_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) tulip_ethtool_get_wol() argument
[all...]
H A Ddmfe.c1082 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_set_wol()
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()
1099 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in dmfe_ethtool_get_wol()
1100 wolinfo->wolopts = db->wol_mode; in dmfe_ethtool_get_wol()
1081 dmfe_ethtool_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) dmfe_ethtool_set_wol() argument
1094 dmfe_ethtool_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) dmfe_ethtool_get_wol() argument
H A Dtulip.h441 struct ethtool_wolinfo wolinfo; /* WOL settings */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/silan/
H A Dsc92031.c1255 struct ethtool_wolinfo *wolinfo) in sc92031_ethtool_get_wol()
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()
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 in sc92031_ethtool_set_wol()
1254 sc92031_ethtool_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) sc92031_ethtool_get_wol() argument
1281 sc92031_ethtool_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) sc92031_ethtool_set_wol() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/silan/
H A Dsc92031.c1255 struct ethtool_wolinfo *wolinfo) in sc92031_ethtool_get_wol()
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()
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 in sc92031_ethtool_set_wol()
1254 sc92031_ethtool_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) sc92031_ethtool_get_wol() argument
1281 sc92031_ethtool_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) sc92031_ethtool_set_wol() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
H A 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()

Completed in 38 milliseconds

12