Lines Matching refs:device_node
12 struct device_node *node;
56 extern u64 of_translate_dma_address(struct device_node *dev,
58 extern const __be32 *of_translate_dma_region(struct device_node *dev, const __be32 *addr,
62 extern u64 of_translate_address(struct device_node *np, const __be32 *addr);
63 extern int of_address_to_resource(struct device_node *dev, int index,
65 extern void __iomem *of_iomap(struct device_node *device, int index);
66 void __iomem *of_io_request_and_map(struct device_node *device,
73 extern const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no,
76 int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size);
79 struct device_node *node);
81 struct device_node *node);
85 extern int of_pci_address_to_resource(struct device_node *dev, int bar,
88 const struct device_node *np,
90 extern int of_range_to_resource(struct device_node *np, int index,
92 extern bool of_dma_is_coherent(struct device_node *np);
94 static inline void __iomem *of_io_request_and_map(struct device_node *device, in of_io_request_and_map()
100 static inline u64 of_translate_address(struct device_node *np, in of_translate_address()
106 static inline const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, in __of_get_address()
112 static inline int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size) in of_property_read_reg()
118 struct device_node *node) in of_pci_range_parser_init()
124 struct device_node *node) in of_pci_dma_range_parser_init()
136 static inline int of_pci_address_to_resource(struct device_node *dev, int bar, in of_pci_address_to_resource()
143 struct device_node *np, in of_pci_range_to_resource()
149 static inline int of_range_to_resource(struct device_node *np, int index, in of_range_to_resource()
155 static inline bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
162 extern int of_address_to_resource(struct device_node *dev, int index,
164 void __iomem *of_iomap(struct device_node *node, int index);
166 static inline int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource()
172 static inline void __iomem *of_iomap(struct device_node *device, int index) in of_iomap()
179 static inline const __be32 *of_get_address(struct device_node *dev, int index, in of_get_address()
185 static inline const __be32 *of_get_pci_address(struct device_node *dev, int bar_no, in of_get_pci_address()
191 static inline int of_address_count(struct device_node *np) in of_address_count()