/drivers/net/usb/ |
D | asix_common.c | 396 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()
|
D | ax88179_178a.c | 485 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()
|
D | asix.h | 221 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);
|
D | smsc95xx.c | 716 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()
|
D | smsc75xx.c | 715 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/ |
D | spider_net_ethtool.c | 86 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/ |
D | tulip_core.c | 882 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 …]
|
D | dmfe.c | 1106 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()
|
D | tulip.h | 441 struct ethtool_wolinfo wolinfo; /* WOL settings */ member
|
/drivers/net/ethernet/silan/ |
D | sc92031.c | 1253 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/ |
D | bfin_mac.c | 507 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/ |
D | bnad_ethtool.c | 319 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/ |
D | forcedeth.c | 4210 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()
|