Home
last modified time | relevance | path

Searched refs:vpd_size (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/sfc/
Defx.c904 unsigned int vpd_size, kw_len; in efx_probe_vpd_strings() local
908 vpd_data = pci_vpd_alloc(dev, &vpd_size); in efx_probe_vpd_strings()
914 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in efx_probe_vpd_strings()
921 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in efx_probe_vpd_strings()
/drivers/net/ethernet/sfc/falcon/
Defx.c2788 unsigned int vpd_size, kw_len; in ef4_probe_vpd_strings() local
2792 vpd_data = pci_vpd_alloc(dev, &vpd_size); in ef4_probe_vpd_strings()
2798 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in ef4_probe_vpd_strings()
2805 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in ef4_probe_vpd_strings()
/drivers/scsi/cxlflash/
Dmain.c1634 ssize_t vpd_size; in read_vpd() local
1643 vpd_size = cfg->ops->read_adapter_vpd(pdev, vpd_data, sizeof(vpd_data)); in read_vpd()
1644 if (unlikely(vpd_size <= 0)) { in read_vpd()
1646 __func__, vpd_size); in read_vpd()
1666 i = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in read_vpd()
/drivers/net/ethernet/marvell/
Dsky2.c4466 size_t vpd_size; in sky2_show_vpd() local
4473 vpd_size = 1 << ( ((reg2 & PCI_VPD_ROM_SZ) >> 14) + 8); in sky2_show_vpd()
4476 buf = kmalloc(vpd_size, GFP_KERNEL); in sky2_show_vpd()
4482 if (pci_read_vpd(hw->pdev, 0, vpd_size, buf) < 0) { in sky2_show_vpd()
4492 if (len == 0 || len > vpd_size - 4) { in sky2_show_vpd()
4500 while (offs < vpd_size - 4) { in sky2_show_vpd()
4506 if (offs + len + 3 >= vpd_size) in sky2_show_vpd()
/drivers/scsi/qla2xxx/
Dqla_attr.c580 ha->isp_ops->read_optrom(vha, ha->vpd, faddr, ha->vpd_size); in qla2x00_sysfs_read_vpd()
583 ha->isp_ops->read_optrom(vha, ha->vpd, faddr, ha->vpd_size); in qla2x00_sysfs_read_vpd()
585 return memory_read_from_buffer(buf, count, &off, ha->vpd, ha->vpd_size); in qla2x00_sysfs_read_vpd()
604 if (!capable(CAP_SYS_ADMIN) || off != 0 || count != ha->vpd_size || in qla2x00_sysfs_write_vpd()
Dqla_init.c7954 ha->vpd_size = FA_NVRAM_VPD_SIZE; in qla24xx_nvram_config()
9124 ha->vpd_size = FA_NVRAM_VPD_SIZE; in qla81xx_nvram_config()
9126 ha->vpd_size = FA_VPD_SIZE_82XX; in qla81xx_nvram_config()
9143 ha->isp_ops->read_optrom(vha, ha->vpd, faddr << 2, ha->vpd_size); in qla81xx_nvram_config()
Dqla_sup.c3571 uint8_t *end = pos + ha->vpd_size; in qla2xxx_get_vpd_field()
Dqla_def.h4356 uint16_t vpd_size; member
/drivers/scsi/lpfc/
Dlpfc_sli.c5801 uint8_t *vpd, uint32_t *vpd_size) in lpfc_sli4_read_rev() argument
5816 dma_size = *vpd_size; in lpfc_sli4_read_rev()
5850 if (mqe->un.read_rev.avail_vpd_len < *vpd_size) in lpfc_sli4_read_rev()
5851 *vpd_size = mqe->un.read_rev.avail_vpd_len; in lpfc_sli4_read_rev()
5853 memcpy(vpd, dmabuf->virt, *vpd_size); in lpfc_sli4_read_rev()
8325 uint32_t vpd_size; in lpfc_sli4_hba_setup() local
8369 vpd_size = SLI4_PAGE_SIZE; in lpfc_sli4_hba_setup()
8370 vpd = kzalloc(vpd_size, GFP_KERNEL); in lpfc_sli4_hba_setup()
8376 rc = lpfc_sli4_read_rev(phba, mboxq, vpd, &vpd_size); in lpfc_sli4_hba_setup()
8444 rc = lpfc_parse_vpd(phba, vpd, vpd_size); in lpfc_sli4_hba_setup()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c13187 unsigned int vpd_size, kw_len; in bnxt_vpd_read_info() local
13191 vpd_data = pci_vpd_alloc(pdev, &vpd_size); in bnxt_vpd_read_info()
13197 pos = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in bnxt_vpd_read_info()
13206 pos = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in bnxt_vpd_read_info()