Lines Matching refs:tree
170 struct node *tree, uint32_t boot_cpuid_phys)
176 bi->dt = tree;
222 struct node *get_node_by_path(struct node *tree, const char *path)
228 return tree;
235 for_each_child(tree, child) {
245 struct node *get_node_by_label(struct node *tree, const char *label)
251 if (tree->label && streq(tree->label, label))
252 return tree;
254 for_each_child(tree, child) {
263 struct node *get_node_by_phandle(struct node *tree, cell_t phandle)
269 if (tree->phandle == phandle)
270 return tree;
272 for_each_child(tree, child) {
281 struct node *get_node_by_ref(struct node *tree, const char *ref)
284 return get_node_by_path(tree, ref);
286 return get_node_by_label(tree, ref);