/linux-6.12.1/drivers/net/ethernet/toshiba/ |
D | spider_net_ethtool.c | 60 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()
|
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch-ethtool.c | 35 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()
|
D | dpaa2-ethtool.c | 72 struct ethtool_drvinfo *drvinfo) in dpaa2_eth_get_drvinfo() argument 76 strscpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver)); in dpaa2_eth_get_drvinfo() 78 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in dpaa2_eth_get_drvinfo() 81 strscpy(drvinfo->bus_info, dev_name(net_dev->dev.parent->parent), in dpaa2_eth_get_drvinfo() 82 sizeof(drvinfo->bus_info)); in dpaa2_eth_get_drvinfo()
|
/linux-6.12.1/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-ethtool.c | 99 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()
|
/linux-6.12.1/drivers/net/fjes/ |
D | fjes_ethtool.c | 147 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()
|
/linux-6.12.1/drivers/infiniband/ulp/ipoib/ |
D | ipoib_ethtool.c | 62 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()
|
/linux-6.12.1/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_ethtool.c | 125 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()
|
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/ |
D | fbnic_ethtool.c | 10 fbnic_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in fbnic_get_drvinfo() argument 15 fbnic_get_fw_ver_commit_str(fbd, drvinfo->fw_version, in fbnic_get_drvinfo() 16 sizeof(drvinfo->fw_version)); in fbnic_get_drvinfo()
|
/linux-6.12.1/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_ethtool.c | 305 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()
|
/linux-6.12.1/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_ethtool.c | 168 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()
|
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ethtool.c | 227 struct ethtool_drvinfo *drvinfo) in aq_ethtool_get_drvinfo() argument 237 strlcat(drvinfo->driver, AQ_CFG_DRV_NAME, sizeof(drvinfo->driver)); in aq_ethtool_get_drvinfo() 239 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in aq_ethtool_get_drvinfo() 243 strscpy(drvinfo->bus_info, pdev ? pci_name(pdev) : "", in aq_ethtool_get_drvinfo() 244 sizeof(drvinfo->bus_info)); in aq_ethtool_get_drvinfo() 245 drvinfo->n_stats = aq_ethtool_n_stats(ndev); in aq_ethtool_get_drvinfo() 246 drvinfo->testinfo_len = 0; in aq_ethtool_get_drvinfo() 247 drvinfo->regdump_len = regs_count; in aq_ethtool_get_drvinfo() 248 drvinfo->eedump_len = 0; in aq_ethtool_get_drvinfo()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ethtool.c | 38 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()
|
/linux-6.12.1/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_ethtool.c | 219 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()
|
/linux-6.12.1/drivers/net/ethernet/freescale/ |
D | ucc_geth_ethtool.c | 338 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()
|
/linux-6.12.1/drivers/net/ethernet/brocade/bna/ |
D | bnad_debugfs.c | 139 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()
|
/linux-6.12.1/drivers/net/ethernet/intel/igbvf/ |
D | ethtool.c | 168 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()
|
/linux-6.12.1/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ethtool.c | 61 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()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | minimal.c | 90 struct ethtool_drvinfo *drvinfo) in mlxsw_m_module_get_drvinfo() argument 95 strscpy(drvinfo->driver, mlxsw_m->bus_info->device_kind, in mlxsw_m_module_get_drvinfo() 96 sizeof(drvinfo->driver)); in mlxsw_m_module_get_drvinfo() 97 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in mlxsw_m_module_get_drvinfo() 102 strscpy(drvinfo->bus_info, mlxsw_m->bus_info->device_name, in mlxsw_m_module_get_drvinfo() 103 sizeof(drvinfo->bus_info)); in mlxsw_m_module_get_drvinfo()
|
/linux-6.12.1/drivers/net/ethernet/engleder/ |
D | tsnep_ethtool.c | 79 struct ethtool_drvinfo *drvinfo) in tsnep_ethtool_get_drvinfo() argument 83 strscpy(drvinfo->driver, TSNEP, sizeof(drvinfo->driver)); in tsnep_ethtool_get_drvinfo() 84 strscpy(drvinfo->bus_info, dev_name(&adapter->pdev->dev), in tsnep_ethtool_get_drvinfo() 85 sizeof(drvinfo->bus_info)); in tsnep_ethtool_get_drvinfo()
|
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_ethtool.c | 75 struct ethtool_drvinfo *drvinfo) in dpaa_get_drvinfo() argument 77 strscpy(drvinfo->driver, KBUILD_MODNAME, in dpaa_get_drvinfo() 78 sizeof(drvinfo->driver)); in dpaa_get_drvinfo() 79 strscpy(drvinfo->bus_info, dev_name(net_dev->dev.parent->parent), in dpaa_get_drvinfo() 80 sizeof(drvinfo->bus_info)); in dpaa_get_drvinfo()
|
/linux-6.12.1/drivers/net/ethernet/cisco/enic/ |
D | enic_ethtool.c | 157 struct ethtool_drvinfo *drvinfo) in enic_get_drvinfo() argument 171 strscpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); in enic_get_drvinfo() 172 strscpy(drvinfo->fw_version, fw_info->fw_version, in enic_get_drvinfo() 173 sizeof(drvinfo->fw_version)); in enic_get_drvinfo() 174 strscpy(drvinfo->bus_info, pci_name(enic->pdev), in enic_get_drvinfo() 175 sizeof(drvinfo->bus_info)); in enic_get_drvinfo()
|
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 405 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()
|
/linux-6.12.1/drivers/net/ethernet/marvell/prestera/ |
D | prestera_ethtool.c | 298 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()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ethtool.c | 643 struct ethtool_drvinfo *drvinfo) in hns_nic_get_drvinfo() argument 647 strscpy(drvinfo->version, HNAE_DRIVER_VERSION, in hns_nic_get_drvinfo() 648 sizeof(drvinfo->version)); in hns_nic_get_drvinfo() 650 strscpy(drvinfo->driver, HNAE_DRIVER_NAME, sizeof(drvinfo->driver)); in hns_nic_get_drvinfo() 652 strscpy(drvinfo->bus_info, priv->dev->bus->name, in hns_nic_get_drvinfo() 653 sizeof(drvinfo->bus_info)); in hns_nic_get_drvinfo() 655 strscpy(drvinfo->fw_version, "N/A", ETHTOOL_FWVERS_LEN); in hns_nic_get_drvinfo() 656 drvinfo->eedump_len = 0; in hns_nic_get_drvinfo()
|
/linux-6.12.1/drivers/net/ |
D | net_failover.c | 321 struct ethtool_drvinfo *drvinfo) in nfo_ethtool_get_drvinfo() argument 323 strscpy(drvinfo->driver, FAILOVER_NAME, sizeof(drvinfo->driver)); in nfo_ethtool_get_drvinfo() 324 strscpy(drvinfo->version, FAILOVER_VERSION, sizeof(drvinfo->version)); in nfo_ethtool_get_drvinfo()
|