1PCI_FIND_EXT_CAPABIL(9) Hardware Interfaces PCI_FIND_EXT_CAPABIL(9)
2
3
4
6 pci_find_ext_capability - Find an extended capability
7
9 int pci_find_ext_capability(struct pci_dev * dev, int cap);
10
12 dev
13 PCI device to query
14
15 cap
16 capability code
17
19 Returns the address of the requested extended capability structure
20 within the device's PCI configuration space or 0 if the device does not
21 support it. Possible values for cap:
22
23 PCI_EXT_CAP_ID_ERR Advanced Error Reporting PCI_EXT_CAP_ID_VC Virtual
24 Channel PCI_EXT_CAP_ID_DSN Device Serial Number PCI_EXT_CAP_ID_PWR
25 Power Budgeting
26
28Kernel Hackers Manual 3.10 June 2019 PCI_FIND_EXT_CAPABIL(9)