Home
last modified time | relevance | path

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

12

/dports/emulators/qemu5/qemu-5.2.0/roms/skiboot/core/
H A Dvpd.c51 bool vpd_valid(const void *vvpd, size_t vpd_size) in vpd_valid() argument
57 while (i < vpd_size) in vpd_valid()
61 if (i >= vpd_size) in vpd_valid()
71 if (i >= vpd_size || vpd[i] != 0x78) in vpd_valid()
83 const void *vpd_find_record(const void *vpd, size_t vpd_size, in vpd_find_record() argument
86 const uint8_t *p = vpd, *end = vpd + vpd_size; in vpd_find_record()
137 const void *vpd_find(const void *vpd, size_t vpd_size, in vpd_find() argument
144 p = vpd_find_record(vpd, vpd_size, record, &rec_sz); in vpd_find()
/dports/emulators/qemu42/qemu-4.2.1/roms/skiboot/core/
H A Dvpd.c51 bool vpd_valid(const void *vvpd, size_t vpd_size) in vpd_valid() argument
57 while (i < vpd_size) in vpd_valid()
61 if (i >= vpd_size) in vpd_valid()
71 if (i >= vpd_size || vpd[i] != 0x78) in vpd_valid()
83 const void *vpd_find_record(const void *vpd, size_t vpd_size, in vpd_find_record() argument
86 const uint8_t *p = vpd, *end = vpd + vpd_size; in vpd_find_record()
137 const void *vpd_find(const void *vpd, size_t vpd_size, in vpd_find() argument
144 p = vpd_find_record(vpd, vpd_size, record, &rec_sz); in vpd_find()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/skiboot/core/
H A Dvpd.c51 bool vpd_valid(const void *vvpd, size_t vpd_size) in vpd_valid() argument
57 while (i < vpd_size) in vpd_valid()
61 if (i >= vpd_size) in vpd_valid()
71 if (i >= vpd_size || vpd[i] != 0x78) in vpd_valid()
83 const void *vpd_find_record(const void *vpd, size_t vpd_size, in vpd_find_record() argument
86 const uint8_t *p = vpd, *end = vpd + vpd_size; in vpd_find_record()
137 const void *vpd_find(const void *vpd, size_t vpd_size, in vpd_find() argument
144 p = vpd_find_record(vpd, vpd_size, record, &rec_sz); in vpd_find()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/skiboot/core/
H A Dvpd.c51 bool vpd_valid(const void *vvpd, size_t vpd_size) in vpd_valid() argument
57 while (i < vpd_size) in vpd_valid()
61 if (i >= vpd_size) in vpd_valid()
71 if (i >= vpd_size || vpd[i] != 0x78) in vpd_valid()
83 const void *vpd_find_record(const void *vpd, size_t vpd_size, in vpd_find_record() argument
86 const uint8_t *p = vpd, *end = vpd + vpd_size; in vpd_find_record()
137 const void *vpd_find(const void *vpd, size_t vpd_size, in vpd_find() argument
144 p = vpd_find_record(vpd, vpd_size, record, &rec_sz); in vpd_find()
/dports/emulators/qemu/qemu-6.2.0/roms/skiboot/core/
H A Dvpd.c42 bool vpd_valid(const void *vvpd, size_t vpd_size) in vpd_valid() argument
48 while (i < vpd_size) in vpd_valid()
52 if (i >= vpd_size) in vpd_valid()
62 if (i >= vpd_size || vpd[i] != 0x78) in vpd_valid()
74 const void *vpd_find_record(const void *vpd, size_t vpd_size, in vpd_find_record() argument
77 const uint8_t *p = vpd, *end = vpd + vpd_size; in vpd_find_record()
128 const void *vpd_find(const void *vpd, size_t vpd_size, in vpd_find() argument
135 p = vpd_find_record(vpd, vpd_size, record, &rec_sz); in vpd_find()
/dports/emulators/qemu60/qemu-6.0.0/roms/skiboot/core/
H A Dvpd.c51 bool vpd_valid(const void *vvpd, size_t vpd_size) in vpd_valid() argument
57 while (i < vpd_size) in vpd_valid()
61 if (i >= vpd_size) in vpd_valid()
71 if (i >= vpd_size || vpd[i] != 0x78) in vpd_valid()
83 const void *vpd_find_record(const void *vpd, size_t vpd_size, in vpd_find_record() argument
86 const uint8_t *p = vpd, *end = vpd + vpd_size; in vpd_find_record()
137 const void *vpd_find(const void *vpd, size_t vpd_size, in vpd_find() argument
144 p = vpd_find_record(vpd, vpd_size, record, &rec_sz); in vpd_find()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/skiboot/core/
H A Dvpd.c52 bool vpd_valid(const void *vvpd, size_t vpd_size) in vpd_valid() argument
58 while (i < vpd_size) in vpd_valid()
62 if (i >= vpd_size) in vpd_valid()
72 if (i >= vpd_size || vpd[i] != 0x78) in vpd_valid()
84 const void *vpd_find_record(const void *vpd, size_t vpd_size, in vpd_find_record() argument
87 const uint8_t *p = vpd, *end = vpd + vpd_size; in vpd_find_record()
138 const void *vpd_find(const void *vpd, size_t vpd_size, in vpd_find() argument
145 p = vpd_find_record(vpd, vpd_size, record, &rec_sz); in vpd_find()
/dports/emulators/qemu42/qemu-4.2.1/roms/skiboot/include/
H A Dvpd.h30 const void *vpd_find_record(const void *vpd, size_t vpd_size,
33 const void *vpd_find(const void *vpd, size_t vpd_size,
37 bool vpd_valid(const void *vvpd, size_t vpd_size);
/dports/emulators/qemu5/qemu-5.2.0/roms/skiboot/include/
H A Dvpd.h30 const void *vpd_find_record(const void *vpd, size_t vpd_size,
33 const void *vpd_find(const void *vpd, size_t vpd_size,
37 bool vpd_valid(const void *vvpd, size_t vpd_size);
/dports/emulators/qemu-utils/qemu-4.2.1/roms/skiboot/include/
H A Dvpd.h30 const void *vpd_find_record(const void *vpd, size_t vpd_size,
33 const void *vpd_find(const void *vpd, size_t vpd_size,
37 bool vpd_valid(const void *vvpd, size_t vpd_size);
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/skiboot/include/
H A Dvpd.h30 const void *vpd_find_record(const void *vpd, size_t vpd_size,
33 const void *vpd_find(const void *vpd, size_t vpd_size,
37 bool vpd_valid(const void *vvpd, size_t vpd_size);
/dports/emulators/qemu/qemu-6.2.0/roms/skiboot/include/
H A Dvpd.h17 const void *vpd_find_record(const void *vpd, size_t vpd_size,
20 const void *vpd_find(const void *vpd, size_t vpd_size,
24 bool vpd_valid(const void *vvpd, size_t vpd_size);
/dports/emulators/qemu60/qemu-6.0.0/roms/skiboot/include/
H A Dvpd.h30 const void *vpd_find_record(const void *vpd, size_t vpd_size,
33 const void *vpd_find(const void *vpd, size_t vpd_size,
37 bool vpd_valid(const void *vvpd, size_t vpd_size);
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/skiboot/include/
H A Dvpd.h30 const void *vpd_find_record(const void *vpd, size_t vpd_size,
33 const void *vpd_find(const void *vpd, size_t vpd_size,
37 bool vpd_valid(const void *vvpd, size_t vpd_size);
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/sfc/
H A Defx.c912 ssize_t vpd_size; in efx_probe_vpd_strings() local
916 vpd_size = pci_read_vpd(dev, 0, sizeof(vpd_data), vpd_data); in efx_probe_vpd_strings()
917 if (vpd_size <= 0) { in efx_probe_vpd_strings()
923 ro_start = pci_vpd_find_tag(vpd_data, vpd_size, PCI_VPD_LRDT_RO_DATA); in efx_probe_vpd_strings()
932 if (i + j > vpd_size) in efx_probe_vpd_strings()
933 j = vpd_size - i; in efx_probe_vpd_strings()
944 if (i + j > vpd_size) { in efx_probe_vpd_strings()
962 if (i + j > vpd_size) { in efx_probe_vpd_strings()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/sfc/
H A Defx.c912 ssize_t vpd_size; in efx_probe_vpd_strings() local
916 vpd_size = pci_read_vpd(dev, 0, sizeof(vpd_data), vpd_data); in efx_probe_vpd_strings()
917 if (vpd_size <= 0) { in efx_probe_vpd_strings()
923 ro_start = pci_vpd_find_tag(vpd_data, vpd_size, PCI_VPD_LRDT_RO_DATA); in efx_probe_vpd_strings()
932 if (i + j > vpd_size) in efx_probe_vpd_strings()
933 j = vpd_size - i; in efx_probe_vpd_strings()
944 if (i + j > vpd_size) { in efx_probe_vpd_strings()
962 if (i + j > vpd_size) { in efx_probe_vpd_strings()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/sfc/
H A Defx.c912 ssize_t vpd_size; in efx_probe_vpd_strings() local
916 vpd_size = pci_read_vpd(dev, 0, sizeof(vpd_data), vpd_data); in efx_probe_vpd_strings()
917 if (vpd_size <= 0) { in efx_probe_vpd_strings()
923 ro_start = pci_vpd_find_tag(vpd_data, vpd_size, PCI_VPD_LRDT_RO_DATA); in efx_probe_vpd_strings()
932 if (i + j > vpd_size) in efx_probe_vpd_strings()
933 j = vpd_size - i; in efx_probe_vpd_strings()
944 if (i + j > vpd_size) { in efx_probe_vpd_strings()
962 if (i + j > vpd_size) { in efx_probe_vpd_strings()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/sfc/falcon/
H A Defx.c2792 ssize_t vpd_size; in ef4_probe_vpd_strings() local
2796 vpd_size = pci_read_vpd(dev, 0, sizeof(vpd_data), vpd_data); in ef4_probe_vpd_strings()
2797 if (vpd_size <= 0) { in ef4_probe_vpd_strings()
2803 ro_start = pci_vpd_find_tag(vpd_data, vpd_size, PCI_VPD_LRDT_RO_DATA); in ef4_probe_vpd_strings()
2812 if (i + j > vpd_size) in ef4_probe_vpd_strings()
2813 j = vpd_size - i; in ef4_probe_vpd_strings()
2824 if (i + j > vpd_size) { in ef4_probe_vpd_strings()
2842 if (i + j > vpd_size) { in ef4_probe_vpd_strings()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/sfc/falcon/
H A Defx.c2792 ssize_t vpd_size; in ef4_probe_vpd_strings() local
2796 vpd_size = pci_read_vpd(dev, 0, sizeof(vpd_data), vpd_data); in ef4_probe_vpd_strings()
2797 if (vpd_size <= 0) { in ef4_probe_vpd_strings()
2803 ro_start = pci_vpd_find_tag(vpd_data, vpd_size, PCI_VPD_LRDT_RO_DATA); in ef4_probe_vpd_strings()
2812 if (i + j > vpd_size) in ef4_probe_vpd_strings()
2813 j = vpd_size - i; in ef4_probe_vpd_strings()
2824 if (i + j > vpd_size) { in ef4_probe_vpd_strings()
2842 if (i + j > vpd_size) { in ef4_probe_vpd_strings()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/sfc/falcon/
H A Defx.c2792 ssize_t vpd_size; in ef4_probe_vpd_strings() local
2796 vpd_size = pci_read_vpd(dev, 0, sizeof(vpd_data), vpd_data); in ef4_probe_vpd_strings()
2797 if (vpd_size <= 0) { in ef4_probe_vpd_strings()
2803 ro_start = pci_vpd_find_tag(vpd_data, vpd_size, PCI_VPD_LRDT_RO_DATA); in ef4_probe_vpd_strings()
2812 if (i + j > vpd_size) in ef4_probe_vpd_strings()
2813 j = vpd_size - i; in ef4_probe_vpd_strings()
2824 if (i + j > vpd_size) { in ef4_probe_vpd_strings()
2842 if (i + j > vpd_size) { in ef4_probe_vpd_strings()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/cxlflash/
H A 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()
1652 ro_start = pci_vpd_find_tag(vpd_data, vpd_size, PCI_VPD_LRDT_RO_DATA); in read_vpd()
1663 if (unlikely((i + j) > vpd_size)) { in read_vpd()
1665 __func__, (i + j), vpd_size); in read_vpd()
1666 ro_size = vpd_size - i; in read_vpd()
1698 if (unlikely((i + j > vpd_size) || (j != WWPN_LEN))) { in read_vpd()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/cxlflash/
H A 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()
1652 ro_start = pci_vpd_find_tag(vpd_data, vpd_size, PCI_VPD_LRDT_RO_DATA); in read_vpd()
1663 if (unlikely((i + j) > vpd_size)) { in read_vpd()
1665 __func__, (i + j), vpd_size); in read_vpd()
1666 ro_size = vpd_size - i; in read_vpd()
1698 if (unlikely((i + j > vpd_size) || (j != WWPN_LEN))) { in read_vpd()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/cxlflash/
H A 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()
1652 ro_start = pci_vpd_find_tag(vpd_data, vpd_size, PCI_VPD_LRDT_RO_DATA); in read_vpd()
1663 if (unlikely((i + j) > vpd_size)) { in read_vpd()
1665 __func__, (i + j), vpd_size); in read_vpd()
1666 ro_size = vpd_size - i; in read_vpd()
1698 if (unlikely((i + j > vpd_size) || (j != WWPN_LEN))) { in read_vpd()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/marvell/
H A Dsky2.c4463 size_t vpd_size; in sky2_show_vpd() local
4470 vpd_size = 1 << ( ((reg2 & PCI_VPD_ROM_SZ) >> 14) + 8); in sky2_show_vpd()
4473 buf = kmalloc(vpd_size, GFP_KERNEL); in sky2_show_vpd()
4479 if (pci_read_vpd(hw->pdev, 0, vpd_size, buf) < 0) { in sky2_show_vpd()
4489 if (len == 0 || len > vpd_size - 4) { in sky2_show_vpd()
4497 while (offs < vpd_size - 4) { in sky2_show_vpd()
4503 if (offs + len + 3 >= vpd_size) in sky2_show_vpd()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/marvell/
H A Dsky2.c4463 size_t vpd_size; in sky2_show_vpd() local
4470 vpd_size = 1 << ( ((reg2 & PCI_VPD_ROM_SZ) >> 14) + 8); in sky2_show_vpd()
4473 buf = kmalloc(vpd_size, GFP_KERNEL); in sky2_show_vpd()
4479 if (pci_read_vpd(hw->pdev, 0, vpd_size, buf) < 0) { in sky2_show_vpd()
4489 if (len == 0 || len > vpd_size - 4) { in sky2_show_vpd()
4497 while (offs < vpd_size - 4) { in sky2_show_vpd()
4503 if (offs + len + 3 >= vpd_size) in sky2_show_vpd()

12