Home
last modified time | relevance | path

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

/Linux-v5.4/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.c531 ax88179_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_get_wol() argument
538 wolinfo->supported = 0; in ax88179_get_wol()
539 wolinfo->wolopts = 0; in ax88179_get_wol()
543 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in ax88179_get_wol()
544 wolinfo->wolopts = 0; in ax88179_get_wol()
546 wolinfo->wolopts |= WAKE_PHY; in ax88179_get_wol()
548 wolinfo->wolopts |= WAKE_MAGIC; in ax88179_get_wol()
552 ax88179_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_set_wol() argument
557 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in ax88179_set_wol()
560 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.c747 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_get_wol() argument
752 wolinfo->supported = SUPPORTED_WAKE; in smsc95xx_ethtool_get_wol()
753 wolinfo->wolopts = pdata->wolopts; in smsc95xx_ethtool_get_wol()
757 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_set_wol() argument
763 if (wolinfo->wolopts & ~SUPPORTED_WAKE) in smsc95xx_ethtool_set_wol()
766 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()
/Linux-v5.4/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-v5.4/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.c1089 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_set_wol() argument
1093 if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | in dmfe_ethtool_set_wol()
1097 db->wol_mode = wolinfo->wolopts; in dmfe_ethtool_set_wol()
1102 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_get_wol() argument
1106 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in dmfe_ethtool_get_wol()
1107 wolinfo->wolopts = db->wol_mode; in dmfe_ethtool_get_wol()
Dtulip.h441 struct ethtool_wolinfo wolinfo; /* WOL settings */ member
/Linux-v5.4/drivers/net/ethernet/silan/
Dsc92031.c1254 struct ethtool_wolinfo *wolinfo) in sc92031_ethtool_get_wol() argument
1265 wolinfo->supported = WAKE_PHY | WAKE_MAGIC in sc92031_ethtool_get_wol()
1267 wolinfo->wolopts = 0; in sc92031_ethtool_get_wol()
1270 wolinfo->wolopts |= WAKE_PHY; in sc92031_ethtool_get_wol()
1273 wolinfo->wolopts |= WAKE_MAGIC; in sc92031_ethtool_get_wol()
1277 wolinfo->wolopts |= WAKE_UCAST | WAKE_MCAST | WAKE_BCAST; in sc92031_ethtool_get_wol()
1281 struct ethtool_wolinfo *wolinfo) in sc92031_ethtool_set_wol() argument
1292 if (wolinfo->wolopts & WAKE_PHY) in sc92031_ethtool_set_wol()
1295 if (wolinfo->wolopts & WAKE_MAGIC) in sc92031_ethtool_set_wol()
1299 if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST)) in sc92031_ethtool_set_wol()
/Linux-v5.4/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c305 bnad_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) in bnad_get_wol() argument
307 wolinfo->supported = 0; in bnad_get_wol()
308 wolinfo->wolopts = 0; in bnad_get_wol()
/Linux-v5.4/drivers/net/ethernet/nvidia/
Dforcedeth.c4265 static void nv_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) in nv_get_wol() argument
4268 wolinfo->supported = WAKE_MAGIC; in nv_get_wol()
4272 wolinfo->wolopts = WAKE_MAGIC; in nv_get_wol()
4276 static int nv_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) in nv_set_wol() argument
4282 if (wolinfo->wolopts == 0) { in nv_set_wol()
4284 } else if (wolinfo->wolopts & WAKE_MAGIC) { in nv_set_wol()