Home
last modified time | relevance | path

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

/drivers/net/usb/
Dasix_common.c396 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_get_wol() argument
402 wolinfo->supported = 0; in asix_get_wol()
403 wolinfo->wolopts = 0; in asix_get_wol()
406 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in asix_get_wol()
407 wolinfo->wolopts = 0; in asix_get_wol()
409 wolinfo->wolopts |= WAKE_PHY; in asix_get_wol()
411 wolinfo->wolopts |= WAKE_MAGIC; in asix_get_wol()
414 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_set_wol() argument
419 if (wolinfo->wolopts & WAKE_PHY) in asix_set_wol()
421 if (wolinfo->wolopts & WAKE_MAGIC) in asix_set_wol()
Dax88179_178a.c485 ax88179_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_get_wol() argument
492 wolinfo->supported = 0; in ax88179_get_wol()
493 wolinfo->wolopts = 0; in ax88179_get_wol()
497 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in ax88179_get_wol()
498 wolinfo->wolopts = 0; in ax88179_get_wol()
500 wolinfo->wolopts |= WAKE_PHY; in ax88179_get_wol()
502 wolinfo->wolopts |= WAKE_MAGIC; in ax88179_get_wol()
506 ax88179_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_set_wol() argument
511 if (wolinfo->wolopts & WAKE_PHY) in ax88179_set_wol()
513 if (wolinfo->wolopts & WAKE_MAGIC) in ax88179_set_wol()
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.c716 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_get_wol() argument
721 wolinfo->supported = SUPPORTED_WAKE; in smsc95xx_ethtool_get_wol()
722 wolinfo->wolopts = pdata->wolopts; in smsc95xx_ethtool_get_wol()
726 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_set_wol() argument
732 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 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.c882 struct ethtool_wolinfo *wolinfo) in tulip_ethtool_set_wol() argument
886 if (wolinfo->wolopts & (~tp->wolinfo.supported)) in tulip_ethtool_set_wol()
889 tp->wolinfo.wolopts = wolinfo->wolopts; in tulip_ethtool_set_wol()
890 device_set_wakeup_enable(&tp->pdev->dev, tp->wolinfo.wolopts); in tulip_ethtool_set_wol()
895 struct ethtool_wolinfo *wolinfo) in tulip_ethtool_get_wol() argument
899 wolinfo->supported = tp->wolinfo.supported; in tulip_ethtool_get_wol()
900 wolinfo->wolopts = tp->wolinfo.wolopts; in tulip_ethtool_get_wol()
1464 tp->wolinfo.supported = 0; in tulip_init_one()
1465 tp->wolinfo.wolopts = 0; in tulip_init_one()
1472 tp->wolinfo.supported = WAKE_PHY | WAKE_MAGIC; in tulip_init_one()
[all …]
Ddmfe.c1106 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_set_wol() argument
1110 if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | in dmfe_ethtool_set_wol()
1114 db->wol_mode = wolinfo->wolopts; in dmfe_ethtool_set_wol()
1119 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_get_wol() argument
1123 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in dmfe_ethtool_get_wol()
1124 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.c507 struct ethtool_wolinfo *wolinfo) in bfin_mac_ethtool_getwol() argument
511 wolinfo->supported = WAKE_MAGIC; in bfin_mac_ethtool_getwol()
512 wolinfo->wolopts = lp->wol; in bfin_mac_ethtool_getwol()
516 struct ethtool_wolinfo *wolinfo) in bfin_mac_ethtool_setwol() argument
521 if (wolinfo->wolopts & (WAKE_MAGICSECURE | in bfin_mac_ethtool_setwol()
528 lp->wol = wolinfo->wolopts; in bfin_mac_ethtool_setwol()
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c319 bnad_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) in bnad_get_wol() argument
321 wolinfo->supported = 0; in bnad_get_wol()
322 wolinfo->wolopts = 0; in bnad_get_wol()
/drivers/net/ethernet/nvidia/
Dforcedeth.c4210 static void nv_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) in nv_get_wol() argument
4213 wolinfo->supported = WAKE_MAGIC; in nv_get_wol()
4217 wolinfo->wolopts = WAKE_MAGIC; in nv_get_wol()
4221 static int nv_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) in nv_set_wol() argument
4227 if (wolinfo->wolopts == 0) { in nv_set_wol()
4229 } else if (wolinfo->wolopts & WAKE_MAGIC) { in nv_set_wol()