Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
of_pci.h File Reference
#include <linux/pci.h>

Go to the source code of this file.

Functions

int of_irq_map_pci (const struct pci_dev *pdev, struct of_irq *out_irq)
 
struct device_nodeof_pci_find_child_device (struct device_node *parent, unsigned int devfn)
 

Function Documentation

int of_irq_map_pci ( const struct pci_dev pdev,
struct of_irq *  out_irq 
)

of_irq_map_pci - Resolve the interrupt for a PCI device : the device whose interrupt is to be resolved : structure of_irq filled by this function

This function resolves the PCI interrupt for a given PCI device. If a device-node exists for a given pci_dev, it will use normal OF tree walking. If not, it will implement standard swizzling and walk up the PCI tree until an device-node is found, at which point it will finish resolving using the OF tree walking.

Definition at line 18 of file of_pci_irq.c.

struct device_node* of_pci_find_child_device ( struct device_node parent,
unsigned int  devfn 
)
read

Definition at line 18 of file of_pci.c.