9 int of_irq_map_pci(const struct pci_dev *pdev, struct of_irq *out_irq);
12 struct device_node *of_pci_find_child_device(struct device_node *parent,
14 int of_pci_get_devfn(struct device_node *np);
15 int of_pci_parse_bus_range(struct device_node *node, struct resource *res);
17 #if defined(CONFIG_OF) && defined(CONFIG_PCI_MSI)
18 int of_pci_msi_chip_add(struct msi_chip *chip);
19 void of_pci_msi_chip_remove(struct msi_chip *chip);
20 struct msi_chip *of_pci_find_msi_chip_by_node(struct device_node *of_node);
22 static inline int of_pci_msi_chip_add(struct msi_chip *chip) { return -EINVAL; }
23 static inline void of_pci_msi_chip_remove(struct msi_chip *chip) { }
24 static inline struct msi_chip *
25 of_pci_find_msi_chip_by_node(struct device_node *of_node) { return NULL; }