Lines Matching refs:orig_ethtool_ops
22 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_regs_len()
52 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_regs()
88 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_ethtool_stats()
107 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_ethtool_phy_stats()
131 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_sset_count()
154 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_strings()
236 cpu_dp->orig_ethtool_ops = dev->ethtool_ops; in dsa_master_ethtool_setup()
237 if (cpu_dp->orig_ethtool_ops) in dsa_master_ethtool_setup()
238 memcpy(ops, cpu_dp->orig_ethtool_ops, sizeof(*ops)); in dsa_master_ethtool_setup()
259 dev->ethtool_ops = cpu_dp->orig_ethtool_ops; in dsa_master_ethtool_teardown()
260 cpu_dp->orig_ethtool_ops = NULL; in dsa_master_ethtool_teardown()