Lines Matching refs:tree
245 struct node *tree, uint32_t boot_cpuid_phys) in build_boot_info() argument
251 bi->dt = tree; in build_boot_info()
286 struct property *get_property_by_label(struct node *tree, const char *label, in get_property_by_label() argument
292 *node = tree; in get_property_by_label()
294 for_each_property(tree, prop) { in get_property_by_label()
302 for_each_child(tree, c) { in get_property_by_label()
312 struct marker *get_marker_label(struct node *tree, const char *label, in get_marker_label() argument
319 *node = tree; in get_marker_label()
321 for_each_property(tree, p) { in get_marker_label()
329 for_each_child(tree, c) { in get_marker_label()
351 struct node *get_node_by_path(struct node *tree, const char *path) in get_node_by_path() argument
357 return tree; in get_node_by_path()
364 for_each_child(tree, child) { in get_node_by_path()
374 struct node *get_node_by_label(struct node *tree, const char *label) in get_node_by_label() argument
381 for_each_label(tree->labels, l) in get_node_by_label()
383 return tree; in get_node_by_label()
385 for_each_child(tree, child) { in get_node_by_label()
394 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) in get_node_by_phandle() argument
400 if (tree->phandle == phandle) in get_node_by_phandle()
401 return tree; in get_node_by_phandle()
403 for_each_child(tree, child) { in get_node_by_phandle()
412 struct node *get_node_by_ref(struct node *tree, const char *ref) in get_node_by_ref() argument
415 return get_node_by_path(tree, ref); in get_node_by_ref()
417 return get_node_by_label(tree, ref); in get_node_by_ref()
451 uint32_t guess_boot_cpuid(struct node *tree) in guess_boot_cpuid() argument
456 cpus = get_node_by_path(tree, "/cpus"); in guess_boot_cpuid()