Lines Matching refs:np
61 extern u64 of_translate_address(struct device_node *np, const __be32 *addr);
75 int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size);
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);
99 static inline u64 of_translate_address(struct device_node *np, in of_translate_address() argument
111 static inline int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size) in of_property_read_reg() argument
142 struct device_node *np, in of_pci_range_to_resource() argument
148 static inline int of_range_to_resource(struct device_node *np, int index, in of_range_to_resource() argument
154 static inline bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent() argument
190 static inline int of_address_count(struct device_node *np) in of_address_count() argument
195 while (of_address_to_resource(np, count, &res) == 0) in of_address_count()