Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Defx.c888 unsigned int vpd_size, kw_len; in efx_probe_vpd_strings() local
892 vpd_data = pci_vpd_alloc(dev, &vpd_size); in efx_probe_vpd_strings()
898 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in efx_probe_vpd_strings()
905 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in efx_probe_vpd_strings()
/linux-6.1.9/drivers/net/ethernet/sfc/
Defx.c906 unsigned int vpd_size, kw_len; in efx_probe_vpd_strings() local
910 vpd_data = pci_vpd_alloc(dev, &vpd_size); in efx_probe_vpd_strings()
916 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in efx_probe_vpd_strings()
923 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in efx_probe_vpd_strings()
/linux-6.1.9/drivers/net/ethernet/sfc/falcon/
Defx.c2778 unsigned int vpd_size, kw_len; in ef4_probe_vpd_strings() local
2782 vpd_data = pci_vpd_alloc(dev, &vpd_size); in ef4_probe_vpd_strings()
2788 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in ef4_probe_vpd_strings()
2795 start = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in ef4_probe_vpd_strings()
/linux-6.1.9/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-6.1.9/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.c7636 ha->vpd_size = FA_NVRAM_VPD_SIZE; in qla24xx_nvram_config()
8810 ha->vpd_size = FA_NVRAM_VPD_SIZE; in qla81xx_nvram_config()
8812 ha->vpd_size = FA_VPD_SIZE_82XX; in qla81xx_nvram_config()
8829 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.h4340 uint16_t vpd_size; member
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_sli.c5893 uint8_t *vpd, uint32_t *vpd_size) in lpfc_sli4_read_rev() argument
5908 dma_size = *vpd_size; in lpfc_sli4_read_rev()
5942 if (mqe->un.read_rev.avail_vpd_len < *vpd_size) in lpfc_sli4_read_rev()
5943 *vpd_size = mqe->un.read_rev.avail_vpd_len; in lpfc_sli4_read_rev()
5945 memcpy(vpd, dmabuf->virt, *vpd_size); in lpfc_sli4_read_rev()
8466 uint32_t vpd_size; in lpfc_sli4_hba_setup() local
8510 vpd_size = SLI4_PAGE_SIZE; in lpfc_sli4_hba_setup()
8511 vpd = kzalloc(vpd_size, GFP_KERNEL); in lpfc_sli4_hba_setup()
8517 rc = lpfc_sli4_read_rev(phba, mboxq, vpd, &vpd_size); in lpfc_sli4_hba_setup()
8585 rc = lpfc_parse_vpd(phba, vpd, vpd_size); in lpfc_sli4_hba_setup()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c13461 unsigned int vpd_size, kw_len; in bnxt_vpd_read_info() local
13465 vpd_data = pci_vpd_alloc(pdev, &vpd_size); in bnxt_vpd_read_info()
13471 pos = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in bnxt_vpd_read_info()
13480 pos = pci_vpd_find_ro_info_keyword(vpd_data, vpd_size, in bnxt_vpd_read_info()