Lines Matching refs:device_node
12 struct device_node *node;
55 extern u64 of_translate_dma_address(struct device_node *dev,
57 extern const __be32 *of_translate_dma_region(struct device_node *dev, const __be32 *addr,
61 extern u64 of_translate_address(struct device_node *np, const __be32 *addr);
62 extern int of_address_to_resource(struct device_node *dev, int index,
64 extern void __iomem *of_iomap(struct device_node *device, int index);
65 void __iomem *of_io_request_and_map(struct device_node *device,
72 extern const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no,
75 int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size);
78 struct device_node *node);
80 struct device_node *node);
84 extern int of_pci_address_to_resource(struct device_node *dev, int bar,
87 struct device_node *np,
89 extern int of_range_to_resource(struct device_node *np, int index,
91 extern bool of_dma_is_coherent(struct device_node *np);
93 static inline void __iomem *of_io_request_and_map(struct device_node *device, in of_io_request_and_map()
99 static inline u64 of_translate_address(struct device_node *np, in of_translate_address()
105 static inline const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, in __of_get_address()
111 static inline int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size) in of_property_read_reg()
117 struct device_node *node) in of_pci_range_parser_init()
123 struct device_node *node) in of_pci_dma_range_parser_init()
135 static inline int of_pci_address_to_resource(struct device_node *dev, int bar, in of_pci_address_to_resource()
142 struct device_node *np, in of_pci_range_to_resource()
148 static inline int of_range_to_resource(struct device_node *np, int index, in of_range_to_resource()
154 static inline bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
161 extern int of_address_to_resource(struct device_node *dev, int index,
163 void __iomem *of_iomap(struct device_node *node, int index);
165 static inline int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource()
171 static inline void __iomem *of_iomap(struct device_node *device, int index) in of_iomap()
178 static inline const __be32 *of_get_address(struct device_node *dev, int index, in of_get_address()
184 static inline const __be32 *of_get_pci_address(struct device_node *dev, int bar_no, in of_get_pci_address()
190 static inline int of_address_count(struct device_node *np) in of_address_count()