/kernel/linux/linux-5.10/drivers/net/usb/ |
D | asix_common.c | 573 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 …]
|
D | sr9800.c | 399 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 …]
|
D | asix.h | 230 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);
|
D | ax88179_178a.c | 532 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 …]
|
D | aqc111.c | 214 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()
|
D | smsc95xx.c | 696 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()
|
D | smsc75xx.c | 705 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/ |
D | spider_net_ethtool.c | 77 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/ |
D | tulip_core.c | 867 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 …]
|
D | dmfe.c | 1083 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()
|
D | tulip.h | 441 struct ethtool_wolinfo wolinfo; /* WOL settings */ member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/silan/ |
D | sc92031.c | 1255 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/ |
D | bnad_ethtool.c | 304 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/ |
D | forcedeth.c | 4304 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()
|