Lines Matching refs:tree

379 			      struct node *tree, uint32_t boot_cpuid_phys)  in build_dt_info()  argument
386 dti->dt = tree; in build_dt_info()
427 struct property *get_property_by_label(struct node *tree, const char *label, in get_property_by_label() argument
433 *node = tree; in get_property_by_label()
435 for_each_property(tree, prop) { in get_property_by_label()
443 for_each_child(tree, c) { in get_property_by_label()
453 struct marker *get_marker_label(struct node *tree, const char *label, in get_marker_label() argument
460 *node = tree; in get_marker_label()
462 for_each_property(tree, p) { in get_marker_label()
470 for_each_child(tree, c) { in get_marker_label()
492 struct node *get_node_by_path(struct node *tree, const char *path) in get_node_by_path() argument
498 if (tree->deleted) in get_node_by_path()
500 return tree; in get_node_by_path()
508 for_each_child(tree, child) { in get_node_by_path()
519 struct node *get_node_by_label(struct node *tree, const char *label) in get_node_by_label() argument
526 for_each_label(tree->labels, l) in get_node_by_label()
528 return tree; in get_node_by_label()
530 for_each_child(tree, child) { in get_node_by_label()
539 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) in get_node_by_phandle() argument
545 if (tree->phandle == phandle) { in get_node_by_phandle()
546 if (tree->deleted) in get_node_by_phandle()
548 return tree; in get_node_by_phandle()
551 for_each_child(tree, child) { in get_node_by_phandle()
560 struct node *get_node_by_ref(struct node *tree, const char *ref) in get_node_by_ref() argument
563 return tree; in get_node_by_ref()
565 return get_node_by_path(tree, ref); in get_node_by_ref()
567 return get_node_by_label(tree, ref); in get_node_by_ref()
601 uint32_t guess_boot_cpuid(struct node *tree) in guess_boot_cpuid() argument
606 cpus = get_node_by_path(tree, "/cpus"); in guess_boot_cpuid()