Name
pci_find_pcie_root_port —
return PCIe Root Port
Synopsis
struct pci_dev * pci_find_pcie_root_port ( | struct pci_dev * dev) ; |
Arguments
struct pci_dev * dev
PCI device to query
Description
Traverse up the parent chain and return the PCIe Root Port PCI Device
for a given PCI Device.