pci_find_resource (9) - Linux Man Pages

pci_find_resource: Return matching PCI device resource

NAME

pci_find_resource - Return matching PCI device resource

SYNOPSIS

struct resource * pci_find_resource(struct pci_dev dev, struct resource res);

ARGUMENTS

dev

PCI device to query

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