Lines Matching defs:tree
55 static Prom_node *walk_di_tree(Sys_tree *tree, Prom_node *root,
69 * walk libdevinfo's device tree instead of walking OBP's
70 * device tree.
73 walk_di_tree(Sys_tree *tree, Prom_node *root, di_node_t di_node)
138 add_node(tree, pnode);
160 add_node(tree, pnode);
172 pnode->child = walk_di_tree(tree, pnode, curnode);
177 return (walk_di_tree(tree, root, curnode));
179 pnode->sibling = walk_di_tree(tree, root, curnode);
408 * libdevinfo for getting the device tree instead of OBP.
414 Prom_node *root_node; /* root node of OBP device tree */
415 di_node_t di_root_node; /* root of the devinfo tree */
424 /* set the the system tree fields */
431 * create a snapshot of the kernel device tree
439 * create a handle to the PROM device tree.
446 * walk the devinfo tree and build up a list of all