1PCI_BUS_FIND_CAPABIL(9)       Hardware Interfaces      PCI_BUS_FIND_CAPABIL(9)
2
3
4

NAME

6       pci_bus_find_capability - query for devices' capabilities
7

SYNOPSIS

9       int pci_bus_find_capability(struct pci_bus * bus, unsigned int devfn,
10                                   int cap);
11

ARGUMENTS

13       bus
14           the PCI bus to query
15
16       devfn
17           PCI device to query
18
19       cap
20           capability code
21

DESCRIPTION

23       Like pci_find_capability but works for pci devices that do not have a
24       pci_dev structure set up yet.
25
26       Returns the address of the requested capability structure within the
27       device's PCI configuration space or 0 in case the device does not
28       support it.
29
31Kernel Hackers Manual 3.10         June 2019           PCI_BUS_FIND_CAPABIL(9)
Impressum