Home
last modified time | relevance | path

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

/drivers/net/usb/
Dasix_common.c429 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_get_wol() argument
435 wolinfo->supported = 0; in asix_get_wol()
436 wolinfo->wolopts = 0; in asix_get_wol()
439 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in asix_get_wol()
440 wolinfo->wolopts = 0; in asix_get_wol()
442 wolinfo->wolopts |= WAKE_PHY; in asix_get_wol()
444 wolinfo->wolopts |= WAKE_MAGIC; in asix_get_wol()
447 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_set_wol() argument
452 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in asix_set_wol()
455 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 …]
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 …]
Dasix.h221 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo);
222 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo);
Dsmsc95xx.c714 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_get_wol() argument
719 wolinfo->supported = SUPPORTED_WAKE; in smsc95xx_ethtool_get_wol()
720 wolinfo->wolopts = pdata->wolopts; in smsc95xx_ethtool_get_wol()
724 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_set_wol() argument
730 if (wolinfo->wolopts & ~SUPPORTED_WAKE) in smsc95xx_ethtool_set_wol()
733 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc95xx_ethtool_set_wol()
Dsmsc75xx.c715 struct ethtool_wolinfo *wolinfo) in smsc75xx_ethtool_get_wol() argument
720 wolinfo->supported = SUPPORTED_WAKE; in smsc75xx_ethtool_get_wol()
721 wolinfo->wolopts = pdata->wolopts; in smsc75xx_ethtool_get_wol()
725 struct ethtool_wolinfo *wolinfo) in smsc75xx_ethtool_set_wol() argument
731 if (wolinfo->wolopts & ~SUPPORTED_WAKE) in smsc75xx_ethtool_set_wol()
734 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc75xx_ethtool_set_wol()
/drivers/net/ethernet/toshiba/
Dspider_net_ethtool.c86 struct ethtool_wolinfo *wolinfo) in spider_net_ethtool_get_wol() argument
89 wolinfo->supported = 0; in spider_net_ethtool_get_wol()
90 wolinfo->wolopts = 0; in spider_net_ethtool_get_wol()
/drivers/net/ethernet/dec/tulip/
Dtulip_core.c881 struct ethtool_wolinfo *wolinfo) in tulip_ethtool_set_wol() argument
885 if (wolinfo->wolopts & (~tp->wolinfo.supported)) in tulip_ethtool_set_wol()
888 tp->wolinfo.wolopts = wolinfo->wolopts; in tulip_ethtool_set_wol()
889 device_set_wakeup_enable(&tp->pdev->dev, tp->wolinfo.wolopts); in tulip_ethtool_set_wol()
894 struct ethtool_wolinfo *wolinfo) in tulip_ethtool_get_wol() argument
898 wolinfo->supported = tp->wolinfo.supported; in tulip_ethtool_get_wol()
899 wolinfo->wolopts = tp->wolinfo.wolopts; in tulip_ethtool_get_wol()
1459 tp->wolinfo.supported = 0; in tulip_init_one()
1460 tp->wolinfo.wolopts = 0; in tulip_init_one()
1467 tp->wolinfo.supported = WAKE_PHY | WAKE_MAGIC; in tulip_init_one()
[all …]
Ddmfe.c1103 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_set_wol() argument
1107 if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | in dmfe_ethtool_set_wol()
1111 db->wol_mode = wolinfo->wolopts; in dmfe_ethtool_set_wol()
1116 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_get_wol() argument
1120 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in dmfe_ethtool_get_wol()
1121 wolinfo->wolopts = db->wol_mode; in dmfe_ethtool_get_wol()
Dtulip.h441 struct ethtool_wolinfo wolinfo; /* WOL settings */ member
/drivers/net/ethernet/silan/
Dsc92031.c1253 struct ethtool_wolinfo *wolinfo) in sc92031_ethtool_get_wol() argument
1264 wolinfo->supported = WAKE_PHY | WAKE_MAGIC in sc92031_ethtool_get_wol()
1266 wolinfo->wolopts = 0; in sc92031_ethtool_get_wol()
1269 wolinfo->wolopts |= WAKE_PHY; in sc92031_ethtool_get_wol()
1272 wolinfo->wolopts |= WAKE_MAGIC; in sc92031_ethtool_get_wol()
1276 wolinfo->wolopts |= WAKE_UCAST | WAKE_MCAST | WAKE_BCAST; in sc92031_ethtool_get_wol()
1280 struct ethtool_wolinfo *wolinfo) in sc92031_ethtool_set_wol() argument
1291 if (wolinfo->wolopts & WAKE_PHY) in sc92031_ethtool_set_wol()
1294 if (wolinfo->wolopts & WAKE_MAGIC) in sc92031_ethtool_set_wol()
1298 if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST)) in sc92031_ethtool_set_wol()
/drivers/net/ethernet/adi/
Dbfin_mac.c502 struct ethtool_wolinfo *wolinfo) in bfin_mac_ethtool_getwol() argument
506 wolinfo->supported = WAKE_MAGIC; in bfin_mac_ethtool_getwol()
507 wolinfo->wolopts = lp->wol; in bfin_mac_ethtool_getwol()
511 struct ethtool_wolinfo *wolinfo) in bfin_mac_ethtool_setwol() argument
516 if (wolinfo->wolopts & (WAKE_MAGICSECURE | in bfin_mac_ethtool_setwol()
523 lp->wol = wolinfo->wolopts; in bfin_mac_ethtool_setwol()
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c322 bnad_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) in bnad_get_wol() argument
324 wolinfo->supported = 0; in bnad_get_wol()
325 wolinfo->wolopts = 0; in bnad_get_wol()
/drivers/net/ethernet/nvidia/
Dforcedeth.c4215 static void nv_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) in nv_get_wol() argument
4218 wolinfo->supported = WAKE_MAGIC; in nv_get_wol()
4222 wolinfo->wolopts = WAKE_MAGIC; in nv_get_wol()
4226 static int nv_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) in nv_set_wol() argument
4232 if (wolinfo->wolopts == 0) { in nv_set_wol()
4234 } else if (wolinfo->wolopts & WAKE_MAGIC) { in nv_set_wol()