Lines Matching refs:tree

400 			      struct node *tree, uint32_t boot_cpuid_phys)  in build_dt_info()  argument
407 dti->dt = tree; in build_dt_info()
448 struct property *get_property_by_label(struct node *tree, const char *label, in get_property_by_label() argument
454 *node = tree; in get_property_by_label()
456 for_each_property(tree, prop) { in get_property_by_label()
464 for_each_child(tree, c) { in get_property_by_label()
474 struct marker *get_marker_label(struct node *tree, const char *label, in get_marker_label() argument
481 *node = tree; in get_marker_label()
483 for_each_property(tree, p) { in get_marker_label()
491 for_each_child(tree, c) { in get_marker_label()
513 struct node *get_node_by_path(struct node *tree, const char *path) in get_node_by_path() argument
519 if (tree->deleted) in get_node_by_path()
521 return tree; in get_node_by_path()
529 for_each_child(tree, child) { in get_node_by_path()
540 struct node *get_node_by_label(struct node *tree, const char *label) in get_node_by_label() argument
547 for_each_label(tree->labels, l) in get_node_by_label()
549 return tree; in get_node_by_label()
551 for_each_child(tree, child) { in get_node_by_label()
560 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) in get_node_by_phandle() argument
569 if (tree->phandle == phandle) { in get_node_by_phandle()
570 if (tree->deleted) in get_node_by_phandle()
572 return tree; in get_node_by_phandle()
575 for_each_child(tree, child) { in get_node_by_phandle()
584 struct node *get_node_by_ref(struct node *tree, const char *ref) in get_node_by_ref() argument
586 struct node *target = tree; in get_node_by_ref()
590 return tree; in get_node_by_ref()
607 target = get_node_by_label(tree, label); in get_node_by_ref()
652 uint32_t guess_boot_cpuid(struct node *tree) in guess_boot_cpuid() argument
657 cpus = get_node_by_path(tree, "/cpus"); in guess_boot_cpuid()