1PCI_FIND_NEXT_EXT_CA(9) Hardware Interfaces PCI_FIND_NEXT_EXT_CA(9)
2
3
4
6 pci_find_next_ext_capability - Find an extended capability
7
9 int pci_find_next_ext_capability(struct pci_dev * dev, int start,
10 int cap);
11
13 dev
14 PCI device to query
15
16 start
17 address at which to start looking (0 to start at beginning of list)
18
19 cap
20 capability code
21
23 Returns the address of the next matching extended capability structure
24 within the device's PCI configuration space or 0 if the device does not
25 support it. Some capabilities can occur several times, e.g., the
26 vendor-specific capability, and this provides a way to find them all.
27
29Kernel Hackers Manual 3.10 June 2019 PCI_FIND_NEXT_EXT_CA(9)