Searched refs:wolinfo (Results 1 – 11 of 11) sorted by relevance
574 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_get_wol() argument581 wolinfo->supported = 0; in asix_get_wol()582 wolinfo->wolopts = 0; in asix_get_wol()585 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in asix_get_wol()586 wolinfo->wolopts = 0; in asix_get_wol()588 wolinfo->wolopts |= WAKE_PHY; in asix_get_wol()590 wolinfo->wolopts |= WAKE_MAGIC; in asix_get_wol()593 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_set_wol() argument598 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in asix_set_wol()601 if (wolinfo->wolopts & WAKE_PHY) in asix_set_wol()[all …]
215 struct ethtool_wolinfo *wolinfo) in aqc111_get_wol() argument220 wolinfo->supported = WAKE_MAGIC; in aqc111_get_wol()221 wolinfo->wolopts = 0; in aqc111_get_wol()224 wolinfo->wolopts |= WAKE_MAGIC; in aqc111_get_wol()228 struct ethtool_wolinfo *wolinfo) in aqc111_set_wol() argument233 if (wolinfo->wolopts & ~WAKE_MAGIC) in aqc111_set_wol()237 if (wolinfo->wolopts & WAKE_MAGIC) in aqc111_set_wol()
514 ax88179_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_get_wol() argument519 wolinfo->supported = priv->wol_supported; in ax88179_get_wol()520 wolinfo->wolopts = priv->wolopts; in ax88179_get_wol()524 ax88179_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in ax88179_set_wol() argument529 if (wolinfo->wolopts & ~(priv->wol_supported)) in ax88179_set_wol()532 priv->wolopts = wolinfo->wolopts; in ax88179_set_wol()
730 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_get_wol() argument735 wolinfo->supported = SUPPORTED_WAKE; in smsc95xx_ethtool_get_wol()736 wolinfo->wolopts = pdata->wolopts; in smsc95xx_ethtool_get_wol()740 struct ethtool_wolinfo *wolinfo) in smsc95xx_ethtool_set_wol() argument746 if (wolinfo->wolopts & ~SUPPORTED_WAKE) in smsc95xx_ethtool_set_wol()749 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc95xx_ethtool_set_wol()
701 struct ethtool_wolinfo *wolinfo) in smsc75xx_ethtool_get_wol() argument706 wolinfo->supported = SUPPORTED_WAKE; in smsc75xx_ethtool_get_wol()707 wolinfo->wolopts = pdata->wolopts; in smsc75xx_ethtool_get_wol()711 struct ethtool_wolinfo *wolinfo) in smsc75xx_ethtool_set_wol() argument717 if (wolinfo->wolopts & ~SUPPORTED_WAKE) in smsc75xx_ethtool_set_wol()720 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc75xx_ethtool_set_wol()
867 struct ethtool_wolinfo *wolinfo) in tulip_ethtool_set_wol() argument871 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() argument884 wolinfo->supported = tp->wolinfo.supported; in tulip_ethtool_get_wol()885 wolinfo->wolopts = tp->wolinfo.wolopts; in tulip_ethtool_get_wol()1441 tp->wolinfo.supported = 0; in tulip_init_one()1442 tp->wolinfo.wolopts = 0; in tulip_init_one()1449 tp->wolinfo.supported = WAKE_PHY | WAKE_MAGIC; in tulip_init_one()[all …]
1082 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_set_wol() argument1086 if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | in dmfe_ethtool_set_wol()1090 db->wol_mode = wolinfo->wolopts; in dmfe_ethtool_set_wol()1095 struct ethtool_wolinfo *wolinfo) in dmfe_ethtool_get_wol() argument1099 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in dmfe_ethtool_get_wol()1100 wolinfo->wolopts = db->wol_mode; in dmfe_ethtool_get_wol()
441 struct ethtool_wolinfo wolinfo; /* WOL settings */ member
1255 struct ethtool_wolinfo *wolinfo) in sc92031_ethtool_get_wol() argument1266 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() argument1293 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()
304 bnad_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) in bnad_get_wol() argument306 wolinfo->supported = 0; in bnad_get_wol()307 wolinfo->wolopts = 0; in bnad_get_wol()
4285 static void nv_get_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) in nv_get_wol() argument4288 wolinfo->supported = WAKE_MAGIC; in nv_get_wol()4292 wolinfo->wolopts = WAKE_MAGIC; in nv_get_wol()4296 static int nv_set_wol(struct net_device *dev, struct ethtool_wolinfo *wolinfo) in nv_set_wol() argument4302 if (wolinfo->wolopts == 0) { in nv_set_wol()4304 } else if (wolinfo->wolopts & WAKE_MAGIC) { in nv_set_wol()