| /OK3568_Linux_fs/kernel/net/ethtool/ |
| H A D | ioctl.c | 140 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_sset_count() 172 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_strings() 432 if (!dev->ethtool_ops->get_link_ksettings) in __ethtool_get_link_ksettings() 436 return dev->ethtool_ops->get_link_ksettings(dev, link_ksettings); in __ethtool_get_link_ksettings() 518 if (!dev->ethtool_ops->get_link_ksettings) in ethtool_get_link_ksettings() 552 err = dev->ethtool_ops->get_link_ksettings(dev, &link_ksettings); in ethtool_get_link_ksettings() 575 if (!dev->ethtool_ops->set_link_ksettings) in ethtool_set_link_ksettings() 603 err = dev->ethtool_ops->set_link_ksettings(dev, &link_ksettings); in ethtool_set_link_ksettings() 648 if (!dev->ethtool_ops->get_link_ksettings) in ethtool_get_settings() 652 err = dev->ethtool_ops->get_link_ksettings(dev, &link_ksettings); in ethtool_get_settings() [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() 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()
|
| H A D | pause.c | 38 if (!dev->ethtool_ops->get_pauseparam) in pause_prepare_data() 47 dev->ethtool_ops->get_pauseparam(dev, &data->pauseparam); in pause_prepare_data() 49 dev->ethtool_ops->get_pause_stats) in pause_prepare_data() 50 dev->ethtool_ops->get_pause_stats(dev, &data->pausestat); in pause_prepare_data() 150 const struct ethtool_ops *ops; in ethnl_set_pause() 162 ops = dev->ethtool_ops; in ethnl_set_pause() 180 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() 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()
|
| H A D | privflags.c | 30 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()
|
| H A D | common.c | 336 if (!dev->ethtool_ops->get_link) in __ethtool_get_link() 339 return netif_running(dev) && dev->ethtool_ops->get_link(dev); in __ethtool_get_link() 348 if (!dev->ethtool_ops->get_rxfh_indir_size || in ethtool_get_max_rxfh_channel() 349 !dev->ethtool_ops->get_rxfh) in ethtool_get_max_rxfh_channel() 351 dev_size = dev->ethtool_ops->get_rxfh_indir_size(dev); in ethtool_get_max_rxfh_channel() 359 ret = dev->ethtool_ops->get_rxfh(dev, indir, NULL, NULL); in ethtool_get_max_rxfh_channel() 373 int ethtool_check_ops(const struct ethtool_ops *ops) in ethtool_check_ops() 386 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_ts_info()
|
| H A D | rings.c | 31 if (!dev->ethtool_ops->get_ringparam) in rings_prepare_data() 36 dev->ethtool_ops->get_ringparam(dev, &data->ringparam); in rings_prepare_data() 116 const struct ethtool_ops *ops; in ethnl_set_rings() 128 ops = dev->ethtool_ops; in ethnl_set_rings() 167 ret = dev->ethtool_ops->set_ringparam(dev, &ringparam); in ethnl_set_rings()
|
| H A D | eee.c | 35 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()
|
| 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() 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()
|
| H A D | coalesce.c | 67 if (!dev->ethtool_ops->get_coalesce) in coalesce_prepare_data() 69 data->supported_params = dev->ethtool_ops->supported_coalesce_params; in coalesce_prepare_data() 73 ret = dev->ethtool_ops->get_coalesce(dev, &data->coalesce); in coalesce_prepare_data() 225 const struct ethtool_ops *ops; in ethnl_set_coalesce() 239 ops = dev->ethtool_ops; in ethnl_set_coalesce() 310 ret = dev->ethtool_ops->set_coalesce(dev, &coalesce); in ethnl_set_coalesce()
|
| H A D | linkinfo.c | 116 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()
|
| H A D | netlink.h | 255 if (dev && dev->ethtool_ops->begin) in ethnl_ops_begin() 256 return dev->ethtool_ops->begin(dev); in ethnl_ops_begin() 263 if (dev && dev->ethtool_ops->complete) in ethnl_ops_complete() 264 dev->ethtool_ops->complete(dev); in ethnl_ops_complete()
|
| H A D | linkstate.c | 69 if (!dev->ethtool_ops->get_link_ext_state) in linkstate_get_link_ext_state() 72 err = dev->ethtool_ops->get_link_ext_state(dev, &data->ethtool_link_ext_state_info); in linkstate_get_link_ext_state()
|
| /OK3568_Linux_fs/kernel/net/dsa/ |
| H A D | master.c | 14 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() 227 struct ethtool_ops *ops; in dsa_master_ethtool_setup() 233 cpu_dp->orig_ethtool_ops = dev->ethtool_ops; in dsa_master_ethtool_setup() 244 dev->ethtool_ops = ops; in dsa_master_ethtool_setup() 253 dev->ethtool_ops = cpu_dp->orig_ethtool_ops; in dsa_master_ethtool_teardown()
|
| /OK3568_Linux_fs/kernel/drivers/net/netdevsim/ |
| H A D | ethtool.c | 45 static const struct ethtool_ops nsim_ethtool_ops = { 55 ns->netdev->ethtool_ops = &nsim_ethtool_ops; in nsim_ethtool_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/ |
| H A D | loopback.c | 136 static const struct ethtool_ops loopback_ethtool_ops = { 164 const struct ethtool_ops *eth_ops, in gen_lo_setup() 188 dev->ethtool_ops = eth_ops; in gen_lo_setup()
|
| H A D | nlmon.c | 69 static const struct ethtool_ops nlmon_ethtool_ops = { 88 dev->ethtool_ops = &nlmon_ethtool_ops; in nlmon_setup()
|
| H A D | vsockmon.c | 95 static const struct ethtool_ops vsockmon_ethtool_ops = { 105 dev->ethtool_ops = &vsockmon_ethtool_ops; in vsockmon_setup()
|
| H A D | dummy.c | 108 static const struct ethtool_ops dummy_ethtool_ops = { 119 dev->ethtool_ops = &dummy_ethtool_ops; in dummy_setup()
|
| /OK3568_Linux_fs/kernel/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;
|
| H A D | ethtool.c | 214 const struct ethtool_ops mlx5i_ethtool_ops = { 234 const struct ethtool_ops mlx5i_pkey_ethtool_ops = {
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/wil6210/ |
| H A D | ethtool.c | 97 static const struct ethtool_ops wil_ethtool_ops = { 106 ndev->ethtool_ops = &wil_ethtool_ops; in wil_set_ethtoolops()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/ulp/opa_vnic/ |
| H A D | opa_vnic_ethtool.c | 173 static const struct ethtool_ops opa_vnic_ethtool_ops = { 184 netdev->ethtool_ops = &opa_vnic_ethtool_ops; in opa_vnic_set_ethtool_ops()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_ethtool.c | 212 static const struct ethtool_ops ipoib_ethtool_ops = { 227 dev->ethtool_ops = &ipoib_ethtool_ops; in ipoib_set_ethtool_ops()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | ef100_ethtool.h | 12 extern const struct ethtool_ops ef100_ethtool_ops;
|