pci_find_pcie_root_port(9) 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