Lines Matching defs:child
333 * recursively create devices for all the child nodes.
341 struct device_node *child;
385 for_each_child_of_node(bus, child) {
386 pr_debug(" create child: %pOF\n", child);
387 rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict);
389 of_node_put(child);
410 struct device_node *child;
423 } else for_each_child_of_node(root, child) {
424 if (!of_match_node(matches, child))
426 rc = of_platform_bus_create(child, matches, NULL, parent, false);
428 of_node_put(child);
462 struct device_node *child;
473 for_each_child_of_node(root, child) {
474 rc = of_platform_bus_create(child, matches, lookup, parent, true);
476 of_node_put(child);