Lines Matching refs:device_node

36 static struct device_node *of_aliases;
39 static struct device_node *of_chosen;
42 static struct device_node *of_stdout;
62 struct device_node *np;
67 int of_n_addr_cells(const struct device_node *np) in of_n_addr_cells()
83 int of_n_size_cells(const struct device_node *np) in of_n_size_cells()
99 int of_simple_addr_cells(const struct device_node *np) in of_simple_addr_cells()
111 int of_simple_size_cells(const struct device_node *np) in of_simple_size_cells()
123 struct property *of_find_property(const struct device_node *np, in of_find_property()
144 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes()
146 struct device_node *np; in of_find_all_nodes()
166 const void *of_get_property(const struct device_node *np, const char *name, in of_get_property()
174 const struct property *of_get_first_property(const struct device_node *np) in of_get_first_property()
182 const struct property *of_get_next_property(const struct device_node *np, in of_get_next_property()
191 const void *of_get_property_by_prop(const struct device_node *np, in of_get_property_by_prop()
223 int of_device_is_compatible(const struct device_node *device, in of_device_is_compatible()
262 bool of_device_is_available(const struct device_node *device) in of_device_is_available()
282 struct device_node *of_get_parent(const struct device_node *node) in of_get_parent()
284 const struct device_node *np; in of_get_parent()
291 return (struct device_node *)np; in of_get_parent()
294 static struct device_node *__of_get_next_child(const struct device_node *node, in __of_get_next_child()
295 struct device_node *prev) in __of_get_next_child()
297 struct device_node *next; in __of_get_next_child()
320 static struct device_node *__of_find_node_by_path(struct device_node *parent, in __of_find_node_by_path()
323 struct device_node *child; in __of_find_node_by_path()
343 struct device_node *of_find_node_opts_by_path(const char *path, in of_find_node_opts_by_path()
346 struct device_node *np = NULL; in of_find_node_opts_by_path()
385 struct device_node *tmp = np; in of_find_node_opts_by_path()
398 struct device_node *of_find_compatible_node(struct device_node *from, in of_find_compatible_node()
401 struct device_node *np; in of_find_compatible_node()
412 struct device_node *of_find_node_by_phandle(phandle handle) in of_find_node_by_phandle()
414 struct device_node *np; in of_find_node_by_phandle()
450 static void *of_find_property_value_of_size(const struct device_node *np, in of_find_property_value_of_size()
465 int of_read_u32(const struct device_node *np, const char *propname, u32 *outp) in of_read_u32()
497 int of_property_read_u64(const struct device_node *np, const char *propname, in of_property_read_u64()
511 int of_read_u32_array(const struct device_node *np, const char *propname, in of_read_u32_array()
530 int of_write_u32_array(const struct device_node *np, const char *propname, in of_write_u32_array()
549 int of_property_match_string(const struct device_node *np, const char *propname, in of_property_match_string()
587 int of_property_read_string_helper(const struct device_node *np, in of_property_read_string_helper()
613 static int __of_parse_phandle_with_args(const struct device_node *np, in __of_parse_phandle_with_args()
622 struct device_node *node = NULL; in __of_parse_phandle_with_args()
730 struct device_node *of_parse_phandle(const struct device_node *np, in of_parse_phandle()
745 int of_parse_phandle_with_args(const struct device_node *np, in of_parse_phandle_with_args()
756 int of_count_phandle_with_args(const struct device_node *np, in of_count_phandle_with_args()
763 static void of_alias_add(struct alias_prop *ap, struct device_node *np, in of_alias_add()
815 struct device_node *np; in of_alias_scan()
853 int of_alias_get_id(const struct device_node *np, const char *stem) in of_alias_get_id()
873 struct device_node *of_alias_get_dev(const char *stem, int id) in of_alias_get_dev()
876 struct device_node *np = NULL; in of_alias_get_dev()
893 struct device_node *of_alias_dump(void) in of_alias_dump()
896 struct device_node *np = NULL; in of_alias_dump()
911 struct device_node *of_get_stdout(void) in of_get_stdout()