Lines Matching defs:tree
400 struct node *tree, uint32_t boot_cpuid_phys)
407 dti->dt = tree;
448 struct property *get_property_by_label(struct node *tree, const char *label,
454 *node = tree;
456 for_each_property(tree, prop) {
464 for_each_child(tree, c) {
474 struct marker *get_marker_label(struct node *tree, const char *label,
481 *node = tree;
483 for_each_property(tree, p) {
491 for_each_child(tree, c) {
513 struct node *get_node_by_path(struct node *tree, const char *path)
519 if (tree->deleted)
521 return tree;
529 for_each_child(tree, child) {
539 struct node *get_node_by_label(struct node *tree, const char *label)
546 for_each_label(tree->labels, l)
548 return tree;
550 for_each_child(tree, child) {
559 struct node *get_node_by_phandle(struct node *tree, cell_t phandle)
568 if (tree->phandle == phandle) {
569 if (tree->deleted)
571 return tree;
574 for_each_child(tree, child) {
583 struct node *get_node_by_ref(struct node *tree, const char *ref)
585 struct node *target = tree;
589 return tree;
606 target = get_node_by_label(tree, label);
658 uint32_t guess_boot_cpuid(struct node *tree)
663 cpus = get_node_by_path(tree, "/cpus");