Lines Matching refs:parent

79 	while (node->parent) {  in of_device_make_bus_id()
95 node = node->parent; in of_device_make_bus_id()
107 struct device *parent) in of_device_alloc() argument
142 dev->dev.parent = parent ? : &platform_bus; in of_device_alloc()
172 struct device *parent) in of_platform_device_create_pdata() argument
180 dev = of_device_alloc(np, bus_id, parent); in of_platform_device_create_pdata()
212 struct device *parent) in of_platform_device_create() argument
214 return of_platform_device_create_pdata(np, bus_id, NULL, parent); in of_platform_device_create()
222 struct device *parent) in of_amba_device_create() argument
243 dev->dev.parent = parent ? : &platform_bus; in of_amba_device_create()
286 struct device *parent) in of_amba_device_create() argument
330 struct device *parent, bool strict) in of_platform_bus_create() argument
357 of_amba_device_create(bus, bus_id, platform_data, parent); in of_platform_bus_create()
361 dev = of_platform_device_create_pdata(bus, bus_id, platform_data, parent); in of_platform_bus_create()
388 struct device *parent) in of_platform_bus_probe() argument
402 rc = of_platform_bus_create(root, matches, NULL, parent, false); in of_platform_bus_probe()
406 rc = of_platform_bus_create(child, matches, NULL, parent, false); in of_platform_bus_probe()
438 struct device *parent) in of_platform_populate() argument
448 rc = of_platform_bus_create(child, matches, lookup, parent, true); in of_platform_populate()
494 void of_platform_depopulate(struct device *parent) in of_platform_depopulate() argument
496 if (parent->of_node && of_node_check_flag(parent->of_node, OF_POPULATED_BUS)) { in of_platform_depopulate()
497 device_for_each_child(parent, NULL, of_platform_device_destroy); in of_platform_depopulate()
498 of_node_clear_flag(parent->of_node, OF_POPULATED_BUS); in of_platform_depopulate()
514 if (!of_node_check_flag(rd->dn->parent, OF_POPULATED_BUS)) in of_platform_notify()
522 pdev_parent = of_find_device_by_node(rd->dn->parent); in of_platform_notify()