---
name: "pci_find_parent_resource"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_find_parent_resource"
---

# pci\_find\_parent\_resource(9)

return resource region of parent bus of given region

## 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

*dev*

PCI device structure contains resources to be searched

*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
