Scroll to navigation

PCI_FIND_PARENT_RESO(9) Hardware Interfaces PCI_FIND_PARENT_RESO(9)

NAME

pci_find_parent_resource - return resource region of parent bus of given region

SYNOPSIS

struct resource * pci_find_parent_resource(const struct pci_dev * dev, struct resource * res);

ARGUMENTS

const struct pci_dev * dev

PCI device structure contains resources to be searched

struct resource * res

child resource record for which parent is sought

DESCRIPTION

For given resource region of given device, return the resource region of parent bus the given region is contained in.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11