drvinfo 495 drivers/infiniband/hw/bnxt_re/main.c struct ethtool_drvinfo drvinfo; drvinfo 498 drivers/infiniband/hw/bnxt_re/main.c memset(&drvinfo, 0, sizeof(drvinfo)); drvinfo 499 drivers/infiniband/hw/bnxt_re/main.c netdev->ethtool_ops->get_drvinfo(netdev, &drvinfo); drvinfo 501 drivers/infiniband/hw/bnxt_re/main.c if (strcmp(drvinfo.driver, "bnxt_en")) drvinfo 62 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 66 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c ib_get_device_fw_str(priv->ca, drvinfo->fw_version); drvinfo 68 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c strlcpy(drvinfo->bus_info, dev_name(priv->ca->dev.parent), drvinfo 69 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 71 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c strlcpy(drvinfo->version, ipoib_driver_version, drvinfo 72 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c sizeof(drvinfo->version)); drvinfo 74 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c strlcpy(drvinfo->driver, "ib_ipoib", sizeof(drvinfo->driver)); drvinfo 125 drivers/infiniband/ulp/opa_vnic/opa_vnic_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 127 drivers/infiniband/ulp/opa_vnic/opa_vnic_ethtool.c strlcpy(drvinfo->driver, opa_vnic_driver_name, sizeof(drvinfo->driver)); drvinfo 128 drivers/infiniband/ulp/opa_vnic/opa_vnic_ethtool.c strlcpy(drvinfo->version, opa_vnic_driver_version, drvinfo 129 drivers/infiniband/ulp/opa_vnic/opa_vnic_ethtool.c sizeof(drvinfo->version)); drvinfo 130 drivers/infiniband/ulp/opa_vnic/opa_vnic_ethtool.c strlcpy(drvinfo->bus_info, dev_name(netdev->dev.parent), drvinfo 131 drivers/infiniband/ulp/opa_vnic/opa_vnic_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 4280 drivers/net/bonding/bond_main.c struct ethtool_drvinfo *drvinfo) drvinfo 4282 drivers/net/bonding/bond_main.c strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); drvinfo 4283 drivers/net/bonding/bond_main.c strlcpy(drvinfo->version, DRV_VERSION, sizeof(drvinfo->version)); drvinfo 4284 drivers/net/bonding/bond_main.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), "%d", drvinfo 402 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 407 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c strlcpy(drvinfo->driver, XGBE_DRV_NAME, sizeof(drvinfo->driver)); drvinfo 408 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c strlcpy(drvinfo->version, XGBE_DRV_VERSION, sizeof(drvinfo->version)); drvinfo 409 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c strlcpy(drvinfo->bus_info, dev_name(pdata->dev), drvinfo 410 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c sizeof(drvinfo->bus_info)); drvinfo 411 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), "%d.%d.%d", drvinfo 105 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 113 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c strlcat(drvinfo->driver, AQ_CFG_DRV_NAME, sizeof(drvinfo->driver)); drvinfo 114 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c strlcat(drvinfo->version, AQ_CFG_DRV_VERSION, sizeof(drvinfo->version)); drvinfo 116 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 120 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c strlcpy(drvinfo->bus_info, pdev ? pci_name(pdev) : "", drvinfo 121 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 122 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c drvinfo->n_stats = ARRAY_SIZE(aq_ethtool_stat_names) + drvinfo 124 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c drvinfo->testinfo_len = 0; drvinfo 125 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c drvinfo->regdump_len = regs_count; drvinfo 126 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c drvinfo->eedump_len = 0; drvinfo 219 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 223 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c strlcpy(drvinfo->driver, atl1c_driver_name, sizeof(drvinfo->driver)); drvinfo 224 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c strlcpy(drvinfo->version, atl1c_driver_version, drvinfo 225 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c sizeof(drvinfo->version)); drvinfo 226 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 227 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 305 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 309 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c strlcpy(drvinfo->driver, atl1e_driver_name, sizeof(drvinfo->driver)); drvinfo 310 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c strlcpy(drvinfo->version, atl1e_driver_version, drvinfo 311 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c sizeof(drvinfo->version)); drvinfo 312 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c strlcpy(drvinfo->fw_version, "L1e", sizeof(drvinfo->fw_version)); drvinfo 313 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 314 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 3342 drivers/net/ethernet/atheros/atlx/atl1.c struct ethtool_drvinfo *drvinfo) drvinfo 3346 drivers/net/ethernet/atheros/atlx/atl1.c strlcpy(drvinfo->driver, ATLX_DRIVER_NAME, sizeof(drvinfo->driver)); drvinfo 3347 drivers/net/ethernet/atheros/atlx/atl1.c strlcpy(drvinfo->version, ATLX_DRIVER_VERSION, drvinfo 3348 drivers/net/ethernet/atheros/atlx/atl1.c sizeof(drvinfo->version)); drvinfo 3349 drivers/net/ethernet/atheros/atlx/atl1.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 3350 drivers/net/ethernet/atheros/atlx/atl1.c sizeof(drvinfo->bus_info)); drvinfo 2009 drivers/net/ethernet/atheros/atlx/atl2.c struct ethtool_drvinfo *drvinfo) drvinfo 2013 drivers/net/ethernet/atheros/atlx/atl2.c strlcpy(drvinfo->driver, atl2_driver_name, sizeof(drvinfo->driver)); drvinfo 2014 drivers/net/ethernet/atheros/atlx/atl2.c strlcpy(drvinfo->version, atl2_driver_version, drvinfo 2015 drivers/net/ethernet/atheros/atlx/atl2.c sizeof(drvinfo->version)); drvinfo 2016 drivers/net/ethernet/atheros/atlx/atl2.c strlcpy(drvinfo->fw_version, "L2", sizeof(drvinfo->fw_version)); drvinfo 2017 drivers/net/ethernet/atheros/atlx/atl2.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 2018 drivers/net/ethernet/atheros/atlx/atl2.c sizeof(drvinfo->bus_info)); drvinfo 1304 drivers/net/ethernet/broadcom/bcm63xx_enet.c struct ethtool_drvinfo *drvinfo) drvinfo 1306 drivers/net/ethernet/broadcom/bcm63xx_enet.c strlcpy(drvinfo->driver, bcm_enet_driver_name, sizeof(drvinfo->driver)); drvinfo 1307 drivers/net/ethernet/broadcom/bcm63xx_enet.c strlcpy(drvinfo->version, bcm_enet_driver_version, drvinfo 1308 drivers/net/ethernet/broadcom/bcm63xx_enet.c sizeof(drvinfo->version)); drvinfo 1309 drivers/net/ethernet/broadcom/bcm63xx_enet.c strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); drvinfo 1310 drivers/net/ethernet/broadcom/bcm63xx_enet.c strlcpy(drvinfo->bus_info, "bcm63xx", sizeof(drvinfo->bus_info)); drvinfo 2530 drivers/net/ethernet/broadcom/bcm63xx_enet.c struct ethtool_drvinfo *drvinfo) drvinfo 2532 drivers/net/ethernet/broadcom/bcm63xx_enet.c strncpy(drvinfo->driver, bcm_enet_driver_name, 32); drvinfo 2533 drivers/net/ethernet/broadcom/bcm63xx_enet.c strncpy(drvinfo->version, bcm_enet_driver_version, 32); drvinfo 2534 drivers/net/ethernet/broadcom/bcm63xx_enet.c strncpy(drvinfo->fw_version, "N/A", 32); drvinfo 2535 drivers/net/ethernet/broadcom/bcm63xx_enet.c strncpy(drvinfo->bus_info, "bcm63xx", 32); drvinfo 5631 drivers/net/ethernet/broadcom/cnic.c struct ethtool_drvinfo drvinfo; drvinfo 5635 drivers/net/ethernet/broadcom/cnic.c memset(&drvinfo, 0, sizeof(drvinfo)); drvinfo 5636 drivers/net/ethernet/broadcom/cnic.c dev->ethtool_ops->get_drvinfo(dev, &drvinfo); drvinfo 5638 drivers/net/ethernet/broadcom/cnic.c if (!strcmp(drvinfo.driver, "bnx2")) drvinfo 5640 drivers/net/ethernet/broadcom/cnic.c if (!strcmp(drvinfo.driver, "bnx2x")) drvinfo 139 drivers/net/ethernet/brocade/bna/bnad_debugfs.c struct bnad_drvinfo *drvinfo = (struct bnad_drvinfo *) buffer; drvinfo 146 drivers/net/ethernet/brocade/bna/bnad_debugfs.c bfa_nw_ioc_get_attr(&bnad->bna.ioceth.ioc, &drvinfo->ioc_attr); drvinfo 154 drivers/net/ethernet/brocade/bna/bnad_debugfs.c ret = bfa_nw_cee_get_attr(&bnad->bna.cee, &drvinfo->cee_attr, drvinfo 162 drivers/net/ethernet/brocade/bna/bnad_debugfs.c drvinfo->cee_status = fcomp.comp_status; drvinfo 168 drivers/net/ethernet/brocade/bna/bnad_debugfs.c ret = bfa_nw_flash_get_attr(&bnad->bna.flash, &drvinfo->flash_attr, drvinfo 176 drivers/net/ethernet/brocade/bna/bnad_debugfs.c drvinfo->flash_status = fcomp.comp_status; drvinfo 280 drivers/net/ethernet/brocade/bna/bnad_ethtool.c bnad_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) drvinfo 286 drivers/net/ethernet/brocade/bna/bnad_ethtool.c strlcpy(drvinfo->driver, BNAD_NAME, sizeof(drvinfo->driver)); drvinfo 287 drivers/net/ethernet/brocade/bna/bnad_ethtool.c strlcpy(drvinfo->version, BNAD_VERSION, sizeof(drvinfo->version)); drvinfo 295 drivers/net/ethernet/brocade/bna/bnad_ethtool.c strlcpy(drvinfo->fw_version, ioc_attr->adapter_attr.fw_ver, drvinfo 296 drivers/net/ethernet/brocade/bna/bnad_ethtool.c sizeof(drvinfo->fw_version)); drvinfo 300 drivers/net/ethernet/brocade/bna/bnad_ethtool.c strlcpy(drvinfo->bus_info, pci_name(bnad->pcidev), drvinfo 301 drivers/net/ethernet/brocade/bna/bnad_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 435 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c lio_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) drvinfo 443 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c memset(drvinfo, 0, sizeof(struct ethtool_drvinfo)); drvinfo 444 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c strcpy(drvinfo->driver, "liquidio"); drvinfo 445 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c strcpy(drvinfo->version, LIQUIDIO_VERSION); drvinfo 446 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c strncpy(drvinfo->fw_version, oct->fw_info.liquidio_firmware_version, drvinfo 448 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c strncpy(drvinfo->bus_info, pci_name(oct->pci_dev), 32); drvinfo 452 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c lio_get_vf_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) drvinfo 460 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c memset(drvinfo, 0, sizeof(struct ethtool_drvinfo)); drvinfo 461 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c strcpy(drvinfo->driver, "liquidio_vf"); drvinfo 462 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c strcpy(drvinfo->version, LIQUIDIO_VERSION); drvinfo 463 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c strncpy(drvinfo->fw_version, oct->fw_info.liquidio_firmware_version, drvinfo 465 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c strncpy(drvinfo->bus_info, pci_name(oct->pci_dev), 32); drvinfo 1554 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c struct ethtool_drvinfo *drvinfo) drvinfo 1558 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c strlcpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver)); drvinfo 1559 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c strlcpy(drvinfo->version, DRV_VERSION, sizeof(drvinfo->version)); drvinfo 1560 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c strlcpy(drvinfo->bus_info, pci_name(to_pci_dev(dev->dev.parent)), drvinfo 1561 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c sizeof(drvinfo->bus_info)); drvinfo 1562 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 135 drivers/net/ethernet/cisco/enic/enic_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 149 drivers/net/ethernet/cisco/enic/enic_ethtool.c strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); drvinfo 150 drivers/net/ethernet/cisco/enic/enic_ethtool.c strlcpy(drvinfo->version, DRV_VERSION, sizeof(drvinfo->version)); drvinfo 151 drivers/net/ethernet/cisco/enic/enic_ethtool.c strlcpy(drvinfo->fw_version, fw_info->fw_version, drvinfo 152 drivers/net/ethernet/cisco/enic/enic_ethtool.c sizeof(drvinfo->fw_version)); drvinfo 153 drivers/net/ethernet/cisco/enic/enic_ethtool.c strlcpy(drvinfo->bus_info, pci_name(enic->pdev), drvinfo 154 drivers/net/ethernet/cisco/enic/enic_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 219 drivers/net/ethernet/emulex/benet/be_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 223 drivers/net/ethernet/emulex/benet/be_ethtool.c strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); drvinfo 224 drivers/net/ethernet/emulex/benet/be_ethtool.c strlcpy(drvinfo->version, DRV_VER, sizeof(drvinfo->version)); drvinfo 226 drivers/net/ethernet/emulex/benet/be_ethtool.c strlcpy(drvinfo->fw_version, adapter->fw_ver, drvinfo 227 drivers/net/ethernet/emulex/benet/be_ethtool.c sizeof(drvinfo->fw_version)); drvinfo 229 drivers/net/ethernet/emulex/benet/be_ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 232 drivers/net/ethernet/emulex/benet/be_ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 233 drivers/net/ethernet/emulex/benet/be_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 109 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 113 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c strlcpy(drvinfo->driver, KBUILD_MODNAME, drvinfo 114 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c sizeof(drvinfo->driver)); drvinfo 115 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c len = snprintf(drvinfo->version, sizeof(drvinfo->version), drvinfo 117 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c len = snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 120 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c if (len >= sizeof(drvinfo->fw_version)) { drvinfo 124 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c strlcpy(drvinfo->bus_info, dev_name(net_dev->dev.parent->parent), drvinfo 125 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 69 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 73 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c strlcpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver)); drvinfo 75 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 78 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c strlcpy(drvinfo->bus_info, dev_name(net_dev->dev.parent->parent), drvinfo 79 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c sizeof(drvinfo->bus_info)); drvinfo 164 drivers/net/ethernet/freescale/gianfar_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 166 drivers/net/ethernet/freescale/gianfar_ethtool.c strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); drvinfo 167 drivers/net/ethernet/freescale/gianfar_ethtool.c strlcpy(drvinfo->version, gfar_driver_version, drvinfo 168 drivers/net/ethernet/freescale/gianfar_ethtool.c sizeof(drvinfo->version)); drvinfo 169 drivers/net/ethernet/freescale/gianfar_ethtool.c strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); drvinfo 170 drivers/net/ethernet/freescale/gianfar_ethtool.c strlcpy(drvinfo->bus_info, "N/A", sizeof(drvinfo->bus_info)); drvinfo 334 drivers/net/ethernet/freescale/ucc_geth_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 336 drivers/net/ethernet/freescale/ucc_geth_ethtool.c strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); drvinfo 337 drivers/net/ethernet/freescale/ucc_geth_ethtool.c strlcpy(drvinfo->version, DRV_VERSION, sizeof(drvinfo->version)); drvinfo 338 drivers/net/ethernet/freescale/ucc_geth_ethtool.c strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); drvinfo 339 drivers/net/ethernet/freescale/ucc_geth_ethtool.c strlcpy(drvinfo->bus_info, "QUICC ENGINE", sizeof(drvinfo->bus_info)); drvinfo 841 drivers/net/ethernet/hisilicon/hip04_eth.c struct ethtool_drvinfo *drvinfo) drvinfo 843 drivers/net/ethernet/hisilicon/hip04_eth.c strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); drvinfo 844 drivers/net/ethernet/hisilicon/hip04_eth.c strlcpy(drvinfo->version, DRV_VERSION, sizeof(drvinfo->version)); drvinfo 640 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 644 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c strncpy(drvinfo->version, HNAE_DRIVER_VERSION, drvinfo 645 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c sizeof(drvinfo->version)); drvinfo 646 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c drvinfo->version[sizeof(drvinfo->version) - 1] = '\0'; drvinfo 648 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c strncpy(drvinfo->driver, HNAE_DRIVER_NAME, sizeof(drvinfo->driver)); drvinfo 649 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c drvinfo->driver[sizeof(drvinfo->driver) - 1] = '\0'; drvinfo 651 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c strncpy(drvinfo->bus_info, priv->dev->bus->name, drvinfo 652 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 653 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c drvinfo->bus_info[ETHTOOL_BUSINFO_LEN - 1] = '\0'; drvinfo 655 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c strncpy(drvinfo->fw_version, "N/A", ETHTOOL_FWVERS_LEN); drvinfo 656 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c drvinfo->eedump_len = 0; drvinfo 539 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 550 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c strncpy(drvinfo->version, hns3_driver_version, drvinfo 551 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c sizeof(drvinfo->version)); drvinfo 552 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c drvinfo->version[sizeof(drvinfo->version) - 1] = '\0'; drvinfo 554 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c strncpy(drvinfo->driver, h->pdev->driver->name, drvinfo 555 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c sizeof(drvinfo->driver)); drvinfo 556 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c drvinfo->driver[sizeof(drvinfo->driver) - 1] = '\0'; drvinfo 558 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c strncpy(drvinfo->bus_info, pci_name(h->pdev), drvinfo 559 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 560 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c drvinfo->bus_info[ETHTOOL_BUSINFO_LEN - 1] = '\0'; drvinfo 564 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 530 drivers/net/ethernet/intel/e1000/e1000_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 534 drivers/net/ethernet/intel/e1000/e1000_ethtool.c strlcpy(drvinfo->driver, e1000_driver_name, drvinfo 535 drivers/net/ethernet/intel/e1000/e1000_ethtool.c sizeof(drvinfo->driver)); drvinfo 536 drivers/net/ethernet/intel/e1000/e1000_ethtool.c strlcpy(drvinfo->version, e1000_driver_version, drvinfo 537 drivers/net/ethernet/intel/e1000/e1000_ethtool.c sizeof(drvinfo->version)); drvinfo 539 drivers/net/ethernet/intel/e1000/e1000_ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 540 drivers/net/ethernet/intel/e1000/e1000_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 631 drivers/net/ethernet/intel/e1000e/ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 635 drivers/net/ethernet/intel/e1000e/ethtool.c strlcpy(drvinfo->driver, e1000e_driver_name, sizeof(drvinfo->driver)); drvinfo 636 drivers/net/ethernet/intel/e1000e/ethtool.c strlcpy(drvinfo->version, e1000e_driver_version, drvinfo 637 drivers/net/ethernet/intel/e1000e/ethtool.c sizeof(drvinfo->version)); drvinfo 642 drivers/net/ethernet/intel/e1000e/ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 648 drivers/net/ethernet/intel/e1000e/ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 649 drivers/net/ethernet/intel/e1000e/ethtool.c sizeof(drvinfo->bus_info)); drvinfo 1889 drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 1895 drivers/net/ethernet/intel/i40e/i40e_ethtool.c strlcpy(drvinfo->driver, i40e_driver_name, sizeof(drvinfo->driver)); drvinfo 1896 drivers/net/ethernet/intel/i40e/i40e_ethtool.c strlcpy(drvinfo->version, i40e_driver_version_str, drvinfo 1897 drivers/net/ethernet/intel/i40e/i40e_ethtool.c sizeof(drvinfo->version)); drvinfo 1898 drivers/net/ethernet/intel/i40e/i40e_ethtool.c strlcpy(drvinfo->fw_version, i40e_nvm_version_str(&pf->hw), drvinfo 1899 drivers/net/ethernet/intel/i40e/i40e_ethtool.c sizeof(drvinfo->fw_version)); drvinfo 1900 drivers/net/ethernet/intel/i40e/i40e_ethtool.c strlcpy(drvinfo->bus_info, pci_name(pf->pdev), drvinfo 1901 drivers/net/ethernet/intel/i40e/i40e_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 1902 drivers/net/ethernet/intel/i40e/i40e_ethtool.c drvinfo->n_priv_flags = I40E_PRIV_FLAGS_STR_LEN; drvinfo 1904 drivers/net/ethernet/intel/i40e/i40e_ethtool.c drvinfo->n_priv_flags += I40E_GL_PRIV_FLAGS_STR_LEN; drvinfo 558 drivers/net/ethernet/intel/iavf/iavf_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 562 drivers/net/ethernet/intel/iavf/iavf_ethtool.c strlcpy(drvinfo->driver, iavf_driver_name, 32); drvinfo 563 drivers/net/ethernet/intel/iavf/iavf_ethtool.c strlcpy(drvinfo->version, iavf_driver_version, 32); drvinfo 564 drivers/net/ethernet/intel/iavf/iavf_ethtool.c strlcpy(drvinfo->fw_version, "N/A", 4); drvinfo 565 drivers/net/ethernet/intel/iavf/iavf_ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), 32); drvinfo 566 drivers/net/ethernet/intel/iavf/iavf_ethtool.c drvinfo->n_priv_flags = IAVF_PRIV_FLAGS_STR_LEN; drvinfo 164 drivers/net/ethernet/intel/ice/ice_ethtool.c ice_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) drvinfo 170 drivers/net/ethernet/intel/ice/ice_ethtool.c strlcpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver)); drvinfo 171 drivers/net/ethernet/intel/ice/ice_ethtool.c strlcpy(drvinfo->version, ice_drv_ver, sizeof(drvinfo->version)); drvinfo 172 drivers/net/ethernet/intel/ice/ice_ethtool.c strlcpy(drvinfo->fw_version, ice_nvm_version_str(&pf->hw), drvinfo 173 drivers/net/ethernet/intel/ice/ice_ethtool.c sizeof(drvinfo->fw_version)); drvinfo 174 drivers/net/ethernet/intel/ice/ice_ethtool.c strlcpy(drvinfo->bus_info, pci_name(pf->pdev), drvinfo 175 drivers/net/ethernet/intel/ice/ice_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 176 drivers/net/ethernet/intel/ice/ice_ethtool.c drvinfo->n_priv_flags = ICE_PRIV_FLAG_ARRAY_SIZE; drvinfo 840 drivers/net/ethernet/intel/igb/igb_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 844 drivers/net/ethernet/intel/igb/igb_ethtool.c strlcpy(drvinfo->driver, igb_driver_name, sizeof(drvinfo->driver)); drvinfo 845 drivers/net/ethernet/intel/igb/igb_ethtool.c strlcpy(drvinfo->version, igb_driver_version, sizeof(drvinfo->version)); drvinfo 850 drivers/net/ethernet/intel/igb/igb_ethtool.c strlcpy(drvinfo->fw_version, adapter->fw_version, drvinfo 851 drivers/net/ethernet/intel/igb/igb_ethtool.c sizeof(drvinfo->fw_version)); drvinfo 852 drivers/net/ethernet/intel/igb/igb_ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 853 drivers/net/ethernet/intel/igb/igb_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 855 drivers/net/ethernet/intel/igb/igb_ethtool.c drvinfo->n_priv_flags = IGB_PRIV_FLAGS_STR_LEN; drvinfo 168 drivers/net/ethernet/intel/igbvf/ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 172 drivers/net/ethernet/intel/igbvf/ethtool.c strlcpy(drvinfo->driver, igbvf_driver_name, sizeof(drvinfo->driver)); drvinfo 173 drivers/net/ethernet/intel/igbvf/ethtool.c strlcpy(drvinfo->version, igbvf_driver_version, drvinfo 174 drivers/net/ethernet/intel/igbvf/ethtool.c sizeof(drvinfo->version)); drvinfo 175 drivers/net/ethernet/intel/igbvf/ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 176 drivers/net/ethernet/intel/igbvf/ethtool.c sizeof(drvinfo->bus_info)); drvinfo 127 drivers/net/ethernet/intel/igc/igc_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 131 drivers/net/ethernet/intel/igc/igc_ethtool.c strlcpy(drvinfo->driver, igc_driver_name, sizeof(drvinfo->driver)); drvinfo 132 drivers/net/ethernet/intel/igc/igc_ethtool.c strlcpy(drvinfo->version, igc_driver_version, sizeof(drvinfo->version)); drvinfo 135 drivers/net/ethernet/intel/igc/igc_ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 136 drivers/net/ethernet/intel/igc/igc_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 138 drivers/net/ethernet/intel/igc/igc_ethtool.c drvinfo->n_priv_flags = IGC_PRIV_FLAGS_STR_LEN; drvinfo 455 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 459 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c strlcpy(drvinfo->driver, ixgb_driver_name, drvinfo 460 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c sizeof(drvinfo->driver)); drvinfo 461 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c strlcpy(drvinfo->version, ixgb_driver_version, drvinfo 462 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c sizeof(drvinfo->version)); drvinfo 463 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 464 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 1002 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 1006 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c strlcpy(drvinfo->driver, ixgbe_driver_name, sizeof(drvinfo->driver)); drvinfo 1007 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c strlcpy(drvinfo->version, ixgbe_driver_version, drvinfo 1008 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c sizeof(drvinfo->version)); drvinfo 1010 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c strlcpy(drvinfo->fw_version, adapter->eeprom_id, drvinfo 1011 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c sizeof(drvinfo->fw_version)); drvinfo 1013 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 1014 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 1016 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c drvinfo->n_priv_flags = IXGBE_PRIV_FLAGS_STR_LEN; drvinfo 216 drivers/net/ethernet/intel/ixgbevf/ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 220 drivers/net/ethernet/intel/ixgbevf/ethtool.c strlcpy(drvinfo->driver, ixgbevf_driver_name, sizeof(drvinfo->driver)); drvinfo 221 drivers/net/ethernet/intel/ixgbevf/ethtool.c strlcpy(drvinfo->version, ixgbevf_driver_version, drvinfo 222 drivers/net/ethernet/intel/ixgbevf/ethtool.c sizeof(drvinfo->version)); drvinfo 223 drivers/net/ethernet/intel/ixgbevf/ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 224 drivers/net/ethernet/intel/ixgbevf/ethtool.c sizeof(drvinfo->bus_info)); drvinfo 226 drivers/net/ethernet/intel/ixgbevf/ethtool.c drvinfo->n_priv_flags = IXGBEVF_PRIV_FLAGS_STR_LEN; drvinfo 1608 drivers/net/ethernet/marvell/mv643xx_eth.c struct ethtool_drvinfo *drvinfo) drvinfo 1610 drivers/net/ethernet/marvell/mv643xx_eth.c strlcpy(drvinfo->driver, mv643xx_eth_driver_name, drvinfo 1611 drivers/net/ethernet/marvell/mv643xx_eth.c sizeof(drvinfo->driver)); drvinfo 1612 drivers/net/ethernet/marvell/mv643xx_eth.c strlcpy(drvinfo->version, mv643xx_eth_driver_version, drvinfo 1613 drivers/net/ethernet/marvell/mv643xx_eth.c sizeof(drvinfo->version)); drvinfo 1614 drivers/net/ethernet/marvell/mv643xx_eth.c strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); drvinfo 1615 drivers/net/ethernet/marvell/mv643xx_eth.c strlcpy(drvinfo->bus_info, "platform", sizeof(drvinfo->bus_info)); drvinfo 4017 drivers/net/ethernet/marvell/mvneta.c struct ethtool_drvinfo *drvinfo) drvinfo 4019 drivers/net/ethernet/marvell/mvneta.c strlcpy(drvinfo->driver, MVNETA_DRIVER_NAME, drvinfo 4020 drivers/net/ethernet/marvell/mvneta.c sizeof(drvinfo->driver)); drvinfo 4021 drivers/net/ethernet/marvell/mvneta.c strlcpy(drvinfo->version, MVNETA_DRIVER_VERSION, drvinfo 4022 drivers/net/ethernet/marvell/mvneta.c sizeof(drvinfo->version)); drvinfo 4023 drivers/net/ethernet/marvell/mvneta.c strlcpy(drvinfo->bus_info, dev_name(&dev->dev), drvinfo 4024 drivers/net/ethernet/marvell/mvneta.c sizeof(drvinfo->bus_info)); drvinfo 4085 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct ethtool_drvinfo *drvinfo) drvinfo 4087 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c strlcpy(drvinfo->driver, MVPP2_DRIVER_NAME, drvinfo 4088 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c sizeof(drvinfo->driver)); drvinfo 4089 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c strlcpy(drvinfo->version, MVPP2_DRIVER_VERSION, drvinfo 4090 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c sizeof(drvinfo->version)); drvinfo 4091 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c strlcpy(drvinfo->bus_info, dev_name(&dev->dev), drvinfo 4092 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c sizeof(drvinfo->bus_info)); drvinfo 86 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c mlx4_en_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *drvinfo) drvinfo 91 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); drvinfo 92 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c strlcpy(drvinfo->version, DRV_VERSION, drvinfo 93 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c sizeof(drvinfo->version)); drvinfo 94 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 99 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c strlcpy(drvinfo->bus_info, pci_name(mdev->dev->persist->pdev), drvinfo 100 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 1135 drivers/net/ethernet/mellanox/mlx5/core/en.h struct ethtool_drvinfo *drvinfo); drvinfo 39 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 43 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c strlcpy(drvinfo->driver, DRIVER_NAME, sizeof(drvinfo->driver)); drvinfo 44 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c strlcpy(drvinfo->version, DRIVER_VERSION, drvinfo 45 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c sizeof(drvinfo->version)); drvinfo 46 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 50 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c strlcpy(drvinfo->bus_info, dev_name(mdev->device), drvinfo 51 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 55 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 59 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c mlx5e_ethtool_get_drvinfo(priv, drvinfo); drvinfo 70 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c struct ethtool_drvinfo *drvinfo) drvinfo 75 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c strlcpy(drvinfo->driver, mlx5e_rep_driver_name, drvinfo 76 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c sizeof(drvinfo->driver)); drvinfo 77 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c strlcpy(drvinfo->version, UTS_RELEASE, sizeof(drvinfo->version)); drvinfo 78 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 85 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c struct ethtool_drvinfo *drvinfo) drvinfo 89 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c mlx5e_rep_get_drvinfo(dev, drvinfo); drvinfo 90 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c strlcpy(drvinfo->bus_info, pci_name(priv->mdev->pdev), drvinfo 91 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c sizeof(drvinfo->bus_info)); drvinfo 37 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 41 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c mlx5e_ethtool_get_drvinfo(priv, drvinfo); drvinfo 42 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c strlcpy(drvinfo->driver, DRIVER_NAME "[ib_ipoib]", drvinfo 43 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c sizeof(drvinfo->driver)); drvinfo 71 drivers/net/ethernet/mellanox/mlxsw/minimal.c struct ethtool_drvinfo *drvinfo) drvinfo 76 drivers/net/ethernet/mellanox/mlxsw/minimal.c strlcpy(drvinfo->driver, mlxsw_m->bus_info->device_kind, drvinfo 77 drivers/net/ethernet/mellanox/mlxsw/minimal.c sizeof(drvinfo->driver)); drvinfo 78 drivers/net/ethernet/mellanox/mlxsw/minimal.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 83 drivers/net/ethernet/mellanox/mlxsw/minimal.c strlcpy(drvinfo->bus_info, mlxsw_m->bus_info->device_name, drvinfo 84 drivers/net/ethernet/mellanox/mlxsw/minimal.c sizeof(drvinfo->bus_info)); drvinfo 1928 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct ethtool_drvinfo *drvinfo) drvinfo 1933 drivers/net/ethernet/mellanox/mlxsw/spectrum.c strlcpy(drvinfo->driver, mlxsw_sp->bus_info->device_kind, drvinfo 1934 drivers/net/ethernet/mellanox/mlxsw/spectrum.c sizeof(drvinfo->driver)); drvinfo 1935 drivers/net/ethernet/mellanox/mlxsw/spectrum.c strlcpy(drvinfo->version, mlxsw_sp_driver_version, drvinfo 1936 drivers/net/ethernet/mellanox/mlxsw/spectrum.c sizeof(drvinfo->version)); drvinfo 1937 drivers/net/ethernet/mellanox/mlxsw/spectrum.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 1942 drivers/net/ethernet/mellanox/mlxsw/spectrum.c strlcpy(drvinfo->bus_info, mlxsw_sp->bus_info->device_name, drvinfo 1943 drivers/net/ethernet/mellanox/mlxsw/spectrum.c sizeof(drvinfo->bus_info)); drvinfo 399 drivers/net/ethernet/mellanox/mlxsw/switchx2.c struct ethtool_drvinfo *drvinfo) drvinfo 404 drivers/net/ethernet/mellanox/mlxsw/switchx2.c strlcpy(drvinfo->driver, mlxsw_sx_driver_name, sizeof(drvinfo->driver)); drvinfo 405 drivers/net/ethernet/mellanox/mlxsw/switchx2.c strlcpy(drvinfo->version, mlxsw_sx_driver_version, drvinfo 406 drivers/net/ethernet/mellanox/mlxsw/switchx2.c sizeof(drvinfo->version)); drvinfo 407 drivers/net/ethernet/mellanox/mlxsw/switchx2.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 412 drivers/net/ethernet/mellanox/mlxsw/switchx2.c strlcpy(drvinfo->bus_info, mlxsw_sx->bus_info->device_name, drvinfo 413 drivers/net/ethernet/mellanox/mlxsw/switchx2.c sizeof(drvinfo->bus_info)); drvinfo 179 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c const char *vnic_version, struct ethtool_drvinfo *drvinfo) drvinfo 183 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c strlcpy(drvinfo->driver, pdev->driver->name, sizeof(drvinfo->driver)); drvinfo 184 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c strlcpy(drvinfo->version, nfp_driver_version, sizeof(drvinfo->version)); drvinfo 187 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 193 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_net_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) drvinfo 201 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c strlcpy(drvinfo->bus_info, pci_name(nn->pdev), drvinfo 202 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 204 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_get_drvinfo(nn->app, nn->pdev, vnic_version, drvinfo); drvinfo 208 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_app_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) drvinfo 212 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c strlcpy(drvinfo->bus_info, pci_name(app->pdev), drvinfo 213 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 214 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_get_drvinfo(app, app->pdev, "*", drvinfo); drvinfo 166 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 170 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c strlcpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver)); drvinfo 171 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c strlcpy(drvinfo->version, pch_driver_version, sizeof(drvinfo->version)); drvinfo 172 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 173 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 83 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 88 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c strlcpy(drvinfo->driver, IONIC_DRV_NAME, sizeof(drvinfo->driver)); drvinfo 89 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c strlcpy(drvinfo->version, IONIC_DRV_VERSION, sizeof(drvinfo->version)); drvinfo 90 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c strlcpy(drvinfo->fw_version, ionic->idev.dev_info.fw_version, drvinfo 91 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c sizeof(drvinfo->fw_version)); drvinfo 92 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c strlcpy(drvinfo->bus_info, ionic_bus_info(ionic), drvinfo 93 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 61 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c netxen_nic_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *drvinfo) drvinfo 68 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c strlcpy(drvinfo->driver, netxen_nic_driver_name, drvinfo 69 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c sizeof(drvinfo->driver)); drvinfo 70 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c strlcpy(drvinfo->version, NETXEN_NIC_LINUX_VERSIONID, drvinfo 71 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c sizeof(drvinfo->version)); drvinfo 75 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 78 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 79 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 235 drivers/net/ethernet/qlogic/qede/qede_main.c struct ethtool_drvinfo drvinfo; drvinfo 245 drivers/net/ethernet/qlogic/qede/qede_main.c memset(&drvinfo, 0, sizeof(drvinfo)); drvinfo 246 drivers/net/ethernet/qlogic/qede/qede_main.c ndev->ethtool_ops->get_drvinfo(ndev, &drvinfo); drvinfo 247 drivers/net/ethernet/qlogic/qede/qede_main.c if (strcmp(drvinfo.driver, "qede")) drvinfo 1736 drivers/net/ethernet/qlogic/qla3xxx.c struct ethtool_drvinfo *drvinfo) drvinfo 1739 drivers/net/ethernet/qlogic/qla3xxx.c strlcpy(drvinfo->driver, ql3xxx_driver_name, sizeof(drvinfo->driver)); drvinfo 1740 drivers/net/ethernet/qlogic/qla3xxx.c strlcpy(drvinfo->version, ql3xxx_driver_version, drvinfo 1741 drivers/net/ethernet/qlogic/qla3xxx.c sizeof(drvinfo->version)); drvinfo 1742 drivers/net/ethernet/qlogic/qla3xxx.c strlcpy(drvinfo->bus_info, pci_name(qdev->pdev), drvinfo 1743 drivers/net/ethernet/qlogic/qla3xxx.c sizeof(drvinfo->bus_info)); drvinfo 271 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *drvinfo) drvinfo 278 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 281 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 282 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 283 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c strlcpy(drvinfo->driver, qlcnic_driver_name, sizeof(drvinfo->driver)); drvinfo 284 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c strlcpy(drvinfo->version, QLCNIC_LINUX_VERSIONID, drvinfo 285 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c sizeof(drvinfo->version)); drvinfo 2265 drivers/net/ethernet/rocker/rocker_main.c struct ethtool_drvinfo *drvinfo) drvinfo 2267 drivers/net/ethernet/rocker/rocker_main.c strlcpy(drvinfo->driver, rocker_driver_name, sizeof(drvinfo->driver)); drvinfo 2268 drivers/net/ethernet/rocker/rocker_main.c strlcpy(drvinfo->version, UTS_RELEASE, sizeof(drvinfo->version)); drvinfo 223 drivers/net/ethernet/smsc/smsc9420.c struct ethtool_drvinfo *drvinfo) drvinfo 227 drivers/net/ethernet/smsc/smsc9420.c strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); drvinfo 228 drivers/net/ethernet/smsc/smsc9420.c strlcpy(drvinfo->bus_info, pci_name(pd->pdev), drvinfo 229 drivers/net/ethernet/smsc/smsc9420.c sizeof(drvinfo->bus_info)); drvinfo 230 drivers/net/ethernet/smsc/smsc9420.c strlcpy(drvinfo->version, DRV_VERSION, sizeof(drvinfo->version)); drvinfo 99 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 105 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c strlcpy(drvinfo->driver, pdata->drv_name, sizeof(drvinfo->driver)); drvinfo 106 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c strlcpy(drvinfo->version, pdata->drv_ver, sizeof(drvinfo->version)); drvinfo 107 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c strlcpy(drvinfo->bus_info, dev_name(pdata->dev), drvinfo 108 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c sizeof(drvinfo->bus_info)); drvinfo 119 drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 2153 drivers/net/ethernet/tehuti/tehuti.c bdx_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) drvinfo 2157 drivers/net/ethernet/tehuti/tehuti.c strlcpy(drvinfo->driver, BDX_DRV_NAME, sizeof(drvinfo->driver)); drvinfo 2158 drivers/net/ethernet/tehuti/tehuti.c strlcpy(drvinfo->version, BDX_DRV_VERSION, sizeof(drvinfo->version)); drvinfo 2159 drivers/net/ethernet/tehuti/tehuti.c strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); drvinfo 2160 drivers/net/ethernet/tehuti/tehuti.c strlcpy(drvinfo->bus_info, pci_name(priv->pdev), drvinfo 2161 drivers/net/ethernet/tehuti/tehuti.c sizeof(drvinfo->bus_info)); drvinfo 60 drivers/net/ethernet/toshiba/spider_net_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 66 drivers/net/ethernet/toshiba/spider_net_ethtool.c strlcpy(drvinfo->driver, spider_net_driver_name, drvinfo 67 drivers/net/ethernet/toshiba/spider_net_ethtool.c sizeof(drvinfo->driver)); drvinfo 68 drivers/net/ethernet/toshiba/spider_net_ethtool.c strlcpy(drvinfo->version, VERSION, sizeof(drvinfo->version)); drvinfo 69 drivers/net/ethernet/toshiba/spider_net_ethtool.c strlcpy(drvinfo->fw_version, "no information", drvinfo 70 drivers/net/ethernet/toshiba/spider_net_ethtool.c sizeof(drvinfo->fw_version)); drvinfo 71 drivers/net/ethernet/toshiba/spider_net_ethtool.c strlcpy(drvinfo->bus_info, pci_name(card->pdev), drvinfo 72 drivers/net/ethernet/toshiba/spider_net_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 147 drivers/net/fjes/fjes_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 154 drivers/net/fjes/fjes_ethtool.c strlcpy(drvinfo->driver, fjes_driver_name, sizeof(drvinfo->driver)); drvinfo 155 drivers/net/fjes/fjes_ethtool.c strlcpy(drvinfo->version, fjes_driver_version, drvinfo 156 drivers/net/fjes/fjes_ethtool.c sizeof(drvinfo->version)); drvinfo 158 drivers/net/fjes/fjes_ethtool.c strlcpy(drvinfo->fw_version, "none", sizeof(drvinfo->fw_version)); drvinfo 159 drivers/net/fjes/fjes_ethtool.c snprintf(drvinfo->bus_info, sizeof(drvinfo->bus_info), drvinfo 1085 drivers/net/geneve.c struct ethtool_drvinfo *drvinfo) drvinfo 1087 drivers/net/geneve.c strlcpy(drvinfo->version, GENEVE_NETDEV_VER, sizeof(drvinfo->version)); drvinfo 1088 drivers/net/geneve.c strlcpy(drvinfo->driver, "geneve", sizeof(drvinfo->driver)); drvinfo 390 drivers/net/hamradio/baycom_par.c .drvinfo = bc_drvinfo, drvinfo 472 drivers/net/hamradio/baycom_ser_fdx.c .drvinfo = bc_drvinfo, drvinfo 531 drivers/net/hamradio/baycom_ser_hdx.c .drvinfo = bc_drvinfo, drvinfo 389 drivers/net/ipvlan/ipvlan_main.c struct ethtool_drvinfo *drvinfo) drvinfo 391 drivers/net/ipvlan/ipvlan_main.c strlcpy(drvinfo->driver, IPVLAN_DRV, sizeof(drvinfo->driver)); drvinfo 392 drivers/net/ipvlan/ipvlan_main.c strlcpy(drvinfo->version, IPV_DRV_VER, sizeof(drvinfo->version)); drvinfo 1021 drivers/net/macvlan.c struct ethtool_drvinfo *drvinfo) drvinfo 1023 drivers/net/macvlan.c strlcpy(drvinfo->driver, "macvlan", sizeof(drvinfo->driver)); drvinfo 1024 drivers/net/macvlan.c strlcpy(drvinfo->version, "0.1", sizeof(drvinfo->version)); drvinfo 325 drivers/net/net_failover.c struct ethtool_drvinfo *drvinfo) drvinfo 327 drivers/net/net_failover.c strlcpy(drvinfo->driver, FAILOVER_NAME, sizeof(drvinfo->driver)); drvinfo 328 drivers/net/net_failover.c strlcpy(drvinfo->version, FAILOVER_VERSION, sizeof(drvinfo->version)); drvinfo 2065 drivers/net/team/team.c struct ethtool_drvinfo *drvinfo) drvinfo 2067 drivers/net/team/team.c strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); drvinfo 2068 drivers/net/team/team.c strlcpy(drvinfo->version, UTS_RELEASE, sizeof(drvinfo->version)); drvinfo 432 drivers/net/usb/mcs7830.c static void mcs7830_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *drvinfo) drvinfo 434 drivers/net/usb/mcs7830.c usbnet_get_drvinfo(net, drvinfo); drvinfo 204 drivers/net/vmxnet3/vmxnet3_ethtool.c vmxnet3_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) drvinfo 208 drivers/net/vmxnet3/vmxnet3_ethtool.c strlcpy(drvinfo->driver, vmxnet3_driver_name, sizeof(drvinfo->driver)); drvinfo 210 drivers/net/vmxnet3/vmxnet3_ethtool.c strlcpy(drvinfo->version, VMXNET3_DRIVER_VERSION_REPORT, drvinfo 211 drivers/net/vmxnet3/vmxnet3_ethtool.c sizeof(drvinfo->version)); drvinfo 213 drivers/net/vmxnet3/vmxnet3_ethtool.c strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), drvinfo 214 drivers/net/vmxnet3/vmxnet3_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 3182 drivers/net/vxlan.c struct ethtool_drvinfo *drvinfo) drvinfo 3184 drivers/net/vxlan.c strlcpy(drvinfo->version, VXLAN_VERSION, sizeof(drvinfo->version)); drvinfo 3185 drivers/net/vxlan.c strlcpy(drvinfo->driver, "vxlan", sizeof(drvinfo->driver)); drvinfo 2310 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct ethtool_drvinfo drvinfo; drvinfo 2335 drivers/scsi/bnx2fc/bnx2fc_fcoe.c memset(&drvinfo, 0, sizeof(drvinfo)); drvinfo 2336 drivers/scsi/bnx2fc/bnx2fc_fcoe.c phys_dev->ethtool_ops->get_drvinfo(phys_dev, &drvinfo); drvinfo 2337 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (strncmp(drvinfo.driver, "bnx2x", strlen("bnx2x"))) { drvinfo 33 drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 39 drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c strlcpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver)); drvinfo 45 drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c strlcpy(drvinfo->fw_version, "N/A", drvinfo 46 drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c sizeof(drvinfo->fw_version)); drvinfo 48 drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 51 drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c strlcpy(drvinfo->bus_info, dev_name(netdev->dev.parent->parent), drvinfo 52 drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c sizeof(drvinfo->bus_info)); drvinfo 412 drivers/staging/qlge/qlge_ethtool.c struct ethtool_drvinfo *drvinfo) drvinfo 415 drivers/staging/qlge/qlge_ethtool.c strlcpy(drvinfo->driver, qlge_driver_name, sizeof(drvinfo->driver)); drvinfo 416 drivers/staging/qlge/qlge_ethtool.c strlcpy(drvinfo->version, qlge_driver_version, drvinfo 417 drivers/staging/qlge/qlge_ethtool.c sizeof(drvinfo->version)); drvinfo 418 drivers/staging/qlge/qlge_ethtool.c snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), drvinfo 423 drivers/staging/qlge/qlge_ethtool.c strlcpy(drvinfo->bus_info, pci_name(qdev->pdev), drvinfo 424 drivers/staging/qlge/qlge_ethtool.c sizeof(drvinfo->bus_info)); drvinfo 76 include/linux/hdlcdrv.h const char *drvinfo; drvinfo 566 net/dsa/slave.c struct ethtool_drvinfo *drvinfo) drvinfo 568 net/dsa/slave.c strlcpy(drvinfo->driver, "dsa", sizeof(drvinfo->driver)); drvinfo 569 net/dsa/slave.c strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); drvinfo 570 net/dsa/slave.c strlcpy(drvinfo->bus_info, "platform", sizeof(drvinfo->bus_info));