Lines Matching refs:child
355 struct device_node *child; in of_platform_bus_create() local
393 for_each_child_of_node(bus, child) { in of_platform_bus_create()
394 pr_debug(" create child: %s\n", child->full_name); in of_platform_bus_create()
395 rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict); in of_platform_bus_create()
397 of_node_put(child); in of_platform_bus_create()
418 struct device_node *child; in of_platform_bus_probe() local
431 } else for_each_child_of_node(root, child) { in of_platform_bus_probe()
432 if (!of_match_node(matches, child)) in of_platform_bus_probe()
434 rc = of_platform_bus_create(child, matches, NULL, parent, false); in of_platform_bus_probe()
436 of_node_put(child); in of_platform_bus_probe()
470 struct device_node *child; in of_platform_populate() local
480 for_each_child_of_node(root, child) { in of_platform_populate()
481 rc = of_platform_bus_create(child, matches, lookup, parent, true); in of_platform_populate()
483 of_node_put(child); in of_platform_populate()