Lines Matching refs:get_sset_count
182 phy_ops && phy_ops->get_sset_count) in __ethtool_get_sset_count()
183 return phy_ops->get_sset_count(dev->phydev); in __ethtool_get_sset_count()
188 if (ops->get_sset_count && ops->get_strings) in __ethtool_get_sset_count()
189 return ops->get_sset_count(dev, sset); in __ethtool_get_sset_count()
737 if (ops->get_sset_count) { in ethtool_get_drvinfo()
740 rc = ops->get_sset_count(dev, ETH_SS_TEST); in ethtool_get_drvinfo()
743 rc = ops->get_sset_count(dev, ETH_SS_STATS); in ethtool_get_drvinfo()
746 rc = ops->get_sset_count(dev, ETH_SS_PRIV_FLAGS); in ethtool_get_drvinfo()
1888 if (!ops->self_test || !ops->get_sset_count) in ethtool_self_test()
1891 test_len = ops->get_sset_count(dev, ETH_SS_TEST); in ethtool_self_test()
2040 if (!ops->get_ethtool_stats || !ops->get_sset_count) in ethtool_get_stats()
2043 n_stats = ops->get_sset_count(dev, ETH_SS_STATS); in ethtool_get_stats()
2085 if (!phydev && (!ops->get_ethtool_phy_stats || !ops->get_sset_count)) in ethtool_get_phy_stats()
2089 phy_ops && phy_ops->get_sset_count) in ethtool_get_phy_stats()
2090 n_stats = phy_ops->get_sset_count(phydev); in ethtool_get_phy_stats()
2092 n_stats = ops->get_sset_count(dev, ETH_SS_PHY_STATS); in ethtool_get_phy_stats()