Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/usb/
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->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.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);
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->wolopts & WAKE_PHY) in ax88179_set_wol()
[all …]
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()
Dsmsc95xx.c696 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_get_wol() argument
701 wolinfo->supported = SUPPORTED_WAKE; in smsc95xx_ethtool_get_wol()
702 wolinfo->wolopts = pdata->wolopts; in smsc95xx_ethtool_get_wol()
706 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_set_wol() argument
712 if (wolinfo->wolopts & ~SUPPORTED_WAKE) in smsc95xx_ethtool_set_wol()
715 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc95xx_ethtool_set_wol()
Dsmsc75xx.c705 struct ethtool_wolinfo *wolinfo) in smsc75xx_ethtool_get_wol() argument
710 wolinfo->supported = SUPPORTED_WAKE; in smsc75xx_ethtool_get_wol()
711 wolinfo->wolopts = pdata->wolopts; in smsc75xx_ethtool_get_wol()
715 struct ethtool_wolinfo *wolinfo) in smsc75xx_ethtool_set_wol() argument
721 if (wolinfo->wolopts & ~SUPPORTED_WAKE) in smsc75xx_ethtool_set_wol()
724 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc75xx_ethtool_set_wol()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
1440 tp->wolinfo.supported = 0; in tulip_init_one()
1441 tp->wolinfo.wolopts = 0; in tulip_init_one()
1448 tp->wolinfo.supported = WAKE_PHY | WAKE_MAGIC; in tulip_init_one()
[all …]
Ddmfe.c1083 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_set_wol() argument
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() argument
1100 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in dmfe_ethtool_get_wol()
1101 wolinfo->wolopts = db->wol_mode; in dmfe_ethtool_get_wol()
Dtulip.h441 struct ethtool_wolinfo wolinfo; /* WOL settings */ member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/nvidia/
Dforcedeth.c4304 static void nv_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) in nv_get_wol() argument
4307 wolinfo->supported = WAKE_MAGIC; in nv_get_wol()
4311 wolinfo->wolopts = WAKE_MAGIC; in nv_get_wol()
4315 static int nv_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) in nv_set_wol() argument
4321 if (wolinfo->wolopts == 0) { in nv_set_wol()
4323 } else if (wolinfo->wolopts & WAKE_MAGIC) { in nv_set_wol()