SysTutorials

Linux Manual Pages › Section 9

pci_find_pcie_root_port(9)

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