Home
last modified time | relevance | path

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

/net/ethtool/
A Dstrset.c249 const struct ethtool_phy_ops *phy_ops = ethtool_phy_ops; in strset_prepare_set() local
255 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set()
256 phy_ops->get_sset_count) in strset_prepare_set()
257 ret = phy_ops->get_sset_count(phydev); in strset_prepare_set()
273 !ops->get_ethtool_phy_stats && phy_ops && in strset_prepare_set()
274 phy_ops->get_strings) in strset_prepare_set()
275 phy_ops->get_strings(phydev, strings); in strset_prepare_set()
A Dioctl.c164 const struct ethtool_phy_ops *phy_ops = ethtool_phy_ops; in __ethtool_get_sset_count() local
181 phy_ops && phy_ops->get_sset_count) in __ethtool_get_sset_count()
182 return phy_ops->get_sset_count(dev->phydev); in __ethtool_get_sset_count()
196 const struct ethtool_phy_ops *phy_ops = ethtool_phy_ops; in __ethtool_get_strings() local
210 !ops->get_ethtool_phy_stats && phy_ops && in __ethtool_get_strings()
211 phy_ops->get_strings) in __ethtool_get_strings()
212 phy_ops->get_strings(dev->phydev, data); in __ethtool_get_strings()
2506 const struct ethtool_phy_ops *phy_ops = ethtool_phy_ops; in ethtool_get_phy_stats_phydev() local
2509 if (!phy_ops || !phy_ops->get_sset_count || !phy_ops->get_stats) in ethtool_get_phy_stats_phydev()
2512 n_stats = phy_ops->get_sset_count(phydev); in ethtool_get_phy_stats_phydev()
[all …]

Completed in 9 milliseconds