Lines Matching refs:child
334 struct device_node *child; in of_platform_bus_create() local
366 for_each_child_of_node(bus, child) { in of_platform_bus_create()
367 pr_debug(" create child: %s\n", child->full_name); in of_platform_bus_create()
368 rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict); in of_platform_bus_create()
370 of_node_put(child); in of_platform_bus_create()
391 struct device_node *child; in of_platform_bus_probe() local
404 } else for_each_child_of_node(root, child) { in of_platform_bus_probe()
405 if (!of_match_node(matches, child)) in of_platform_bus_probe()
407 rc = of_platform_bus_create(child, matches, NULL, parent, false); in of_platform_bus_probe()
409 of_node_put(child); in of_platform_bus_probe()
443 struct device_node *child; in of_platform_populate() local
450 for_each_child_of_node(root, child) { in of_platform_populate()
451 rc = of_platform_bus_create(child, matches, lookup, parent, true); in of_platform_populate()
453 of_node_put(child); in of_platform_populate()