Lines Matching refs:device_node
12 struct device_node *node;
39 extern u64 of_translate_dma_address(struct device_node *dev,
43 extern u64 of_translate_address(struct device_node *np, const __be32 *addr);
44 extern int of_address_to_resource(struct device_node *dev, int index,
46 extern void __iomem *of_iomap(struct device_node *device, int index);
47 void __iomem *of_io_request_and_map(struct device_node *device,
54 extern const __be32 *of_get_address(struct device_node *dev, int index,
58 struct device_node *node);
60 struct device_node *node);
64 extern bool of_dma_is_coherent(struct device_node *np);
66 static inline void __iomem *of_io_request_and_map(struct device_node *device, in of_io_request_and_map()
72 static inline u64 of_translate_address(struct device_node *np, in of_translate_address()
78 static inline const __be32 *of_get_address(struct device_node *dev, int index, in of_get_address()
85 struct device_node *node) in of_pci_range_parser_init()
91 struct device_node *node) in of_pci_dma_range_parser_init()
103 static inline bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
110 extern int of_address_to_resource(struct device_node *dev, int index,
112 void __iomem *of_iomap(struct device_node *node, int index);
114 static inline int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource()
120 static inline void __iomem *of_iomap(struct device_node *device, int index) in of_iomap()
128 extern const __be32 *of_get_pci_address(struct device_node *dev, int bar_no,
130 extern int of_pci_address_to_resource(struct device_node *dev, int bar,
133 struct device_node *np,
136 static inline int of_pci_address_to_resource(struct device_node *dev, int bar, in of_pci_address_to_resource()
142 static inline const __be32 *of_get_pci_address(struct device_node *dev, in of_get_pci_address()
148 struct device_node *np, in of_pci_range_to_resource()