/linux/net/ethtool/ |
H A D | ioctl.c | 6 * This file is where we call all the ethtool_ops commands to get 55 * Some useful ethtool_ops methods that're device independent. 165 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_sset_count() 197 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_strings() 443 if (!dev->ethtool_ops->get_link_ksettings) in __ethtool_get_link_ksettings() 450 return dev->ethtool_ops->get_link_ksettings(dev, link_ksettings); in __ethtool_get_link_ksettings() 532 if (!dev->ethtool_ops->get_link_ksettings) in ethtool_get_link_ksettings() 566 err = dev->ethtool_ops in ethtool_get_link_ksettings() [all...] |
H A D | debug.c | 32 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 D | pause.c | 62 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, ¶ms); in ethnl_set_pause() 200 ret = dev->ethtool_ops->set_pauseparam(dev, ¶ms); in ethnl_set_pause()
|
H A D | wol.c | 33 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 D | eee.c | 33 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 D | rss.c | 92 if (!dev->ethtool_ops->get_rxfh_fields) in rss_prepare_flow_hash() 94 if (req->rss_context && !dev->ethtool_ops->rxfh_per_ctx_fields) in rss_prepare_flow_hash() 104 if (dev->ethtool_ops->get_rxfh_fields(dev, &fields)) { in rss_prepare_flow_hash() 118 const struct ethtool_ops *ops = dev->ethtool_ops; in rss_get_data_alloc() 152 const struct ethtool_ops *ops = dev->ethtool_ops; in rss_prepare_get() 190 data->no_key_fields = !dev->ethtool_ops->rxfh_per_ctx_key; in __rss_prepare_ctx() 247 if (!dev->ethtool_ops->get_rxfh) in rss_prepare() 263 const struct ethtool_ops *op in rss_prepare_data() [all...] |
H A D | channels.c | 33 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 D | cmis_cdb.c | 66 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() [all...] |
H A D | mm.c | 35 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() [all...] |
H A D | module.c | 36 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() [all...] |
H A D | rings.c | 35 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 D | linkstate.c | 84 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 D | linkinfo.c | 90 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()
|
/linux/net/dsa/ |
H A D | conduit.c | 23 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() 95 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_conduit_get_ethtool_stats() 116 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() 167 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_conduit_get_strings() 242 struct ethtool_ops *ops; in dsa_conduit_ethtool_setup() 251 cpu_dp->orig_ethtool_ops = dev->ethtool_ops; in dsa_conduit_ethtool_setup() 262 dev->ethtool_ops = ops; in dsa_conduit_ethtool_setup() 274 dev->ethtool_ops in dsa_conduit_ethtool_teardown() [all...] |
/linux/drivers/net/ethernet/broadcom/bnge/ |
H A D | bnge_ethtool.c | 26 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 D | rockchip_canfd-ethtool.c | 61 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 D | loopback.c | 138 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 D | vsockmon.c | 78 static const struct ethtool_ops vsockmon_ethtool_ops = { 89 dev->ethtool_ops = &vsockmon_ethtool_ops; in vsockmon_setup()
|
H A D | dummy.c | 96 static const struct ethtool_ops dummy_ethtool_ops = { 106 dev->ethtool_ops = &dummy_ethtool_ops; in dummy_setup()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib.h | 43 extern const struct ethtool_ops mlx5i_ethtool_ops; 44 extern const struct ethtool_ops mlx5i_pkey_ethtool_ops;
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | ethtool.c | 103 static const struct ethtool_ops wil_ethtool_ops = { 112 ndev->ethtool_ops = &wil_ethtool_ops; in wil_set_ethtoolops()
|
/linux/drivers/net/can/ |
H A D | vcan.c | 152 static const struct ethtool_ops vcan_ethtool_ops = { 171 dev->ethtool_ops = &vcan_ethtool_ops; in vcan_setup()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | ef100_ethtool.h | 12 extern const struct ethtool_ops ef100_ethtool_ops;
|
/linux/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_ethtool.c | 171 static const struct ethtool_ops opa_vnic_ethtool_ops = { 182 netdev->ethtool_ops = &opa_vnic_ethtool_ops; in opa_vnic_set_ethtool_ops()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_ethtool.h | 12 extern const struct ethtool_ops prestera_ethtool_ops;
|