pci_vpd_find_id_string(9)
π pci_vpd_find_id_string(9) β Kernel API Manual π
okay bestie, welcome to the pci_vpd_find_id_string(9) page β this is a Kernel API Manual situation, so grab your emotional support iced coffee and let's get into it β¨
πΈ NAME πΈ
pci_vpd_find_id_string β literally just, locate the id string in VPD. that's the whole vibe π¦
β¨ SYNOPSIS β¨
int pci_vpd_find_id_string (const u8 *buf , unsigned int len , unsigned
int *size );
like yes, that's the signature, copy it exactly bestie, don't freestyle π
π§ ARGUMENTS π§
bufβ pointer to buffered VPD data. it's giving "here's the data, go look at it" π«Άlenβ the length of the buffer area in which to search. basically how far you're allowed to snoop πsizeβ pointer to the field where the length of the id string gets returned. it's the lil out-param that comes back holding the answer π
π DESCRIPTION π
Returns the index of the id string, or -ENOENT if not found. that's it. that's the function. short queen energy, no notes π₯
(note: it returns an index β so on success you get a position, and on the sad path you get -ENOENT. don't get it twisted π)
π SEE ALSO π
the whole friend group, fr fr β Kernel file ./include/linux/pci.h and also:
enum pci_interrupt_pin(9)pci_channel_state_t(9)pci_is_bridge(9)pci_is_vga(9)pci_is_display(9)struct pci_driver(9)PCI_DEVICE(9)PCI_DEVICE_DRIVER_OVERRIDE(9)PCI_DRIVER_OVERRIDE_DEVICE_VFIO(9)PCI_DEVICE_SUB(9)PCI_DEVICE_CLASS(9)PCI_VDEVICE(9)PCI_VDEVICE_SUB(9)PCI_DEVICE_DATA(9)pcie_capability_clear_and_set_word(9)pci_bus_for_each_resource(9)module_pci_driver(9)builtin_pci_driver(9)pci_irq_type(9)pci_irqd_intx_xlate(9)pci_resource_is_io(9)pci_resource_is_mem(9)pci_pcie_cap(9)pci_is_pcie(9)pcie_caps_reg(9)pci_pcie_type(9)pcie_find_root_port(9)pci_vpd_alloc(9)pci_vpd_find_ro_info_keyword(9)pci_vpd_check_csum(9)pci_ari_enabled(9)pci_is_thunderbolt_attached(9)
like, all thirty-two of them. we did not skip a single one, iykyk ππ«Ά
real talk: this page lives under./include/linux, and it's dated October 2026, filed aspci_vpd_find_id_string(9). ok bye, slay, go read your VPD πππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms