Home
last modified time | relevance | path

Searched refs:ethtool_ops (Results 1 – 25 of 460) sorted by relevance

12345678910>>...19

/linux-6.1.9/net/ethtool/
Dioctl.c166 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_sset_count()
198 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_strings()
444 if (!dev->ethtool_ops->get_link_ksettings) in __ethtool_get_link_ksettings()
448 return dev->ethtool_ops->get_link_ksettings(dev, link_ksettings); in __ethtool_get_link_ksettings()
530 if (!dev->ethtool_ops->get_link_ksettings) in ethtool_get_link_ksettings()
564 err = dev->ethtool_ops->get_link_ksettings(dev, &link_ksettings); in ethtool_get_link_ksettings()
588 if (!dev->ethtool_ops->set_link_ksettings) in ethtool_set_link_ksettings()
616 err = dev->ethtool_ops->set_link_ksettings(dev, &link_ksettings); in ethtool_set_link_ksettings()
661 if (!dev->ethtool_ops->get_link_ksettings) in ethtool_get_settings()
665 err = dev->ethtool_ops->get_link_ksettings(dev, &link_ksettings); in ethtool_get_settings()
[all …]
Ddebug.c32 if (!dev->ethtool_ops->get_msglevel) in debug_prepare_data()
38 data->msg_mask = dev->ethtool_ops->get_msglevel(dev); in debug_prepare_data()
103 if (!dev->ethtool_ops->get_msglevel || !dev->ethtool_ops->set_msglevel) in ethnl_set_debug()
111 msg_mask = dev->ethtool_ops->get_msglevel(dev); in ethnl_set_debug()
118 dev->ethtool_ops->set_msglevel(dev, msg_mask); in ethnl_set_debug()
Dpause.c32 if (!dev->ethtool_ops->get_pauseparam) in pause_prepare_data()
41 dev->ethtool_ops->get_pauseparam(dev, &data->pauseparam); in pause_prepare_data()
43 dev->ethtool_ops->get_pause_stats) in pause_prepare_data()
44 dev->ethtool_ops->get_pause_stats(dev, &data->pausestat); in pause_prepare_data()
144 const struct ethtool_ops *ops; in ethnl_set_pause()
156 ops = dev->ethtool_ops; in ethnl_set_pause()
174 ret = dev->ethtool_ops->set_pauseparam(dev, &params); in ethnl_set_pause()
Dwol.c33 if (!dev->ethtool_ops->get_wol) in wol_prepare_data()
39 dev->ethtool_ops->get_wol(dev, &data->wol); in wol_prepare_data()
123 if (!dev->ethtool_ops->get_wol || !dev->ethtool_ops->set_wol) in ethnl_set_wol()
131 dev->ethtool_ops->get_wol(dev, &wol); in ethnl_set_wol()
157 ret = dev->ethtool_ops->set_wol(dev, &wol); in ethnl_set_wol()
Dprivflags.c30 const struct ethtool_ops *ops = dev->ethtool_ops; in ethnl_get_priv_flags_info()
65 const struct ethtool_ops *ops; in privflags_prepare_data()
69 ops = dev->ethtool_ops; in privflags_prepare_data()
147 const struct ethtool_ops *ops; in ethnl_set_privflags()
167 ops = dev->ethtool_ops; in ethnl_set_privflags()
Deee.c35 if (!dev->ethtool_ops->get_eee) in eee_prepare_data()
40 ret = dev->ethtool_ops->get_eee(dev, &data->eee); in eee_prepare_data()
138 const struct ethtool_ops *ops; in ethnl_set_eee()
151 ops = dev->ethtool_ops; in ethnl_set_eee()
178 ret = dev->ethtool_ops->set_eee(dev, &eee); in ethnl_set_eee()
Dfec.c103 if (!dev->ethtool_ops->get_fecparam) in fec_prepare_data()
108 ret = dev->ethtool_ops->get_fecparam(dev, &fec); in fec_prepare_data()
112 dev->ethtool_ops->get_fec_stats) { in fec_prepare_data()
116 dev->ethtool_ops->get_fec_stats(dev, &stats); in fec_prepare_data()
246 const struct ethtool_ops *ops; in ethnl_set_fec()
258 ops = dev->ethtool_ops; in ethnl_set_fec()
298 ret = dev->ethtool_ops->set_fecparam(dev, &fec); in ethnl_set_fec()
Dstats.c125 dev->ethtool_ops->get_eth_phy_stats) in stats_prepare_data()
126 dev->ethtool_ops->get_eth_phy_stats(dev, &data->phy_stats); in stats_prepare_data()
128 dev->ethtool_ops->get_eth_mac_stats) in stats_prepare_data()
129 dev->ethtool_ops->get_eth_mac_stats(dev, &data->mac_stats); in stats_prepare_data()
131 dev->ethtool_ops->get_eth_ctrl_stats) in stats_prepare_data()
132 dev->ethtool_ops->get_eth_ctrl_stats(dev, &data->ctrl_stats); in stats_prepare_data()
134 dev->ethtool_ops->get_rmon_stats) in stats_prepare_data()
135 dev->ethtool_ops->get_rmon_stats(dev, &data->rmon_stats, in stats_prepare_data()
Dchannels.c33 if (!dev->ethtool_ops->get_channels) in channels_prepare_data()
38 dev->ethtool_ops->get_channels(dev, &data->channels); in channels_prepare_data()
120 const struct ethtool_ops *ops; in ethnl_set_channels()
131 ops = dev->ethtool_ops; in ethnl_set_channels()
212 ret = dev->ethtool_ops->set_channels(dev, &channels); in ethnl_set_channels()
Dmodule.c31 const struct ethtool_ops *ops = dev->ethtool_ops; in module_get_power_mode()
120 const struct ethtool_ops *ops = dev->ethtool_ops; in module_set_power_mode()
Drings.c33 if (!dev->ethtool_ops->get_ringparam) in rings_prepare_data()
38 dev->ethtool_ops->get_ringparam(dev, &data->ringparam, in rings_prepare_data()
138 const struct ethtool_ops *ops; in ethnl_set_rings()
150 ops = dev->ethtool_ops; in ethnl_set_rings()
222 ret = dev->ethtool_ops->set_ringparam(dev, &ringparam, in ethnl_set_rings()
Dcommon.c495 if (!dev->ethtool_ops->get_link) in __ethtool_get_link()
498 return netif_running(dev) && dev->ethtool_ops->get_link(dev); in __ethtool_get_link()
507 if (!dev->ethtool_ops->get_rxfh_indir_size || in ethtool_get_max_rxfh_channel()
508 !dev->ethtool_ops->get_rxfh) in ethtool_get_max_rxfh_channel()
510 dev_size = dev->ethtool_ops->get_rxfh_indir_size(dev); in ethtool_get_max_rxfh_channel()
518 ret = dev->ethtool_ops->get_rxfh(dev, indir, NULL, NULL); in ethtool_get_max_rxfh_channel()
532 int ethtool_check_ops(const struct ethtool_ops *ops) in ethtool_check_ops()
545 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_ts_info()
Dlinkinfo.c116 if (!dev->ethtool_ops->get_link_ksettings || in ethnl_set_linkinfo()
117 !dev->ethtool_ops->set_link_ksettings) in ethnl_set_linkinfo()
141 ret = dev->ethtool_ops->set_link_ksettings(dev, &ksettings); in ethnl_set_linkinfo()
Dcoalesce.c69 if (!dev->ethtool_ops->get_coalesce) in coalesce_prepare_data()
71 data->supported_params = dev->ethtool_ops->supported_coalesce_params; in coalesce_prepare_data()
75 ret = dev->ethtool_ops->get_coalesce(dev, &data->coalesce, in coalesce_prepare_data()
238 const struct ethtool_ops *ops; in ethnl_set_coalesce()
252 ops = dev->ethtool_ops; in ethnl_set_coalesce()
328 ret = dev->ethtool_ops->set_coalesce(dev, &coalesce, &kernel_coalesce, in ethnl_set_coalesce()
Dlinkmodes.c48 if (!dev->ethtool_ops->cap_link_lanes_supported) in linkmodes_prepare_data()
280 !dev->ethtool_ops->cap_link_lanes_supported) { in ethnl_update_linkmodes()
334 if (!dev->ethtool_ops->get_link_ksettings || in ethnl_set_linkmodes()
335 !dev->ethtool_ops->set_link_ksettings) in ethnl_set_linkmodes()
354 ret = dev->ethtool_ops->set_link_ksettings(dev, &ksettings); in ethnl_set_linkmodes()
/linux-6.1.9/net/dsa/
Dmaster.c14 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_regs_len()
44 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_regs()
80 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_ethtool_stats()
99 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_ethtool_phy_stats()
123 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_sset_count()
146 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_strings()
226 struct ethtool_ops *ops; in dsa_master_ethtool_setup()
235 cpu_dp->orig_ethtool_ops = dev->ethtool_ops; in dsa_master_ethtool_setup()
246 dev->ethtool_ops = ops; in dsa_master_ethtool_setup()
258 dev->ethtool_ops = cpu_dp->orig_ethtool_ops; in dsa_master_ethtool_teardown()
/linux-6.1.9/drivers/net/
Dloopback.c137 static const struct ethtool_ops loopback_ethtool_ops = {
165 const struct ethtool_ops *eth_ops, in gen_lo_setup()
189 dev->ethtool_ops = eth_ops; in gen_lo_setup()
Dvsockmon.c96 static const struct ethtool_ops vsockmon_ethtool_ops = {
106 dev->ethtool_ops = &vsockmon_ethtool_ops; in vsockmon_setup()
Dnlmon.c70 static const struct ethtool_ops nlmon_ethtool_ops = {
89 dev->ethtool_ops = &nlmon_ethtool_ops; in nlmon_setup()
Ddummy.c108 static const struct ethtool_ops dummy_ethtool_ops = {
119 dev->ethtool_ops = &dummy_ethtool_ops; in dummy_setup()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.h43 extern const struct ethtool_ops mlx5i_ethtool_ops;
44 extern const struct ethtool_ops mlx5i_pkey_ethtool_ops;
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dethtool.c103 static const struct ethtool_ops wil_ethtool_ops = {
112 ndev->ethtool_ops = &wil_ethtool_ops; in wil_set_ethtoolops()
/linux-6.1.9/drivers/net/can/
Dvcan.c152 static const struct ethtool_ops vcan_ethtool_ops = {
171 dev->ethtool_ops = &vcan_ethtool_ops; in vcan_setup()
/linux-6.1.9/drivers/net/ethernet/sfc/
Def100_ethtool.h12 extern const struct ethtool_ops ef100_ethtool_ops;
/linux-6.1.9/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.h49 const struct ethtool_ops *ethtool_ops; member

12345678910>>...19