Lines Matching refs:device_node
31 struct device_node *of_find_all_nodes(struct device_node *prev);
39 static inline void of_node_put(const struct device_node *np) { } in of_node_put()
50 int of_n_addr_cells(const struct device_node *np);
61 int of_n_size_cells(const struct device_node *np);
71 int of_simple_addr_cells(const struct device_node *np);
81 int of_simple_size_cells(const struct device_node *np);
91 struct property *of_find_property(const struct device_node *np,
104 const void *of_get_property(const struct device_node *np, const char *name,
116 const struct property *of_get_first_property(const struct device_node *np);
128 const struct property *of_get_next_property(const struct device_node *np,
142 const void *of_get_property_by_prop(const struct device_node *np,
177 int of_device_is_compatible(const struct device_node *np, const char *compat,
188 bool of_device_is_available(const struct device_node *np);
196 struct device_node *of_get_parent(const struct device_node *np);
214 struct device_node *of_find_node_opts_by_path(const char *path,
217 static inline struct device_node *of_find_node_by_path(const char *path) in of_find_node_by_path()
234 struct device_node *of_find_compatible_node(struct device_node *from,
244 struct device_node *of_find_node_by_phandle(phandle handle);
260 int of_read_u32(const struct device_node *np, const char *propname, u32 *outp);
275 int of_property_read_u64(const struct device_node *np, const char *propname,
291 int of_read_u32_array(const struct device_node *np, const char *propname,
307 int of_write_u32_array(const struct device_node *np, const char *propname,
322 int of_property_match_string(const struct device_node *np, const char *propname,
325 int of_property_read_string_helper(const struct device_node *np,
347 static inline int of_property_read_string_index(const struct device_node *np, in of_property_read_string_index()
367 static inline int of_property_count_strings(const struct device_node *np, in of_property_count_strings()
383 struct device_node *of_parse_phandle(const struct device_node *np,
423 int of_parse_phandle_with_args(const struct device_node *np,
442 int of_count_phandle_with_args(const struct device_node *np,
466 int of_alias_get_id(const struct device_node *np, const char *stem);
477 struct device_node *of_alias_get_dev(const char *stem, int id);
482 struct device_node *of_alias_dump(void);
489 struct device_node *of_get_stdout(void);