Home
last modified time | relevance | path

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

12345678910>>...12

/linux/net/ethtool/
H 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()
H 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()
H A Dstats.c178 dev->ethtool_ops->get_eth_phy_stats) in stats_prepare_data()
179 dev->ethtool_ops->get_eth_phy_stats(dev, &data->phy_stats); in stats_prepare_data()
181 dev->ethtool_ops->get_eth_mac_stats) in stats_prepare_data()
182 dev->ethtool_ops->get_eth_mac_stats(dev, &data->mac_stats); in stats_prepare_data()
184 dev->ethtool_ops->get_eth_ctrl_stats) in stats_prepare_data()
185 dev->ethtool_ops->get_eth_ctrl_stats(dev, &data->ctrl_stats); in stats_prepare_data()
187 dev->ethtool_ops->get_rmon_stats) in stats_prepare_data()
188 dev->ethtool_ops->get_rmon_stats(dev, &data->rmon_stats, in stats_prepare_data()
527 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_aggregate_mac_stats()
547 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_aggregate_phy_stats()
[all …]
H A Dpause.c62 if (!dev->ethtool_ops->get_pauseparam) in pause_prepare_data()
82 dev->ethtool_ops->get_pauseparam(dev, &data->pauseparam); in pause_prepare_data()
84 dev->ethtool_ops->get_pause_stats) in pause_prepare_data()
85 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()
H 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()
99 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_wol_validate()
113 dev->ethtool_ops->get_wol(dev, &wol); in ethnl_set_wol()
137 ret = dev->ethtool_ops->set_wol(dev, &wol); in ethnl_set_wol()
H A Deee.c33 if (!dev->ethtool_ops->get_eee) in eee_prepare_data()
38 ret = dev->ethtool_ops->get_eee(dev, eee); in eee_prepare_data()
122 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_eee_validate()
136 ret = dev->ethtool_ops->get_eee(dev, &eee); in ethnl_set_eee()
154 ret = dev->ethtool_ops->set_eee(dev, &eee); in ethnl_set_eee()
H 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()
120 dev->ethtool_ops->get_channels(dev, &channels); in ethnl_set_channels()
181 ret = dev->ethtool_ops->set_channels(dev, &channels); in ethnl_set_channels()
H A Dcommon.c582 if (!dev->ethtool_ops->get_link) in ethtool_get_rx_ring_count()
585 return netif_running(dev) && dev->ethtool_ops->get_link(dev); in ethtool_get_rx_ring_count()
590 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_rx_ring_count()
610 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_rxnfc_rule_count()
639 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_max_rxnfc_channel()
727 if (!dev->ethtool_ops->get_rxfh_indir_size || in ethtool_get_max_rxfh_channel()
728 !dev->ethtool_ops in ethtool_get_max_rxfh_channel()
[all...]
H A Dcmis_cdb.c66 const struct ethtool_ops *ops = dev->ethtool_ops; in cmis_rev_major_get()
110 const struct ethtool_ops *ops = dev->ethtool_ops; in cmis_cdb_advertisement_get()
167 const struct ethtool_ops *ops = dev->ethtool_ops; in cmis_cdb_validate_password()
349 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_cmis_module_poll()
494 const struct ethtool_ops *ops = dev->ethtool_ops; in cmis_cdb_process_reply()
535 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_cmis_cdb_execute_cmd()
H A Dmodule.c36 const struct ethtool_ops *ops = dev->ethtool_ops; in module_get_power_mode()
117 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_module_validate()
144 const struct ethtool_ops *ops; in ethnl_set_module()
149 ops = dev->ethtool_ops; in ethnl_set_module()
243 const struct ethtool_ops *ops = dev->ethtool_ops; in module_flash_fw_work_init()
374 const struct ethtool_ops *ops = dev->ethtool_ops; in ethnl_module_fw_flash_validate()
H A Dmm.c35 const struct ethtool_ops *ops; in mm_prepare_data()
38 ops = dev->ethtool_ops; in mm_prepare_data()
179 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_mm_validate()
194 ret = dev->ethtool_ops->get_mm(dev, &state); in ethnl_set_mm()
228 ret = dev->ethtool_ops->set_mm(dev, &cfg, extack); in ethnl_set_mm()
254 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_dev_mm_supported()
266 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_dev_mm_supported()
H A Drings.c35 if (!dev->ethtool_ops->get_ringparam) in rings_prepare_data()
38 data->supported_ring_params = dev->ethtool_ops->supported_ring_params; in rings_prepare_data()
46 dev->ethtool_ops->get_ringparam(dev, &data->ringparam, in rings_prepare_data()
153 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_rings_validate()
303 ret = dev->ethtool_ops->set_ringparam(dev, &ringparam, in ethnl_set_rings()
H A Dlinkstate.c84 if (!dev->ethtool_ops->get_link_ext_state) in linkstate_get_link_ext_state()
87 err = dev->ethtool_ops->get_link_ext_state(dev, &data->ethtool_link_ext_state_info); in linkstate_get_link_ext_state()
142 if (dev->ethtool_ops->get_link_ext_stats) in linkstate_prepare_data()
143 dev->ethtool_ops->get_link_ext_stats(dev, in linkstate_prepare_data()
H 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()
H 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()
306 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_linkmodes_validate()
339 ret = dev->ethtool_ops->set_link_ksettings(dev, &ksettings); in ethnl_set_linkmodes()
H 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()
351 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_coalesce_validate()
521 ret = dev->ethtool_ops->get_coalesce(dev, &coalesce, &kernel_coalesce, in __ethnl_set_coalesce()
604 ret = dev->ethtool_ops->set_coalesce(dev, &coalesce, &kernel_coalesce, in __ethnl_set_coalesce()
/linux/net/dsa/
H A Dconduit.c23 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_conduit_get_regs_len()
55 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_conduit_get_regs()
113 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_conduit_get_ethtool_phy_stats()
142 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_conduit_get_sset_count()
175 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_conduit_get_strings()
238 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_conduit_ethtool_setup()
301 struct ethtool_ops *ops; in tagging_show()
310 cpu_dp->orig_ethtool_ops = dev->ethtool_ops; in tagging_store()
321 dev->ethtool_ops = ops; in tagging_store()
333 dev->ethtool_ops in tagging_store()
[all...]
/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_ethtool.c26 static const struct ethtool_ops bnge_ethtool_ops = {
32 dev->ethtool_ops = &bnge_ethtool_ops; in bnge_set_ethtool_ops()
/linux/drivers/net/can/rockchip/
H A Drockchip_canfd-ethtool.c61 static const struct ethtool_ops rkcanfd_ethtool_ops = {
70 priv->ndev->ethtool_ops = &rkcanfd_ethtool_ops; in rkcanfd_ethtool_init()
/linux/drivers/net/
H A Dloopback.c138 static const struct ethtool_ops loopback_ethtool_ops = {
163 const struct ethtool_ops *eth_ops, in gen_lo_setup()
187 dev->ethtool_ops = eth_ops; in gen_lo_setup()
H A Dnlmon.c51 static const struct ethtool_ops nlmon_ethtool_ops = {
69 dev->ethtool_ops = &nlmon_ethtool_ops; in nlmon_setup()
H A Dvsockmon.c78 static const struct ethtool_ops vsockmon_ethtool_ops = {
89 dev->ethtool_ops = &vsockmon_ethtool_ops; in vsockmon_setup()
H A Ddummy.c96 static const struct ethtool_ops dummy_ethtool_ops = {
106 dev->ethtool_ops = &dummy_ethtool_ops; in dummy_setup()
/linux/drivers/net/wireless/ath/wil6210/
H A Dethtool.c103 static const struct ethtool_ops wil_ethtool_ops = {
112 ndev->ethtool_ops = &wil_ethtool_ops; in wil_set_ethtoolops()
/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-ethtool.c119 static const struct ethtool_ops mcp251xfd_ethtool_ops = {
135 priv->ndev->ethtool_ops = &mcp251xfd_ethtool_ops; in mcp251xfd_ethtool_init()

12345678910>>...12