| /* SPDX-License-Identifier: GPL-2.0 */ |
| #if IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_PCI) |
| struct device_node *of_pci_find_child_device(struct device_node *parent, |
| int of_pci_get_devfn(struct device_node *np); |
| void of_pci_check_probe_only(void); |
| int of_pci_map_rid(struct device_node *np, u32 rid, |
| const char *map_name, const char *map_mask_name, |
| struct device_node **target, u32 *id_out); |
| static inline struct device_node *of_pci_find_child_device(struct device_node *parent, |
| static inline int of_pci_get_devfn(struct device_node *np) |
| static inline int of_pci_map_rid(struct device_node *np, u32 rid, |
| const char *map_name, const char *map_mask_name, |
| struct device_node **target, u32 *id_out) |
| static inline void of_pci_check_probe_only(void) { } |
| #if IS_ENABLED(CONFIG_OF_IRQ) |
| int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin); |
| of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin) |