Searched refs:kw_len (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 13534 unsigned int vpd_size, kw_len; in bnxt_vpd_read_info() local 13545 PCI_VPD_RO_KEYWORD_PARTNO, &kw_len); in bnxt_vpd_read_info() 13549 size = min_t(int, kw_len, BNXT_VPD_FLD_LEN - 1); in bnxt_vpd_read_info() 13555 &kw_len); in bnxt_vpd_read_info() 13559 size = min_t(int, kw_len, BNXT_VPD_FLD_LEN - 1); in bnxt_vpd_read_info()
|