Lines Matching defs:parent
149 * device (OR) in the remote endpoint parent node to indicate pwrctrl
223 * @parent: PCI host controller device
229 void pci_pwrctrl_power_off_devices(struct device *parent)
231 struct device_node *np = parent->of_node;
288 * @parent: PCI host controller device
297 int pci_pwrctrl_power_on_devices(struct device *parent)
299 struct device_node *np = parent->of_node;
324 struct device *parent)
330 ret = pci_pwrctrl_create_device(child, parent);
343 dev_dbg(parent, "Skipping OF node: %s\n", np->name);
348 pdev = of_platform_device_create(np, NULL, parent);
350 dev_err(parent, "Failed to create pwrctrl device for node: %s\n", np->name);
360 * @parent: PCI host controller device
368 int pci_pwrctrl_create_devices(struct device *parent)
372 for_each_available_child_of_node_scoped(parent->of_node, child) {
373 ret = pci_pwrctrl_create_device(child, parent);
375 pci_pwrctrl_destroy_devices(parent);
404 * @parent: PCI host controller device
409 void pci_pwrctrl_destroy_devices(struct device *parent)
411 struct device_node *np = parent->of_node;