Searched refs:kw_len (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/sfc/siena/ |
D | efx.c | 885 unsigned int vpd_size, kw_len; in efx_probe_vpd_strings() local 896 PCI_VPD_RO_KEYWORD_PARTNO, &kw_len); in efx_probe_vpd_strings() 900 pci_info(dev, "Part Number : %.*s\n", kw_len, vpd_data + start); in efx_probe_vpd_strings() 903 PCI_VPD_RO_KEYWORD_SERIALNO, &kw_len); in efx_probe_vpd_strings() 907 efx->vpd_sn = kmemdup_nul(vpd_data + start, kw_len, GFP_KERNEL); in efx_probe_vpd_strings()
|
/Linux-v6.6/drivers/net/ethernet/sfc/ |
D | efx.c | 904 unsigned int vpd_size, kw_len; in efx_probe_vpd_strings() local 915 PCI_VPD_RO_KEYWORD_PARTNO, &kw_len); in efx_probe_vpd_strings() 919 pci_info(dev, "Part Number : %.*s\n", kw_len, vpd_data + start); in efx_probe_vpd_strings() 922 PCI_VPD_RO_KEYWORD_SERIALNO, &kw_len); in efx_probe_vpd_strings() 926 efx->vpd_sn = kmemdup_nul(vpd_data + start, kw_len, GFP_KERNEL); in efx_probe_vpd_strings()
|
/Linux-v6.6/drivers/net/ethernet/sfc/falcon/ |
D | efx.c | 2775 unsigned int vpd_size, kw_len; in ef4_probe_vpd_strings() local 2786 PCI_VPD_RO_KEYWORD_PARTNO, &kw_len); in ef4_probe_vpd_strings() 2790 pci_info(dev, "Part Number : %.*s\n", kw_len, vpd_data + start); in ef4_probe_vpd_strings() 2793 PCI_VPD_RO_KEYWORD_SERIALNO, &kw_len); in ef4_probe_vpd_strings() 2797 efx->vpd_sn = kmemdup_nul(vpd_data + start, kw_len, GFP_KERNEL); in ef4_probe_vpd_strings()
|
/Linux-v6.6/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 12210 unsigned int vpd_len, kw_len; in bnx2x_read_fwinfo() local 12221 PCI_VPD_RO_KEYWORD_MFR_ID, &kw_len); in bnx2x_read_fwinfo() 12222 if (rodi < 0 || kw_len != VENDOR_ID_LEN) in bnx2x_read_fwinfo() 12230 &kw_len); in bnx2x_read_fwinfo() 12231 if (rodi >= 0 && kw_len < sizeof(bp->fw_ver)) { in bnx2x_read_fwinfo() 12232 memcpy(bp->fw_ver, &vpd_data[rodi], kw_len); in bnx2x_read_fwinfo() 12233 bp->fw_ver[kw_len] = ' '; in bnx2x_read_fwinfo()
|
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 13512 unsigned int vpd_size, kw_len; in bnxt_vpd_read_info() local 13523 PCI_VPD_RO_KEYWORD_PARTNO, &kw_len); in bnxt_vpd_read_info() 13527 size = min_t(int, kw_len, BNXT_VPD_FLD_LEN - 1); in bnxt_vpd_read_info() 13533 &kw_len); in bnxt_vpd_read_info() 13537 size = min_t(int, kw_len, BNXT_VPD_FLD_LEN - 1); in bnxt_vpd_read_info()
|