Home
last modified time | relevance | path

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

12345678910>>...19

/linux-6.3-rc2/net/ethtool/
A Dioctl.c159 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_sset_count()
191 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_strings()
708 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_drvinfo()
973 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_rxnfc()
1110 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_set_rxfh_indir()
1170 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_rxfh()
1249 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_set_rxfh()
1361 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_regs()
1574 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_eeprom()
1587 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_set_eeprom()
[all …]
A 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()
78 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_debug_validate()
92 msg_mask = dev->ethtool_ops->get_msglevel(dev); in ethnl_set_debug()
99 dev->ethtool_ops->set_msglevel(dev, msg_mask); in ethnl_set_debug()
A 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()
133 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_privflags_validate()
163 flags = dev->ethtool_ops->get_priv_flags(dev); in ethnl_set_privflags()
170 ret = dev->ethtool_ops->set_priv_flags(dev, flags); in ethnl_set_privflags()
A Dstats.c150 dev->ethtool_ops->get_eth_phy_stats) in stats_prepare_data()
151 dev->ethtool_ops->get_eth_phy_stats(dev, &data->phy_stats); in stats_prepare_data()
153 dev->ethtool_ops->get_eth_mac_stats) in stats_prepare_data()
156 dev->ethtool_ops->get_eth_ctrl_stats) in stats_prepare_data()
159 dev->ethtool_ops->get_rmon_stats) in stats_prepare_data()
160 dev->ethtool_ops->get_rmon_stats(dev, &data->rmon_stats, in stats_prepare_data()
473 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_aggregate_mac_stats()
493 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_aggregate_phy_stats()
513 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_aggregate_ctrl_stats()
533 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_aggregate_pause_stats()
[all …]
A Dpause.c63 if (!dev->ethtool_ops->get_pauseparam) in pause_prepare_data()
83 dev->ethtool_ops->get_pauseparam(dev, &data->pauseparam); in pause_prepare_data()
85 dev->ethtool_ops->get_pause_stats) in pause_prepare_data()
86 dev->ethtool_ops->get_pause_stats(dev, &data->pausestat); in pause_prepare_data()
178 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_pause_validate()
192 dev->ethtool_ops->get_pauseparam(dev, &params); in ethnl_set_pause()
200 ret = dev->ethtool_ops->set_pauseparam(dev, &params); in ethnl_set_pause()
A Dmodule.c31 const struct ethtool_ops *ops = dev->ethtool_ops; in module_get_power_mode()
107 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_module_validate()
128 const struct ethtool_ops *ops; in ethnl_set_module()
133 ops = dev->ethtool_ops; in ethnl_set_module()
A 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()
98 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_wol_validate()
112 dev->ethtool_ops->get_wol(dev, &wol); in ethnl_set_wol()
136 ret = dev->ethtool_ops->set_wol(dev, &wol); in ethnl_set_wol()
A Dmm.c34 const struct ethtool_ops *ops; in mm_prepare_data()
37 ops = dev->ethtool_ops; in mm_prepare_data()
178 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_mm_validate()
193 ret = dev->ethtool_ops->get_mm(dev, &state); in ethnl_set_mm()
217 ret = dev->ethtool_ops->set_mm(dev, &cfg, extack); in ethnl_set_mm()
243 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_dev_mm_supported()
A 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()
125 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_eee_validate()
139 ret = dev->ethtool_ops->get_eee(dev, &eee); in ethnl_set_eee()
156 ret = dev->ethtool_ops->set_eee(dev, &eee); in ethnl_set_eee()
A 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()
231 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_fec_validate()
247 ret = dev->ethtool_ops->get_fecparam(dev, &fec); in ethnl_set_fec()
275 ret = dev->ethtool_ops->set_fecparam(dev, &fec); in ethnl_set_fec()
A 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()
104 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_channels_validate()
121 dev->ethtool_ops->get_channels(dev, &channels); in ethnl_set_channels()
195 ret = dev->ethtool_ops->set_channels(dev, &channels); in ethnl_set_channels()
A 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()
126 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_rings_validate()
175 dev->ethtool_ops->get_ringparam(dev, &ringparam, in ethnl_set_rings()
212 ret = dev->ethtool_ops->set_ringparam(dev, &ringparam, in ethnl_set_rings()
A Dcommon.c518 if (!dev->ethtool_ops->get_link) in __ethtool_get_link()
521 return netif_running(dev) && dev->ethtool_ops->get_link(dev); in __ethtool_get_link()
526 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_rxnfc_rule_count()
541 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_max_rxnfc_channel()
596 if (!dev->ethtool_ops->get_rxfh_indir_size || in ethtool_get_max_rxfh_channel()
597 !dev->ethtool_ops->get_rxfh) in ethtool_get_max_rxfh_channel()
599 dev_size = dev->ethtool_ops->get_rxfh_indir_size(dev); in ethtool_get_max_rxfh_channel()
607 ret = dev->ethtool_ops->get_rxfh(dev, indir, NULL, NULL); in ethtool_get_max_rxfh_channel()
621 int ethtool_check_ops(const struct ethtool_ops *ops) in ethtool_check_ops()
634 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_ts_info()
A Dlinkstate.c70 if (!dev->ethtool_ops->get_link_ext_state) in linkstate_get_link_ext_state()
73 err = dev->ethtool_ops->get_link_ext_state(dev, &data->ethtool_link_ext_state_info); in linkstate_get_link_ext_state()
119 if (dev->ethtool_ops->get_link_ext_stats) in linkstate_prepare_data()
120 dev->ethtool_ops->get_link_ext_stats(dev, in linkstate_prepare_data()
A 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()
236 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_coalesce_validate()
266 ret = dev->ethtool_ops->get_coalesce(dev, &coalesce, &kernel_coalesce, in ethnl_set_coalesce()
328 ret = dev->ethtool_ops->set_coalesce(dev, &coalesce, &kernel_coalesce, in ethnl_set_coalesce()
A Dlinkinfo.c90 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_linkinfo_validate()
122 ret = dev->ethtool_ops->set_link_ksettings(dev, &ksettings); in ethnl_set_linkinfo()
A Dlinkmodes.c48 if (!dev->ethtool_ops->cap_link_lanes_supported) in linkmodes_prepare_data()
268 !dev->ethtool_ops->cap_link_lanes_supported) { in ethnl_update_linkmodes()
305 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_linkmodes_validate()
338 ret = dev->ethtool_ops->set_link_ksettings(dev, &ksettings); in ethnl_set_linkmodes()
/linux-6.3-rc2/net/dsa/
A Dmaster.c22 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()
234 struct ethtool_ops *ops; in dsa_master_ethtool_setup()
243 cpu_dp->orig_ethtool_ops = dev->ethtool_ops; in dsa_master_ethtool_setup()
254 dev->ethtool_ops = ops; in dsa_master_ethtool_setup()
266 dev->ethtool_ops = cpu_dp->orig_ethtool_ops; in dsa_master_ethtool_teardown()
/linux-6.3-rc2/drivers/net/ethernet/wangxun/txgbe/
A Dtxgbe_ethtool.c11 static const struct ethtool_ops txgbe_ethtool_ops = {
18 netdev->ethtool_ops = &txgbe_ethtool_ops; in txgbe_set_ethtool_ops()
/linux-6.3-rc2/drivers/net/ethernet/wangxun/ngbe/
A Dngbe_ethtool.c11 static const struct ethtool_ops ngbe_ethtool_ops = {
21 netdev->ethtool_ops = &ngbe_ethtool_ops; in ngbe_set_ethtool_ops()
/linux-6.3-rc2/drivers/net/
A 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()
A Dnlmon.c70 static const struct ethtool_ops nlmon_ethtool_ops = {
89 dev->ethtool_ops = &nlmon_ethtool_ops; in nlmon_setup()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
A Dipoib.h43 extern const struct ethtool_ops mlx5i_ethtool_ops;
44 extern const struct ethtool_ops mlx5i_pkey_ethtool_ops;
/linux-6.3-rc2/drivers/net/wireless/ath/wil6210/
A Dethtool.c103 static const struct ethtool_ops wil_ethtool_ops = {
112 ndev->ethtool_ops = &wil_ethtool_ops; in wil_set_ethtoolops()
/linux-6.3-rc2/drivers/net/can/
A Dvcan.c152 static const struct ethtool_ops vcan_ethtool_ops = {
171 dev->ethtool_ops = &vcan_ethtool_ops; in vcan_setup()

Completed in 31 milliseconds

12345678910>>...19