mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 04:03:58 +08:00
4e23d3f505
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>
17 lines
421 B
C
17 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
|