Lines Matching refs:device_node

30 struct device_node *of_find_all_nodes(struct device_node *prev);
38 static inline void of_node_put(const struct device_node *np) { } in of_node_put()
49 int of_n_addr_cells(const struct device_node *np);
60 int of_n_size_cells(const struct device_node *np);
70 int of_simple_addr_cells(const struct device_node *np);
80 int of_simple_size_cells(const struct device_node *np);
90 struct property *of_find_property(const struct device_node *np,
103 const void *of_get_property(const struct device_node *np, const char *name,
115 const struct property *of_get_first_property(const struct device_node *np);
127 const struct property *of_get_next_property(const struct device_node *np,
141 const void *of_get_property_by_prop(const struct device_node *np,
176 int of_device_is_compatible(const struct device_node *np, const char *compat,
187 bool of_device_is_available(const struct device_node *np);
195 struct device_node *of_get_parent(const struct device_node *np);
218 struct device_node *of_find_node_opts_by_path(struct device_node *root,
222 static inline struct device_node *of_find_node_by_path(const char *path) in of_find_node_by_path()
239 struct device_node *of_find_compatible_node(struct device_node *from,
254 struct device_node *of_find_node_by_prop_value(struct device_node *from,
266 struct device_node *of_find_node_by_phandle(struct device_node *root,
283 int of_read_u8(const struct device_node *np, const char *propname, u8 *outp);
299 int of_read_u16(const struct device_node *np, const char *propname, u16 *outp);
315 int of_read_u32(const struct device_node *np, const char *propname, u32 *outp);
333 int of_read_u32_index(const struct device_node *np, const char *propname,
352 int of_read_u64_index(const struct device_node *np, const char *propname,
369 int of_read_u64(const struct device_node *np, const char *propname, u64 *outp);
385 int of_read_u32_array(const struct device_node *np, const char *propname,
401 int of_property_match_string(const struct device_node *np, const char *propname,
404 int of_property_read_string_helper(const struct device_node *np,
428 static inline int of_property_read_string_index(const struct device_node *np, in of_property_read_string_index()
450 static inline int of_property_count_strings(const struct device_node *np, in of_property_count_strings()
469 struct device_node *of_root_parse_phandle(struct device_node *root,
470 const struct device_node *np,
514 int of_root_parse_phandle_with_args(struct device_node *root,
515 const struct device_node *np,
537 int of_root_count_phandle_with_args(struct device_node *root,
538 const struct device_node *np,
553 struct device_node *of_parse_phandle(const struct device_node *np,
595 int of_parse_phandle_with_args(const struct device_node *np,
615 int of_count_phandle_with_args(const struct device_node *np,
640 int of_alias_get_id(const struct device_node *np, const char *stem);
657 struct device_node *of_get_stdout(void);
668 int of_write_prop(struct device_node *np, const char *propname, int len,
683 int of_add_subnode(struct device_node *node, const char *name, int len,
684 struct device_node **subnodep);
693 int of_remove_property(struct device_node *np, struct property *prop);
702 int of_remove_node(struct device_node *to_remove);