Lines Matching refs:device_node

36 struct device_node *of_root;
38 struct device_node *of_chosen;
40 struct device_node *of_aliases;
41 struct device_node *of_stdout;
59 bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq()
74 bool of_node_name_prefix(const struct device_node *np, const char *prefix) in of_node_name_prefix()
83 static bool __of_node_is_type(const struct device_node *np, const char *type) in __of_node_is_type()
90 int of_bus_n_addr_cells(struct device_node *np) in of_bus_n_addr_cells()
102 int of_n_addr_cells(struct device_node *np) in of_n_addr_cells()
111 int of_bus_n_size_cells(struct device_node *np) in of_bus_n_size_cells()
123 int of_n_size_cells(struct device_node *np) in of_n_size_cells()
133 int __weak of_node_to_nid(struct device_node *np) in of_node_to_nid()
142 static struct device_node *phandle_cache[OF_PHANDLE_CACHE_SZ];
155 struct device_node *np; in __of_phandle_cache_inv_entry()
169 struct device_node *np; in of_core_init()
192 static struct property *__of_find_property(const struct device_node *np, in __of_find_property()
211 struct property *of_find_property(const struct device_node *np, in of_find_property()
226 struct device_node *__of_find_all_nodes(struct device_node *prev) in __of_find_all_nodes()
228 struct device_node *np; in __of_find_all_nodes()
251 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes()
253 struct device_node *np; in of_find_all_nodes()
269 const void *__of_get_property(const struct device_node *np, in __of_get_property()
281 const void *of_get_property(const struct device_node *np, const char *name, in of_get_property()
298 u64 of_get_cpu_hwid(struct device_node *cpun, unsigned int thread) in of_get_cpu_hwid()
336 static bool __of_find_n_match_cpu_property(struct device_node *cpun, in __of_find_n_match_cpu_property()
368 bool __weak arch_find_n_match_cpu_physical_id(struct device_node *cpun, in arch_find_n_match_cpu_physical_id()
403 struct device_node *of_get_cpu_node(int cpu, unsigned int *thread) in of_get_cpu_node()
405 struct device_node *cpun; in of_get_cpu_node()
423 int of_cpu_node_to_id(struct device_node *cpu_node) in of_cpu_node_to_id()
427 struct device_node *np; in of_cpu_node_to_id()
456 struct device_node *of_get_cpu_state_node(struct device_node *cpu_node, in of_get_cpu_state_node()
465 struct device_node *state_node = in of_get_cpu_state_node()
507 static int __of_device_is_compatible(const struct device_node *device, in __of_device_is_compatible()
548 int of_device_is_compatible(const struct device_node *device, in of_device_is_compatible()
565 int of_device_compatible_match(struct device_node *device, in of_device_compatible_match()
592 struct device_node *root; in of_machine_is_compatible()
612 static bool __of_device_is_available(const struct device_node *device) in __of_device_is_available()
640 bool of_device_is_available(const struct device_node *device) in of_device_is_available()
665 bool of_device_is_big_endian(const struct device_node *device) in of_device_is_big_endian()
683 struct device_node *of_get_parent(const struct device_node *node) in of_get_parent()
685 struct device_node *np; in of_get_parent()
709 struct device_node *of_get_next_parent(struct device_node *node) in of_get_next_parent()
711 struct device_node *parent; in of_get_next_parent()
725 static struct device_node *__of_get_next_child(const struct device_node *node, in __of_get_next_child()
726 struct device_node *prev) in __of_get_next_child()
728 struct device_node *next; in __of_get_next_child()
751 struct device_node *of_get_next_child(const struct device_node *node, in of_get_next_child()
752 struct device_node *prev) in of_get_next_child()
754 struct device_node *next; in of_get_next_child()
772 struct device_node *of_get_next_available_child(const struct device_node *node, in of_get_next_available_child()
773 struct device_node *prev) in of_get_next_available_child()
775 struct device_node *next; in of_get_next_available_child()
803 struct device_node *of_get_next_cpu_node(struct device_node *prev) in of_get_next_cpu_node()
805 struct device_node *next = NULL; in of_get_next_cpu_node()
807 struct device_node *node; in of_get_next_cpu_node()
843 struct device_node *of_get_compatible_child(const struct device_node *parent, in of_get_compatible_child()
846 struct device_node *child; in of_get_compatible_child()
868 struct device_node *of_get_child_by_name(const struct device_node *node, in of_get_child_by_name()
871 struct device_node *child; in of_get_child_by_name()
880 struct device_node *__of_find_node_by_path(struct device_node *parent, in __of_find_node_by_path()
883 struct device_node *child; in __of_find_node_by_path()
898 struct device_node *__of_find_node_by_full_path(struct device_node *node, in __of_find_node_by_full_path()
904 struct device_node *tmp = node; in __of_find_node_by_full_path()
934 struct device_node *of_find_node_opts_by_path(const char *path, const char **opts) in of_find_node_opts_by_path()
936 struct device_node *np = NULL; in of_find_node_opts_by_path()
992 struct device_node *of_find_node_by_name(struct device_node *from, in of_find_node_by_name()
995 struct device_node *np; in of_find_node_by_name()
1020 struct device_node *of_find_node_by_type(struct device_node *from, in of_find_node_by_type()
1023 struct device_node *np; in of_find_node_by_type()
1050 struct device_node *of_find_compatible_node(struct device_node *from, in of_find_compatible_node()
1053 struct device_node *np; in of_find_compatible_node()
1079 struct device_node *of_find_node_with_property(struct device_node *from, in of_find_node_with_property()
1082 struct device_node *np; in of_find_node_with_property()
1104 const struct device_node *node) in __of_match_node()
1132 const struct device_node *node) in of_match_node()
1157 struct device_node *of_find_matching_node_and_match(struct device_node *from, in of_find_matching_node_and_match()
1161 struct device_node *np; in of_find_matching_node_and_match()
1196 int of_modalias_node(struct device_node *node, char *modalias, int len) in of_modalias_node()
1217 struct device_node *of_find_node_by_phandle(phandle handle) in of_find_node_by_phandle()
1219 struct device_node *np = NULL; in of_find_node_by_phandle()
1262 const struct device_node *np, in of_phandle_iterator_init()
1391 static int __of_parse_phandle_with_args(const struct device_node *np, in __of_parse_phandle_with_args()
1453 struct device_node *of_parse_phandle(const struct device_node *np, in of_parse_phandle()
1501 int of_parse_phandle_with_args(const struct device_node *np, const char *list_name, in of_parse_phandle_with_args()
1561 int of_parse_phandle_with_args_map(const struct device_node *np, in of_parse_phandle_with_args_map()
1568 struct device_node *cur, *new = NULL; in of_parse_phandle_with_args_map()
1733 int of_parse_phandle_with_fixed_args(const struct device_node *np, in of_parse_phandle_with_fixed_args()
1759 int of_count_phandle_with_args(const struct device_node *np, const char *list_name, in of_count_phandle_with_args()
1801 int __of_add_property(struct device_node *np, struct property *prop) in __of_add_property()
1824 int of_add_property(struct device_node *np, struct property *prop) in of_add_property()
1847 int __of_remove_property(struct device_node *np, struct property *prop) in __of_remove_property()
1876 int of_remove_property(struct device_node *np, struct property *prop) in of_remove_property()
1902 int __of_update_property(struct device_node *np, struct property *newprop, in __of_update_property()
1937 int of_update_property(struct device_node *np, struct property *newprop) in of_update_property()
1963 static void of_alias_add(struct alias_prop *ap, struct device_node *np, in of_alias_add()
2012 struct device_node *np; in of_alias_scan()
2055 int of_alias_get_id(struct device_node *np, const char *stem) in of_alias_get_id()
2166 bool of_console_check(struct device_node *dn, char *name, int index) in of_console_check()
2187 struct device_node *of_find_next_cache_node(const struct device_node *np) in of_find_next_cache_node()
2189 struct device_node *child, *cache_node; in of_find_next_cache_node()
2221 struct device_node *prev = NULL, *np = of_cpu_device_node_get(cpu); in of_find_last_cache_level()
2253 int of_map_id(struct device_node *np, u32 id, in of_map_id()
2255 struct device_node **target, u32 *id_out) in of_map_id()
2291 struct device_node *phandle_node; in of_map_id()