mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Thierry Reding](/assets/img/avatar_default.png)
This function can be used to parse a bus-range property as specified by device nodes representing PCI bridges. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
16 lines
421 B
C
16 lines
421 B
C
#ifndef __OF_PCI_H
|
|
#define __OF_PCI_H
|
|
|
|
#include <linux/pci.h>
|
|
|
|
struct pci_dev;
|
|
struct of_irq;
|
|
int of_irq_map_pci(const struct pci_dev *pdev, struct of_irq *out_irq);
|
|
|
|
struct device_node;
|
|
struct device_node *of_pci_find_child_device(struct device_node *parent,
|
|
unsigned int devfn);
|
|
int of_pci_get_devfn(struct device_node *np);
|
|
int of_pci_parse_bus_range(struct device_node *node, struct resource *res);
|
|
|
|
#endif
|