Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/usb/
Dasix_common.c586 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_get_wol() argument
593 wolinfo->supported = 0; in asix_get_wol()
594 wolinfo->wolopts = 0; in asix_get_wol()
597 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in asix_get_wol()
598 wolinfo->wolopts = 0; in asix_get_wol()
600 wolinfo->wolopts |= WAKE_PHY; in asix_get_wol()
602 wolinfo->wolopts |= WAKE_MAGIC; in asix_get_wol()
605 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_set_wol() argument
610 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in asix_set_wol()
613 if (wolinfo->wolopts & WAKE_PHY) in asix_set_wol()
[all …]
Dsr9800.c400 sr_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_get_wol() argument
406 wolinfo->supported = 0; in sr_get_wol()
407 wolinfo->wolopts = 0; in sr_get_wol()
410 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in sr_get_wol()
411 wolinfo->wolopts = 0; in sr_get_wol()
413 wolinfo->wolopts |= WAKE_PHY; in sr_get_wol()
415 wolinfo->wolopts |= WAKE_MAGIC; in sr_get_wol()
419 sr_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_set_wol() argument
424 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in sr_set_wol()
427 if (wolinfo->wolopts & WAKE_PHY) in sr_set_wol()
[all …]
Dasix.h242 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo);
243 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo);
Dax88179_178a.c543 ax88179_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_get_wol() argument
550 wolinfo->supported = 0; in ax88179_get_wol()
551 wolinfo->wolopts = 0; in ax88179_get_wol()
555 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in ax88179_get_wol()
556 wolinfo->wolopts = 0; in ax88179_get_wol()
558 wolinfo->wolopts |= WAKE_PHY; in ax88179_get_wol()
560 wolinfo->wolopts |= WAKE_MAGIC; in ax88179_get_wol()
564 ax88179_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_set_wol() argument
569 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in ax88179_set_wol()
572 if (wolinfo->wolopts & WAKE_PHY) in ax88179_set_wol()
[all …]
Dsmsc95xx.c761 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_get_wol() argument
766 wolinfo->supported = SUPPORTED_WAKE; in smsc95xx_ethtool_get_wol()
767 wolinfo->wolopts = pdata->wolopts; in smsc95xx_ethtool_get_wol()
771 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_set_wol() argument
777 if (wolinfo->wolopts & ~SUPPORTED_WAKE) in smsc95xx_ethtool_set_wol()
780 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc95xx_ethtool_set_wol()
Dsmsc75xx.c718 struct ethtool_wolinfo *wolinfo) in smsc75xx_ethtool_get_wol() argument
723 wolinfo->supported = SUPPORTED_WAKE; in smsc75xx_ethtool_get_wol()
724 wolinfo->wolopts = pdata->wolopts; in smsc75xx_ethtool_get_wol()
728 struct ethtool_wolinfo *wolinfo) in smsc75xx_ethtool_set_wol() argument
734 if (wolinfo->wolopts & ~SUPPORTED_WAKE) in smsc75xx_ethtool_set_wol()
737 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc75xx_ethtool_set_wol()
/Linux-v4.19/drivers/net/ethernet/toshiba/
Dspider_net_ethtool.c90 struct ethtool_wolinfo *wolinfo) in spider_net_ethtool_get_wol() argument
93 wolinfo->supported = 0; in spider_net_ethtool_get_wol()
94 wolinfo->wolopts = 0; in spider_net_ethtool_get_wol()
/Linux-v4.19/drivers/net/ethernet/dec/tulip/
Dtulip_core.c877 struct ethtool_wolinfo *wolinfo) in tulip_ethtool_set_wol() argument
881 if (wolinfo->wolopts & (~tp->wolinfo.supported)) in tulip_ethtool_set_wol()
884 tp->wolinfo.wolopts = wolinfo->wolopts; in tulip_ethtool_set_wol()
885 device_set_wakeup_enable(&tp->pdev->dev, tp->wolinfo.wolopts); in tulip_ethtool_set_wol()
890 struct ethtool_wolinfo *wolinfo) in tulip_ethtool_get_wol() argument
894 wolinfo->supported = tp->wolinfo.supported; in tulip_ethtool_get_wol()
895 wolinfo->wolopts = tp->wolinfo.wolopts; in tulip_ethtool_get_wol()
1454 tp->wolinfo.supported = 0; in tulip_init_one()
1455 tp->wolinfo.wolopts = 0; in tulip_init_one()
1462 tp->wolinfo.supported = WAKE_PHY | WAKE_MAGIC; in tulip_init_one()
[all …]
Ddmfe.c1097 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_set_wol() argument
1101 if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | in dmfe_ethtool_set_wol()
1105 db->wol_mode = wolinfo->wolopts; in dmfe_ethtool_set_wol()
1110 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_get_wol() argument
1114 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in dmfe_ethtool_get_wol()
1115 wolinfo->wolopts = db->wol_mode; in dmfe_ethtool_get_wol()
Dtulip.h441 struct ethtool_wolinfo wolinfo; /* WOL settings */ member
/Linux-v4.19/drivers/net/ethernet/silan/
Dsc92031.c1264 struct ethtool_wolinfo *wolinfo) in sc92031_ethtool_get_wol() argument
1275 wolinfo->supported = WAKE_PHY | WAKE_MAGIC in sc92031_ethtool_get_wol()
1277 wolinfo->wolopts = 0; in sc92031_ethtool_get_wol()
1280 wolinfo->wolopts |= WAKE_PHY; in sc92031_ethtool_get_wol()
1283 wolinfo->wolopts |= WAKE_MAGIC; in sc92031_ethtool_get_wol()
1287 wolinfo->wolopts |= WAKE_UCAST | WAKE_MCAST | WAKE_BCAST; in sc92031_ethtool_get_wol()
1291 struct ethtool_wolinfo *wolinfo) in sc92031_ethtool_set_wol() argument
1302 if (wolinfo->wolopts & WAKE_PHY) in sc92031_ethtool_set_wol()
1305 if (wolinfo->wolopts & WAKE_MAGIC) in sc92031_ethtool_set_wol()
1309 if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST)) in sc92031_ethtool_set_wol()
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c313 bnad_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) in bnad_get_wol() argument
315 wolinfo->supported = 0; in bnad_get_wol()
316 wolinfo->wolopts = 0; in bnad_get_wol()
/Linux-v4.19/drivers/net/ethernet/nvidia/
Dforcedeth.c4233 static void nv_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) in nv_get_wol() argument
4236 wolinfo->supported = WAKE_MAGIC; in nv_get_wol()
4240 wolinfo->wolopts = WAKE_MAGIC; in nv_get_wol()
4244 static int nv_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) in nv_set_wol() argument
4250 if (wolinfo->wolopts == 0) { in nv_set_wol()
4252 } else if (wolinfo->wolopts & WAKE_MAGIC) { in nv_set_wol()