#include <linux/pci.h>
#include <linux/export.h>
#include <asm/pci-bridge.h>
#include <asm/prom.h>
Go to the source code of this file.
of_create_pci_dev - Given a device tree node on a pci bus, create a pci_dev : device tree node pointer : bus the device is sitting on : PCI function number, extracted from device tree by caller.
Definition at line 124 of file pci_of_scan.c.
of_rescan_bus - given a PCI bus node, scan for child devices : device tree node for the PCI bus : pci_bus structure for the PCI bus
Same as of_scan_bus, but for a pci_bus structure that has already been setup.
Definition at line 366 of file pci_of_scan.c.
of_scan_pci_bridge - Set up a PCI bridge and scan for child nodes : pci_dev structure for the bridge
of_scan_bus() calls this routine for each PCI bridge that it finds, and this routine in turn call of_scan_bus() recusively to scan for more child devices.
Definition at line 207 of file pci_of_scan.c.
unsigned int pci_parse_of_flags |
( |
u32 |
addr0, |
|
|
int |
bridge |
|
) |
| |
pci_parse_of_flags - Parse the flags cell of a device tree PCI address : value of 1st cell of a device tree PCI address. : Set this flag if the address is from a bridge 'ranges' property
Definition at line 41 of file pci_of_scan.c.