Home | History | Annotate | Download | only in dtc

Lines Matching refs:child

103 	struct node *child;
110 for_each_child(new, child) {
111 child->parent = new;
183 /* Move the override child nodes into the primary node. If
186 /* Pop the child node off the list */
207 /* if no collision occurred, add child to the old node. */
282 void add_child(struct node *parent, struct node *child)
286 child->next_sibling = NULL;
287 child->parent = parent;
293 *p = child;
312 struct node *child;
315 for_each_child(node, child)
316 delete_node(child);
484 struct node *child;
486 for_each_child(node, child)
487 if (streq(child->name, nodename))
488 return child;
496 struct node *child;
509 for_each_child(tree, child) {
510 if (p && (strlen(child->name) == p-path) &&
511 strprefixeq(path, p - path, child->name))
512 return get_node_by_path(child, p+1);
513 else if (!p && streq(path, child->name))
514 return child;
522 struct node *child, *node;
531 for_each_child(tree, child) {
532 node = get_node_by_label(child, label);
542 struct node *child, *node;
555 for_each_child(tree, child) {
556 node = get_node_by_phandle(child, phandle);