Lines Matching refs:child
333 struct device_node *child; in of_platform_bus_create() local
365 for_each_child_of_node(bus, child) { in of_platform_bus_create()
366 pr_debug(" create child: %s\n", child->full_name); in of_platform_bus_create()
367 rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict); in of_platform_bus_create()
369 of_node_put(child); in of_platform_bus_create()
390 struct device_node *child; in of_platform_bus_probe() local
403 } else for_each_child_of_node(root, child) { in of_platform_bus_probe()
404 if (!of_match_node(matches, child)) in of_platform_bus_probe()
406 rc = of_platform_bus_create(child, matches, NULL, parent, false); in of_platform_bus_probe()
440 struct device_node *child; in of_platform_populate() local
447 for_each_child_of_node(root, child) { in of_platform_populate()
448 rc = of_platform_bus_create(child, matches, lookup, parent, true); in of_platform_populate()