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

# pci\_find\_pcie\_root\_port(9)

return PCIe Root Port

## NAME

pci\_find\_pcie\_root\_port - return PCIe Root Port

## SYNOPSIS

**struct pci\_dev \* pci\_find\_pcie\_root\_port(struct pci\_dev \*** *dev***);**

## ARGUMENTS

*dev*

PCI device to query

## DESCRIPTION

Traverse up the parent chain and return the PCIe Root Port PCI Device for a given PCI Device.

## COPYRIGHT
