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()
213 struct device *parent) in of_platform_device_create() argument
215 return of_platform_device_create_pdata(np, bus_id, NULL, parent); in of_platform_device_create()
223 struct device *parent) in of_amba_device_create() argument
244 dev->dev.parent = parent ? : &platform_bus; in of_amba_device_create()
287 struct device *parent) in of_amba_device_create() argument
331 struct device *parent, bool strict) in of_platform_bus_create() argument
358 of_amba_device_create(bus, bus_id, platform_data, parent); in of_platform_bus_create()
362 dev = of_platform_device_create_pdata(bus, bus_id, platform_data, parent); in of_platform_bus_create()
389 struct device *parent) in of_platform_bus_probe() argument
403 rc = of_platform_bus_create(root, matches, NULL, parent, false); in of_platform_bus_probe()
407 rc = of_platform_bus_create(child, matches, NULL, parent, false); in of_platform_bus_probe()
441 struct device *parent) in of_platform_populate() argument
451 rc = of_platform_bus_create(child, matches, lookup, parent, true); in of_platform_populate()
466 struct device *parent) in of_platform_default_populate() argument
469 parent); in of_platform_default_populate()
508 void of_platform_depopulate(struct device *parent) in of_platform_depopulate() argument
510 if (parent->of_node && of_node_check_flag(parent->of_node, OF_POPULATED_BUS)) { in of_platform_depopulate()
511 device_for_each_child(parent, NULL, of_platform_device_destroy); in of_platform_depopulate()
512 of_node_clear_flag(parent->of_node, OF_POPULATED_BUS); in of_platform_depopulate()
528 if (!of_node_check_flag(rd->dn->parent, OF_POPULATED_BUS)) in of_platform_notify()
536 pdev_parent = of_find_device_by_node(rd->dn->parent); in of_platform_notify()