Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/sfc/siena/
Defx.c885 unsigned int vpd_size, kw_len; in efx_probe_vpd_strings() local
889 vpd_data = pci_vpd_alloc(dev, &vpd_size); in efx_probe_vpd_strings()
895 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in efx_probe_vpd_strings()
902 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in efx_probe_vpd_strings()
/Linux-v6.6/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()
/Linux-v6.6/drivers/net/ethernet/sfc/falcon/
Defx.c2775 unsigned int vpd_size, kw_len; in ef4_probe_vpd_strings() local
2779 vpd_data = pci_vpd_alloc(dev, &vpd_size); in ef4_probe_vpd_strings()
2785 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in ef4_probe_vpd_strings()
2792 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in ef4_probe_vpd_strings()
/Linux-v6.6/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()
/Linux-v6.6/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.c7876 ha->vpd_size = FA_NVRAM_VPD_SIZE; in qla24xx_nvram_config()
9050 ha->vpd_size = FA_NVRAM_VPD_SIZE; in qla81xx_nvram_config()
9052 ha->vpd_size = FA_VPD_SIZE_82XX; in qla81xx_nvram_config()
9069 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.h4418 uint16_t vpd_size; member
/Linux-v6.6/drivers/scsi/lpfc/
Dlpfc_sli.c5876 uint8_t *vpd, uint32_t *vpd_size) in lpfc_sli4_read_rev() argument
5891 dma_size = *vpd_size; in lpfc_sli4_read_rev()
5925 if (mqe->un.read_rev.avail_vpd_len < *vpd_size) in lpfc_sli4_read_rev()
5926 *vpd_size = mqe->un.read_rev.avail_vpd_len; in lpfc_sli4_read_rev()
5928 memcpy(vpd, dmabuf->virt, *vpd_size); in lpfc_sli4_read_rev()
8453 uint32_t vpd_size; in lpfc_sli4_hba_setup() local
8498 vpd_size = SLI4_PAGE_SIZE; in lpfc_sli4_hba_setup()
8499 vpd = kzalloc(vpd_size, GFP_KERNEL); in lpfc_sli4_hba_setup()
8505 rc = lpfc_sli4_read_rev(phba, mboxq, vpd, &vpd_size); in lpfc_sli4_hba_setup()
8573 rc = lpfc_parse_vpd(phba, vpd, vpd_size); in lpfc_sli4_hba_setup()
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c13512 unsigned int vpd_size, kw_len; in bnxt_vpd_read_info() local
13516 vpd_data = pci_vpd_alloc(pdev, &vpd_size); in bnxt_vpd_read_info()
13522 pos = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in bnxt_vpd_read_info()
13531 pos = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in bnxt_vpd_read_info()