Lines Matching refs:device_node

35 struct device_node *of_root;
37 struct device_node *of_chosen;
38 struct device_node *of_aliases;
39 struct device_node *of_stdout;
57 bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq()
71 bool of_node_name_prefix(const struct device_node *np, const char *prefix) in of_node_name_prefix()
79 int of_n_addr_cells(struct device_node *np) in of_n_addr_cells()
94 int of_n_size_cells(struct device_node *np) in of_n_size_cells()
110 int __weak of_node_to_nid(struct device_node *np) in of_node_to_nid()
116 static struct device_node **phandle_cache;
131 struct device_node *np; in of_populate_phandle_cache()
181 struct device_node *np; in of_core_init()
202 static struct property *__of_find_property(const struct device_node *np, in __of_find_property()
221 struct property *of_find_property(const struct device_node *np, in of_find_property()
236 struct device_node *__of_find_all_nodes(struct device_node *prev) in __of_find_all_nodes()
238 struct device_node *np; in __of_find_all_nodes()
261 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes()
263 struct device_node *np; in of_find_all_nodes()
279 const void *__of_get_property(const struct device_node *np, in __of_get_property()
291 const void *of_get_property(const struct device_node *np, const char *name, in of_get_property()
324 static bool __of_find_n_match_cpu_property(struct device_node *cpun, in __of_find_n_match_cpu_property()
354 bool __weak arch_find_n_match_cpu_physical_id(struct device_node *cpun, in arch_find_n_match_cpu_physical_id()
389 struct device_node *of_get_cpu_node(int cpu, unsigned int *thread) in of_get_cpu_node()
391 struct device_node *cpun; in of_get_cpu_node()
409 int of_cpu_node_to_id(struct device_node *cpu_node) in of_cpu_node_to_id()
413 struct device_node *np; in of_cpu_node_to_id()
457 static int __of_device_is_compatible(const struct device_node *device, in __of_device_is_compatible()
498 int of_device_is_compatible(const struct device_node *device, in of_device_is_compatible()
515 int of_device_compatible_match(struct device_node *device, in of_device_compatible_match()
542 struct device_node *root; in of_machine_is_compatible()
562 static bool __of_device_is_available(const struct device_node *device) in __of_device_is_available()
590 bool of_device_is_available(const struct device_node *device) in of_device_is_available()
615 bool of_device_is_big_endian(const struct device_node *device) in of_device_is_big_endian()
633 struct device_node *of_get_parent(const struct device_node *node) in of_get_parent()
635 struct device_node *np; in of_get_parent()
659 struct device_node *of_get_next_parent(struct device_node *node) in of_get_next_parent()
661 struct device_node *parent; in of_get_next_parent()
675 static struct device_node *__of_get_next_child(const struct device_node *node, in __of_get_next_child()
676 struct device_node *prev) in __of_get_next_child()
678 struct device_node *next; in __of_get_next_child()
703 struct device_node *of_get_next_child(const struct device_node *node, in of_get_next_child()
704 struct device_node *prev) in of_get_next_child()
706 struct device_node *next; in of_get_next_child()
724 struct device_node *of_get_next_available_child(const struct device_node *node, in of_get_next_available_child()
725 struct device_node *prev) in of_get_next_available_child()
727 struct device_node *next; in of_get_next_available_child()
758 struct device_node *of_get_compatible_child(const struct device_node *parent, in of_get_compatible_child()
761 struct device_node *child; in of_get_compatible_child()
783 struct device_node *of_get_child_by_name(const struct device_node *node, in of_get_child_by_name()
786 struct device_node *child; in of_get_child_by_name()
795 struct device_node *__of_find_node_by_path(struct device_node *parent, in __of_find_node_by_path()
798 struct device_node *child; in __of_find_node_by_path()
813 struct device_node *__of_find_node_by_full_path(struct device_node *node, in __of_find_node_by_full_path()
819 struct device_node *tmp = node; in __of_find_node_by_full_path()
849 struct device_node *of_find_node_opts_by_path(const char *path, const char **opts) in of_find_node_opts_by_path()
851 struct device_node *np = NULL; in of_find_node_opts_by_path()
907 struct device_node *of_find_node_by_name(struct device_node *from, in of_find_node_by_name()
910 struct device_node *np; in of_find_node_by_name()
936 struct device_node *of_find_node_by_type(struct device_node *from, in of_find_node_by_type()
939 struct device_node *np; in of_find_node_by_type()
967 struct device_node *of_find_compatible_node(struct device_node *from, in of_find_compatible_node()
970 struct device_node *np; in of_find_compatible_node()
996 struct device_node *of_find_node_with_property(struct device_node *from, in of_find_node_with_property()
999 struct device_node *np; in of_find_node_with_property()
1021 const struct device_node *node) in __of_match_node()
1049 const struct device_node *node) in of_match_node()
1074 struct device_node *of_find_matching_node_and_match(struct device_node *from, in of_find_matching_node_and_match()
1078 struct device_node *np; in of_find_matching_node_and_match()
1113 int of_modalias_node(struct device_node *node, char *modalias, int len) in of_modalias_node()
1134 struct device_node *of_find_node_by_phandle(phandle handle) in of_find_node_by_phandle()
1136 struct device_node *np = NULL; in of_find_node_by_phandle()
1181 const struct device_node *np, in of_phandle_iterator_init()
1293 static int __of_parse_phandle_with_args(const struct device_node *np, in __of_parse_phandle_with_args()
1355 struct device_node *of_parse_phandle(const struct device_node *np, in of_parse_phandle()
1403 int of_parse_phandle_with_args(const struct device_node *np, const char *list_name, in of_parse_phandle_with_args()
1456 int of_parse_phandle_with_args_map(const struct device_node *np, in of_parse_phandle_with_args_map()
1463 struct device_node *cur, *new = NULL; in of_parse_phandle_with_args_map()
1628 int of_parse_phandle_with_fixed_args(const struct device_node *np, in of_parse_phandle_with_fixed_args()
1654 int of_count_phandle_with_args(const struct device_node *np, const char *list_name, in of_count_phandle_with_args()
1677 int __of_add_property(struct device_node *np, struct property *prop) in __of_add_property()
1698 int of_add_property(struct device_node *np, struct property *prop) in of_add_property()
1720 int __of_remove_property(struct device_node *np, struct property *prop) in __of_remove_property()
1747 int of_remove_property(struct device_node *np, struct property *prop) in of_remove_property()
1772 int __of_update_property(struct device_node *np, struct property *newprop, in __of_update_property()
1807 int of_update_property(struct device_node *np, struct property *newprop) in of_update_property()
1833 static void of_alias_add(struct alias_prop *ap, struct device_node *np, in of_alias_add()
1883 struct device_node *np; in of_alias_scan()
1924 int of_alias_get_id(struct device_node *np, const char *stem) in of_alias_get_id()
1981 bool of_console_check(struct device_node *dn, char *name, int index) in of_console_check()
2002 struct device_node *of_find_next_cache_node(const struct device_node *np) in of_find_next_cache_node()
2004 struct device_node *child, *cache_node; in of_find_next_cache_node()
2036 struct device_node *prev = NULL, *np = of_cpu_device_node_get(cpu); in of_find_last_cache_level()