table of contents
other versions
PCI_FIND_RESOURCE(9) | Hardware Interfaces | PCI_FIND_RESOURCE(9) |
NAME¶
pci_find_resource - Return matching PCI device resourceSYNOPSIS¶
struct resource * pci_find_resource(struct pci_dev * dev, struct resource * res);
ARGUMENTS¶
struct pci_dev * devPCI device to query
struct resource * res
Resource to look for
DESCRIPTION¶
Goes over standard PCI resources (BARs) and checks if the given resource is partially or fully contained in any of them. In that case the matching resource is returned, NULL otherwise.COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.11 |