pci_find_vsec_capability(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

pci_find_vsec_capability β€” Find a vendor-specific extended capability

Okay bestie, this is pci_find_vsec_capability(9) from the Kernel API Manual, and it is literally the β€œwhere is my vendor-specific extended capability” girlie. πŸ’…βœ¨


🌸 SYNOPSIS 🌸

u16 pci_find_vsec_capability (struct pci_dev *dev , u16 vendor , int cap
       );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” PCI device to query πŸ‘€
  • vendor β€” Vendor ID for which capability is defined
  • cap β€” Vendor-specific capability ID

πŸ¦‹ DESCRIPTION πŸ¦‹

So here’s the tea: if dev has Vendor ID vendor, you search for a VSEC capability with VSEC ID cap. If it’s found, you return the capability offset in config space; otherwise you return 0. That’s the whole vibe, no cap. βœ¨πŸ’–


🌈 SEE ALSO 🌈

Kernel file ./drivers/pci/pci.c β€” and now the SEE ALSO crew, which is giving entire PCI subsystem friend group. Bestie, it’s a lot, but every single one is here 🫢:


mwah πŸ’…πŸ’– that’s the whole page, bestie β€” source/version: ./drivers/pci, date: October 2026, and yes, the manual name is still iconic: pci_find_vsec_capability(9) πŸŽ€βœ¨

πŸ“¦ where this page comes from