'\" t .\" Title: pci_find_pcie_root_port .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "PCI_FIND_PCIE_ROOT_P" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "Hardware Interfaces" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" pci_find_pcie_root_port \- return PCIe Root Port .SH "SYNOPSIS" .HP \w'struct\ pci_dev\ *\ pci_find_pcie_root_port('u .BI "struct pci_dev * pci_find_pcie_root_port(struct\ pci_dev\ *\ " "dev" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 PCI device to query .RE .SH "DESCRIPTION" .PP Traverse up the parent chain and return the PCIe Root Port PCI Device for a given PCI Device\&. .SH "COPYRIGHT" .br