Home
last modified time | relevance | path

Searched refs:phy_ops (Results 1 – 2 of 2) sorted by relevance

/net/ethtool/
Dstrset.c238 const struct ethtool_phy_ops *phy_ops = ethtool_phy_ops; in strset_prepare_set() local
244 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set()
245 phy_ops->get_sset_count) in strset_prepare_set()
246 ret = phy_ops->get_sset_count(dev->phydev); in strset_prepare_set()
262 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set()
263 phy_ops->get_strings) in strset_prepare_set()
264 phy_ops->get_strings(dev->phydev, strings); in strset_prepare_set()
Dioctl.c140 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()
[all …]