Lines Matching defs:parent
88 parent_adev = ACPI_COMPANION(pdev->dev.parent);
94 * device directly under the parent that matches the acpi_pnpid or
95 * it will use the parent handle if is no acpi_pnpid is given.
119 static int mfd_add_device(struct device *parent, int id,
138 pdev->dev.parent = parent;
140 pdev->dev.dma_mask = parent->dma_mask;
141 pdev->dev.dma_parms = parent->dma_parms;
142 pdev->dev.coherent_dma_mask = parent->coherent_dma_mask;
146 parent, cell->parent_supplies,
151 if (parent->of_node && cell->of_compatible) {
152 for_each_child_of_node(parent->of_node, np) {
179 res[r].parent = mem_base;
198 res[r].parent = cell->resources[r].parent;
237 int mfd_add_devices(struct device *parent, int id,
253 ret = mfd_add_device(parent, id, cells + i, cnts + i, mem_base,
263 mfd_remove_devices(parent);
293 void mfd_remove_devices(struct device *parent)
297 device_for_each_child(parent, &cnts, mfd_remove_devices_fn);
309 /* fetch the parent cell's device (should already be registered!) */
323 if (mfd_add_device(pdev->dev.parent, -1, &cell_entry,