Lines Matching defs:tchild
412 struct device_node *tchild;
418 for_each_child_of_node(target->np, tchild)
419 if (!of_node_cmp(node_kbasename, kbasename(tchild->full_name)))
422 if (!tchild) {
423 tchild = __of_node_dup(NULL, node_kbasename);
424 if (!tchild)
427 tchild->parent = target->np;
428 tchild->name = __of_get_property(node, "name", NULL);
430 if (!tchild->name)
431 tchild->name = "<NULL>";
436 tchild->phandle = be32_to_cpup(phandle);
438 of_node_set_flag(tchild, OF_OVERLAY);
440 ret = of_changeset_attach_node(&ovcs->cset, tchild);
444 target_child.np = tchild;
448 of_node_put(tchild);
452 if (node->phandle && tchild->phandle) {
455 target_child.np = tchild;
459 of_node_put(tchild);