Lines Matching refs:parent
81 while (node->parent) { in of_device_make_bus_id()
96 node = node->parent; in of_device_make_bus_id()
108 struct device *parent) in of_device_alloc() argument
144 dev->dev.parent = parent ? : &platform_bus; in of_device_alloc()
169 struct device *parent) in of_platform_device_create_pdata() argument
177 dev = of_device_alloc(np, bus_id, parent); in of_platform_device_create_pdata()
211 struct device *parent) in of_platform_device_create() argument
213 return of_platform_device_create_pdata(np, bus_id, NULL, parent); in of_platform_device_create()
221 struct device *parent) in of_amba_device_create() argument
244 dev->dev.parent = parent ? : &platform_bus; in of_amba_device_create()
286 struct device *parent) in of_amba_device_create() argument
348 struct device *parent, bool strict) in of_platform_bus_create() argument
387 of_amba_device_create(bus, bus_id, platform_data, parent); in of_platform_bus_create()
391 dev = of_platform_device_create_pdata(bus, bus_id, platform_data, parent); in of_platform_bus_create()
418 struct device *parent) in of_platform_bus_probe() argument
432 rc = of_platform_bus_create(root, matches, NULL, parent, false); in of_platform_bus_probe()
436 rc = of_platform_bus_create(child, matches, NULL, parent, false); in of_platform_bus_probe()
470 struct device *parent) in of_platform_populate() argument
484 rc = of_platform_bus_create(child, matches, lookup, parent, true); in of_platform_populate()
501 struct device *parent) in of_platform_default_populate() argument
504 parent); in of_platform_default_populate()
589 void of_platform_depopulate(struct device *parent) in of_platform_depopulate() argument
591 if (parent->of_node && of_node_check_flag(parent->of_node, OF_POPULATED_BUS)) { in of_platform_depopulate()
592 device_for_each_child_reverse(parent, NULL, of_platform_device_destroy); in of_platform_depopulate()
593 of_node_clear_flag(parent->of_node, OF_POPULATED_BUS); in of_platform_depopulate()
680 if (!of_node_check_flag(rd->dn->parent, OF_POPULATED_BUS)) in of_platform_notify()
688 pdev_parent = of_find_device_by_node(rd->dn->parent); in of_platform_notify()