Home
last modified time | relevance | path

Searched refs:drvinfo (Results 1 – 25 of 76) sorted by relevance

1234

/drivers/net/ethernet/toshiba/
Dspider_net_ethtool.c60 struct ethtool_drvinfo *drvinfo) in spider_net_ethtool_get_drvinfo() argument
66 strscpy(drvinfo->driver, spider_net_driver_name, in spider_net_ethtool_get_drvinfo()
67 sizeof(drvinfo->driver)); in spider_net_ethtool_get_drvinfo()
68 strscpy(drvinfo->version, VERSION, sizeof(drvinfo->version)); in spider_net_ethtool_get_drvinfo()
69 strscpy(drvinfo->fw_version, "no information", in spider_net_ethtool_get_drvinfo()
70 sizeof(drvinfo->fw_version)); in spider_net_ethtool_get_drvinfo()
71 strscpy(drvinfo->bus_info, pci_name(card->pdev), in spider_net_ethtool_get_drvinfo()
72 sizeof(drvinfo->bus_info)); in spider_net_ethtool_get_drvinfo()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch-ethtool.c35 struct ethtool_drvinfo *drvinfo) in dpaa2_switch_get_drvinfo() argument
41 strscpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver)); in dpaa2_switch_get_drvinfo()
47 strscpy(drvinfo->fw_version, "N/A", in dpaa2_switch_get_drvinfo()
48 sizeof(drvinfo->fw_version)); in dpaa2_switch_get_drvinfo()
50 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in dpaa2_switch_get_drvinfo()
53 strscpy(drvinfo->bus_info, dev_name(netdev->dev.parent->parent), in dpaa2_switch_get_drvinfo()
54 sizeof(drvinfo->bus_info)); in dpaa2_switch_get_drvinfo()
Ddpaa2-ethtool.c73 struct ethtool_drvinfo *drvinfo) in dpaa2_eth_get_drvinfo() argument
77 strscpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver)); in dpaa2_eth_get_drvinfo()
79 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in dpaa2_eth_get_drvinfo()
82 strscpy(drvinfo->bus_info, dev_name(net_dev->dev.parent->parent), in dpaa2_eth_get_drvinfo()
83 sizeof(drvinfo->bus_info)); in dpaa2_eth_get_drvinfo()
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-ethtool.c99 struct ethtool_drvinfo *drvinfo) in xlgmac_ethtool_get_drvinfo() argument
105 strscpy(drvinfo->driver, pdata->drv_name, sizeof(drvinfo->driver)); in xlgmac_ethtool_get_drvinfo()
106 strscpy(drvinfo->version, pdata->drv_ver, sizeof(drvinfo->version)); in xlgmac_ethtool_get_drvinfo()
107 strscpy(drvinfo->bus_info, dev_name(pdata->dev), in xlgmac_ethtool_get_drvinfo()
108 sizeof(drvinfo->bus_info)); in xlgmac_ethtool_get_drvinfo()
119 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in xlgmac_ethtool_get_drvinfo()
/drivers/net/fjes/
Dfjes_ethtool.c147 struct ethtool_drvinfo *drvinfo) in fjes_get_drvinfo() argument
154 strscpy(drvinfo->driver, fjes_driver_name, sizeof(drvinfo->driver)); in fjes_get_drvinfo()
155 strscpy(drvinfo->version, fjes_driver_version, in fjes_get_drvinfo()
156 sizeof(drvinfo->version)); in fjes_get_drvinfo()
158 strscpy(drvinfo->fw_version, "none", sizeof(drvinfo->fw_version)); in fjes_get_drvinfo()
159 snprintf(drvinfo->bus_info, sizeof(drvinfo->bus_info), in fjes_get_drvinfo()
/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c62 struct ethtool_drvinfo *drvinfo) in ipoib_get_drvinfo() argument
66 ib_get_device_fw_str(priv->ca, drvinfo->fw_version); in ipoib_get_drvinfo()
68 strscpy(drvinfo->bus_info, dev_name(priv->ca->dev.parent), in ipoib_get_drvinfo()
69 sizeof(drvinfo->bus_info)); in ipoib_get_drvinfo()
71 strscpy(drvinfo->driver, "ib_ipoib", sizeof(drvinfo->driver)); in ipoib_get_drvinfo()
/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_ethtool.c125 struct ethtool_drvinfo *drvinfo) in vnic_get_drvinfo() argument
127 strscpy(drvinfo->driver, opa_vnic_driver_name, sizeof(drvinfo->driver)); in vnic_get_drvinfo()
128 strscpy(drvinfo->bus_info, dev_name(netdev->dev.parent), in vnic_get_drvinfo()
129 sizeof(drvinfo->bus_info)); in vnic_get_drvinfo()
/drivers/net/ethernet/atheros/atl1e/
Datl1e_ethtool.c305 struct ethtool_drvinfo *drvinfo) in atl1e_get_drvinfo() argument
309 strscpy(drvinfo->driver, atl1e_driver_name, sizeof(drvinfo->driver)); in atl1e_get_drvinfo()
310 strscpy(drvinfo->fw_version, "L1e", sizeof(drvinfo->fw_version)); in atl1e_get_drvinfo()
311 strscpy(drvinfo->bus_info, pci_name(adapter->pdev), in atl1e_get_drvinfo()
312 sizeof(drvinfo->bus_info)); in atl1e_get_drvinfo()
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c168 struct ethtool_drvinfo *drvinfo) in pch_gbe_get_drvinfo() argument
172 strscpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver)); in pch_gbe_get_drvinfo()
173 strscpy(drvinfo->version, pch_driver_version, sizeof(drvinfo->version)); in pch_gbe_get_drvinfo()
174 strscpy(drvinfo->bus_info, pci_name(adapter->pdev), in pch_gbe_get_drvinfo()
175 sizeof(drvinfo->bus_info)); in pch_gbe_get_drvinfo()
/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c226 struct ethtool_drvinfo *drvinfo) in aq_ethtool_get_drvinfo() argument
236 strlcat(drvinfo->driver, AQ_CFG_DRV_NAME, sizeof(drvinfo->driver)); in aq_ethtool_get_drvinfo()
238 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in aq_ethtool_get_drvinfo()
242 strscpy(drvinfo->bus_info, pdev ? pci_name(pdev) : "", in aq_ethtool_get_drvinfo()
243 sizeof(drvinfo->bus_info)); in aq_ethtool_get_drvinfo()
244 drvinfo->n_stats = aq_ethtool_n_stats(ndev); in aq_ethtool_get_drvinfo()
245 drvinfo->testinfo_len = 0; in aq_ethtool_get_drvinfo()
246 drvinfo->regdump_len = regs_count; in aq_ethtool_get_drvinfo()
247 drvinfo->eedump_len = 0; in aq_ethtool_get_drvinfo()
/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c643 struct ethtool_drvinfo *drvinfo) in hns_nic_get_drvinfo() argument
647 strncpy(drvinfo->version, HNAE_DRIVER_VERSION, in hns_nic_get_drvinfo()
648 sizeof(drvinfo->version)); in hns_nic_get_drvinfo()
649 drvinfo->version[sizeof(drvinfo->version) - 1] = '\0'; in hns_nic_get_drvinfo()
651 strncpy(drvinfo->driver, HNAE_DRIVER_NAME, sizeof(drvinfo->driver)); in hns_nic_get_drvinfo()
652 drvinfo->driver[sizeof(drvinfo->driver) - 1] = '\0'; in hns_nic_get_drvinfo()
654 strncpy(drvinfo->bus_info, priv->dev->bus->name, in hns_nic_get_drvinfo()
655 sizeof(drvinfo->bus_info)); in hns_nic_get_drvinfo()
656 drvinfo->bus_info[ETHTOOL_BUSINFO_LEN - 1] = '\0'; in hns_nic_get_drvinfo()
658 strncpy(drvinfo->fw_version, "N/A", ETHTOOL_FWVERS_LEN); in hns_nic_get_drvinfo()
[all …]
/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c219 struct ethtool_drvinfo *drvinfo) in atl1c_get_drvinfo() argument
223 strscpy(drvinfo->driver, atl1c_driver_name, sizeof(drvinfo->driver)); in atl1c_get_drvinfo()
224 strscpy(drvinfo->bus_info, pci_name(adapter->pdev), in atl1c_get_drvinfo()
225 sizeof(drvinfo->bus_info)); in atl1c_get_drvinfo()
/drivers/net/ethernet/engleder/
Dtsnep_ethtool.c75 struct ethtool_drvinfo *drvinfo) in tsnep_ethtool_get_drvinfo() argument
79 strscpy(drvinfo->driver, TSNEP, sizeof(drvinfo->driver)); in tsnep_ethtool_get_drvinfo()
80 strscpy(drvinfo->bus_info, dev_name(&adapter->pdev->dev), in tsnep_ethtool_get_drvinfo()
81 sizeof(drvinfo->bus_info)); in tsnep_ethtool_get_drvinfo()
/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c338 struct ethtool_drvinfo *drvinfo) in uec_get_drvinfo() argument
340 strscpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); in uec_get_drvinfo()
341 strscpy(drvinfo->bus_info, "QUICC ENGINE", sizeof(drvinfo->bus_info)); in uec_get_drvinfo()
/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dethtool.c38 struct ethtool_drvinfo *drvinfo) in mlx5i_get_drvinfo() argument
42 mlx5e_ethtool_get_drvinfo(priv, drvinfo); in mlx5i_get_drvinfo()
43 strscpy(drvinfo->driver, KBUILD_MODNAME "[ib_ipoib]", in mlx5i_get_drvinfo()
44 sizeof(drvinfo->driver)); in mlx5i_get_drvinfo()
/drivers/staging/qlge/
Dqlge_ethtool.c414 struct ethtool_drvinfo *drvinfo) in qlge_get_drvinfo() argument
418 strscpy(drvinfo->driver, qlge_driver_name, sizeof(drvinfo->driver)); in qlge_get_drvinfo()
419 strscpy(drvinfo->version, qlge_driver_version, in qlge_get_drvinfo()
420 sizeof(drvinfo->version)); in qlge_get_drvinfo()
421 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in qlge_get_drvinfo()
426 strscpy(drvinfo->bus_info, pci_name(qdev->pdev), in qlge_get_drvinfo()
427 sizeof(drvinfo->bus_info)); in qlge_get_drvinfo()
/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c120 struct ethtool_drvinfo *drvinfo) in enic_get_drvinfo() argument
134 strscpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); in enic_get_drvinfo()
135 strscpy(drvinfo->fw_version, fw_info->fw_version, in enic_get_drvinfo()
136 sizeof(drvinfo->fw_version)); in enic_get_drvinfo()
137 strscpy(drvinfo->bus_info, pci_name(enic->pdev), in enic_get_drvinfo()
138 sizeof(drvinfo->bus_info)); in enic_get_drvinfo()
/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c139 struct bnad_drvinfo *drvinfo = (struct bnad_drvinfo *) buffer; in bnad_get_debug_drvinfo() local
146 bfa_nw_ioc_get_attr(&bnad->bna.ioceth.ioc, &drvinfo->ioc_attr); in bnad_get_debug_drvinfo()
154 ret = bfa_nw_cee_get_attr(&bnad->bna.cee, &drvinfo->cee_attr, in bnad_get_debug_drvinfo()
162 drvinfo->cee_status = fcomp.comp_status; in bnad_get_debug_drvinfo()
168 ret = bfa_nw_flash_get_attr(&bnad->bna.flash, &drvinfo->flash_attr, in bnad_get_debug_drvinfo()
176 drvinfo->flash_status = fcomp.comp_status; in bnad_get_debug_drvinfo()
/drivers/net/ethernet/intel/igbvf/
Dethtool.c168 struct ethtool_drvinfo *drvinfo) in igbvf_get_drvinfo() argument
172 strscpy(drvinfo->driver, igbvf_driver_name, sizeof(drvinfo->driver)); in igbvf_get_drvinfo()
173 strscpy(drvinfo->bus_info, pci_name(adapter->pdev), in igbvf_get_drvinfo()
174 sizeof(drvinfo->bus_info)); in igbvf_get_drvinfo()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c61 netxen_nic_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *drvinfo) in netxen_nic_get_drvinfo() argument
68 strscpy(drvinfo->driver, netxen_nic_driver_name, in netxen_nic_get_drvinfo()
69 sizeof(drvinfo->driver)); in netxen_nic_get_drvinfo()
70 strscpy(drvinfo->version, NETXEN_NIC_LINUX_VERSIONID, in netxen_nic_get_drvinfo()
71 sizeof(drvinfo->version)); in netxen_nic_get_drvinfo()
75 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in netxen_nic_get_drvinfo()
78 strscpy(drvinfo->bus_info, pci_name(adapter->pdev), in netxen_nic_get_drvinfo()
79 sizeof(drvinfo->bus_info)); in netxen_nic_get_drvinfo()
/drivers/net/ethernet/mellanox/mlxsw/
Dminimal.c101 struct ethtool_drvinfo *drvinfo) in mlxsw_m_module_get_drvinfo() argument
106 strscpy(drvinfo->driver, mlxsw_m->bus_info->device_kind, in mlxsw_m_module_get_drvinfo()
107 sizeof(drvinfo->driver)); in mlxsw_m_module_get_drvinfo()
108 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in mlxsw_m_module_get_drvinfo()
113 strscpy(drvinfo->bus_info, mlxsw_m->bus_info->device_name, in mlxsw_m_module_get_drvinfo()
114 sizeof(drvinfo->bus_info)); in mlxsw_m_module_get_drvinfo()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c405 struct ethtool_drvinfo *drvinfo) in xgbe_get_drvinfo() argument
410 strscpy(drvinfo->driver, XGBE_DRV_NAME, sizeof(drvinfo->driver)); in xgbe_get_drvinfo()
411 strscpy(drvinfo->bus_info, dev_name(pdata->dev), in xgbe_get_drvinfo()
412 sizeof(drvinfo->bus_info)); in xgbe_get_drvinfo()
413 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), "%d.%d.%d", in xgbe_get_drvinfo()
/drivers/net/ethernet/marvell/prestera/
Dprestera_ethtool.c298 struct ethtool_drvinfo *drvinfo) in prestera_ethtool_get_drvinfo() argument
303 strscpy(drvinfo->driver, driver_kind, sizeof(drvinfo->driver)); in prestera_ethtool_get_drvinfo()
304 strscpy(drvinfo->bus_info, dev_name(prestera_dev(sw)), in prestera_ethtool_get_drvinfo()
305 sizeof(drvinfo->bus_info)); in prestera_ethtool_get_drvinfo()
306 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in prestera_ethtool_get_drvinfo()
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c81 struct ethtool_drvinfo *drvinfo) in dpaa_get_drvinfo() argument
83 strscpy(drvinfo->driver, KBUILD_MODNAME, in dpaa_get_drvinfo()
84 sizeof(drvinfo->driver)); in dpaa_get_drvinfo()
85 strscpy(drvinfo->bus_info, dev_name(net_dev->dev.parent->parent), in dpaa_get_drvinfo()
86 sizeof(drvinfo->bus_info)); in dpaa_get_drvinfo()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c204 const char *vnic_version, struct ethtool_drvinfo *drvinfo) in nfp_get_drvinfo() argument
208 strscpy(drvinfo->driver, dev_driver_string(&pdev->dev), in nfp_get_drvinfo()
209 sizeof(drvinfo->driver)); in nfp_get_drvinfo()
211 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in nfp_get_drvinfo()
217 nfp_net_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in nfp_net_get_drvinfo() argument
225 strscpy(drvinfo->bus_info, pci_name(nn->pdev), in nfp_net_get_drvinfo()
226 sizeof(drvinfo->bus_info)); in nfp_net_get_drvinfo()
228 nfp_get_drvinfo(nn->app, nn->pdev, vnic_version, drvinfo); in nfp_net_get_drvinfo()
263 nfp_app_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in nfp_app_get_drvinfo() argument
267 strscpy(drvinfo->bus_info, pci_name(app->pdev), in nfp_app_get_drvinfo()
[all …]

1234