Lines Matching refs:phy_ops
140 const struct ethtool_phy_ops *phy_ops = ethtool_phy_ops; in __ethtool_get_sset_count() local
157 phy_ops && phy_ops->get_sset_count) in __ethtool_get_sset_count()
158 return phy_ops->get_sset_count(dev->phydev); in __ethtool_get_sset_count()
172 const struct ethtool_phy_ops *phy_ops = ethtool_phy_ops; in __ethtool_get_strings() local
186 !ops->get_ethtool_phy_stats && phy_ops && in __ethtool_get_strings()
187 phy_ops->get_strings) in __ethtool_get_strings()
188 phy_ops->get_strings(dev->phydev, data); in __ethtool_get_strings()
2058 const struct ethtool_phy_ops *phy_ops = ethtool_phy_ops; in ethtool_get_phy_stats() local
2069 phy_ops && phy_ops->get_sset_count) in ethtool_get_phy_stats()
2070 n_stats = phy_ops->get_sset_count(dev->phydev); in ethtool_get_phy_stats()
2091 phy_ops && phy_ops->get_stats) { in ethtool_get_phy_stats()
2092 ret = phy_ops->get_stats(dev->phydev, &stats, data); in ethtool_get_phy_stats()