Searched refs:parent (Results 1 - 25 of 1265) sorted by relevance

1234567891011>>

/drivers/acpi/acpica/
H A Dpswalk.c66 union acpi_parse_object *parent = NULL; local
76 if (op != parent) {
93 parent = op->common.parent;
105 op = parent;
H A Dpstree.c176 /* Set the parent in this arg and any args linked after it */
179 arg->common.parent = op;
205 union acpi_parse_object *parent; local
228 /* Look for a sibling of parent */
230 parent = op->common.parent;
232 while (parent) {
233 arg = acpi_ps_get_arg(parent, 0);
240 /* Reached parent of origin, end search */
245 if (parent
[all...]
H A Dpsparse.c160 if (op->common.parent) {
161 prev = op->common.parent->common.value.arg;
174 acpi_ps_get_opcode_info(op->common.parent->common.
200 if ((op->common.parent->common.aml_opcode ==
202 || (op->common.parent->common.aml_opcode ==
204 || (op->common.parent->common.aml_opcode ==
206 || (op->common.parent->common.aml_opcode ==
208 || (op->common.parent->common.aml_opcode ==
210 || (op->common.parent->common.aml_opcode ==
218 if ((op->common.parent
[all...]
/drivers/i2c/
H A Di2c-mux.c33 struct i2c_adapter *parent; member in struct:i2c_mux_priv
45 struct i2c_adapter *parent = priv->parent; local
50 ret = priv->select(parent, priv->mux_dev, priv->chan_id);
52 ret = parent->algo->master_xfer(parent, msgs, num);
54 priv->deselect(parent, priv->mux_dev, priv->chan_id);
65 struct i2c_adapter *parent = priv->parent; local
70 ret = priv->select(parent, pri
84 struct i2c_adapter *parent = priv->parent; local
89 i2c_add_mux_adapter(struct i2c_adapter *parent, void *mux_dev, u32 force_nr, u32 chan_id, int (*select) (struct i2c_adapter *, void *, u32), int (*deselect) (struct i2c_adapter *, void *, u32)) argument
[all...]
/drivers/pci/hotplug/
H A Dpciehp_pci.c39 struct pci_bus *parent = dev->bus; local
40 int pass, busnr, start = parent->secondary;
41 int end = parent->subordinate;
44 if (!pci_find_bus(pci_domain_nr(parent), busnr))
53 busnr = pci_scan_bridge(parent, dev, busnr, pass);
64 struct pci_bus *parent = bridge->subordinate; local
68 dev = pci_get_slot(parent, PCI_DEVFN(0, 0));
72 pci_domain_nr(parent), parent->number);
77 num = pci_scan_slot(parent, PCI_DEVF
119 struct pci_bus *parent = p_slot->ctrl->pcie->port->subordinate; local
[all...]
H A Dshpchp_pci.c40 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; local
44 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0));
48 pci_domain_nr(parent), p_slot->bus, p_slot->device);
53 num = pci_scan_slot(parent, PCI_DEVFN(p_slot->device, 0));
60 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, fn));
67 unsigned char busnr, start = parent->secondary;
68 unsigned char end = parent->subordinate;
70 if (!pci_find_bus(pci_domain_nr(parent),
80 child = pci_add_new_bus(parent, dev, busnr);
94 pci_bus_assign_resources(parent);
105 struct pci_bus *parent = p_slot->ctrl->pci_dev->subordinate; local
[all...]
/drivers/pci/
H A Dirq.c15 struct pci_dev *parent = to_pci_dev(pdev->dev.parent); local
19 dev_name(&parent->dev), parent->vendor, parent->device);
H A Dof.c49 if (WARN_ON(bus->self || bus->parent))
53 * create above the root bus or it's own parent. Normally only
58 if (bus->bridge->parent && bus->bridge->parent->of_node)
59 return of_node_get(bus->bridge->parent->of_node);
/drivers/uwb/
H A Dumc-dev.c22 * @parent: parent of the new UMC device.
25 * The new UMC device will have a bus ID of the parent with '-n'
28 struct umc_dev *umc_device_create(struct device *parent, int n) argument
34 dev_set_name(&umc->dev, "%s-%d", dev_name(parent), n);
35 umc->dev.parent = parent;
39 umc->dev.dma_mask = parent->dma_mask;
56 err = request_resource(umc->resource.parent, &umc->resource);
H A Dumc-bus.c63 struct device *parent = umc->dev.parent; local
66 if (device_trylock(parent))
68 ret = device_for_each_child(parent, parent, umc_bus_pre_reset_helper);
70 ret = device_for_each_child(parent, parent, umc_bus_post_reset_helper);
71 device_unlock(parent);
78 * umc_match_pci_id - match a UMC driver to a UMC device's parent PCI device.
81 * @umc: umc device whose parent i
106 umc_bus_rescan(struct device *parent) argument
[all...]
/drivers/video/backlight/
H A Dlocomolcd.c36 locomo_gpio_set_dir(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VSHA_ON, 0);
37 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VSHA_ON, 1);
40 locomo_gpio_set_dir(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VSHD_ON, 0);
41 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VSHD_ON, 1);
47 locomo_gpio_set_dir(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VEE_ON, 0);
48 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VEE_ON, 1);
61 locomo_gpio_set_dir(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_MOD, 0);
62 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_MOD, 1);
71 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VSHA_ON, 0);
74 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VEE_O
[all...]
/drivers/video/nvidia/
H A Dnv_of.c34 struct device_node *parent, *dp; local
41 parent = pci_device_to_OF_node(par->pci_dev);
42 if (parent == NULL)
49 (dp = of_get_next_child(parent, dp)) != NULL;) {
69 pedid = of_get_property(parent, propnames[i], NULL);
/drivers/i2c/muxes/
H A Dgpio-i2cmux.c21 struct i2c_adapter *parent; member in struct:gpiomux
56 struct i2c_adapter *parent; local
67 parent = i2c_get_adapter(pdata->parent);
68 if (!parent) {
70 pdata->parent);
80 mux->parent = parent;
108 mux->adap[i] = i2c_add_mux_adapter(parent, mux, nr, i,
118 pdata->n_values, parent
[all...]
/drivers/rtc/
H A Dhctosys.c44 dev_err(rtc->dev.parent,
52 dev_err(rtc->dev.parent,
61 dev_info(rtc->dev.parent,
/drivers/ata/
H A Dlibata-transport.h10 int ata_tport_add(struct device *parent, struct ata_port *ap);
/drivers/hid/
H A Dhid-roccat-arvo.c35 hid_get_drvdata(dev_get_drvdata(dev->parent->parent));
37 interface_to_usbdev(to_usb_interface(dev->parent->parent));
55 hid_get_drvdata(dev_get_drvdata(dev->parent->parent));
57 interface_to_usbdev(to_usb_interface(dev->parent->parent));
83 hid_get_drvdata(dev_get_drvdata(dev->parent->parent));
[all...]
/drivers/mca/
H A Dmca-device.c65 struct mca_bus *mca_bus = to_mca_bus(mca_dev->dev.parent);
91 struct mca_bus *mca_bus = to_mca_bus(mca_dev->dev.parent);
112 struct mca_bus *mca_bus = to_mca_bus(mca_dev->dev.parent);
135 struct mca_bus *mca_bus = to_mca_bus(mca_dev->dev.parent);
158 struct mca_bus *mca_bus = to_mca_bus(mca_dev->dev.parent);
/drivers/regulator/
H A Dtps6586x-regulator.c75 return rdev_get_dev(rdev)->parent->parent;
92 static int __tps6586x_ldo_set_voltage(struct device *parent, argument
115 return tps6586x_update(parent, ri->volt_reg, val, mask);
126 struct device *parent = to_tps6586x_dev(rdev); local
128 return __tps6586x_ldo_set_voltage(parent, ri, min_uV, max_uV,
135 struct device *parent = to_tps6586x_dev(rdev); local
139 ret = tps6586x_read(parent, ri->volt_reg, &val);
156 struct device *parent = to_tps6586x_dev(rdev); local
159 ret = __tps6586x_ldo_set_voltage(parent, r
170 struct device *parent = to_tps6586x_dev(rdev); local
179 struct device *parent = to_tps6586x_dev(rdev); local
188 struct device *parent = to_tps6586x_dev(rdev); local
305 tps6586x_regulator_preinit(struct device *parent, struct tps6586x_regulator *ri) argument
343 struct device *parent = pdev->dev.parent; local
[all...]
/drivers/of/
H A Dplatform.c128 * @parent: Parent device.
132 struct device *parent)
168 dev->dev.parent = parent;
184 * @parent: Linux device model parent device.
193 struct device *parent)
200 dev = of_device_alloc(np, bus_id, parent);
228 * @parent: Linux device model parent devic
130 of_device_alloc(struct device_node *np, const char *bus_id, struct device *parent) argument
189 of_platform_device_create_pdata( struct device_node *np, const char *bus_id, void *platform_data, struct device *parent) argument
233 of_platform_device_create(struct device_node *np, const char *bus_id, struct device *parent) argument
242 of_amba_device_create(struct device_node *node, const char *bus_id, void *platform_data, struct device *parent) argument
297 of_amba_device_create(struct device_node *node, const char *bus_id, void *platform_data, struct device *parent) argument
342 of_platform_bus_create(struct device_node *bus, const struct of_device_id *matches, const struct of_dev_auxdata *lookup, struct device *parent, bool strict) argument
396 of_platform_bus_probe(struct device_node *root, const struct of_device_id *matches, struct device *parent) argument
444 of_platform_populate(struct device_node *root, const struct of_device_id *matches, const struct of_dev_auxdata *lookup, struct device *parent) argument
[all...]
H A Dof_pci.c18 struct device_node *of_pci_find_child_device(struct device_node *parent, argument
23 for_each_child_of_node(parent, node) {
27 * Some OFs create a parent node "multifunc-device" as
/drivers/input/mouse/
H A Dpsmouse-base.c1131 struct psmouse *parent = NULL, *psmouse = local
1143 if (serio->parent && serio->id.type == SERIO_PS_PSTHRU) {
1144 parent = serio_get_drvdata(serio->parent);
1145 psmouse_deactivate(parent);
1216 if (parent)
1217 psmouse_activate(parent);
1229 struct psmouse *parent = NULL; local
1233 if (serio->parent && serio->id.type == SERIO_PS_PSTHRU) {
1234 parent
1277 struct psmouse *psmouse, *parent = NULL; local
1379 struct psmouse *psmouse, *parent = NULL; local
1474 struct psmouse *parent = NULL; local
1579 struct psmouse *psmouse, *parent = NULL; local
1648 struct psmouse *parent = NULL; local
[all...]
/drivers/staging/vme/
H A Dvme_bridge.h10 struct vme_bridge *parent; member in struct:vme_master_resource
27 struct vme_bridge *parent; member in struct:vme_slave_resource
53 struct vme_dma_resource *parent; member in struct:vme_dma_list
60 struct vme_bridge *parent; member in struct:vme_dma_resource
71 struct vme_bridge *parent; member in struct:vme_lm_resource
113 struct device *parent; /* Parent device (eg. pdev->dev for PCI) */ member in struct:vme_bridge
162 /* Bridge parent interface */
/drivers/base/power/
H A Druntime.c298 * notification for its parent (if the suspend succeeded and both
299 * ignore_children of parent->power and irq_safe of dev->power are not set).
310 struct device *parent = NULL; variable in typeref:struct:device
436 if (dev->parent) {
437 parent = dev->parent;
438 atomic_add_unless(&parent->power.child_count, -1, 0);
448 /* Maybe the parent is now able to suspend. */
449 if (parent && !parent
508 struct device *parent = NULL; variable in typeref:struct:device
614 pm_runtime_get_noresume(parent); variable
674 pm_runtime_put(parent); variable
899 struct device *parent = dev->parent; local
[all...]
/drivers/clk/
H A Dclk.c123 struct clk *parent; local
130 parent = clk->parent;
136 if (!parent)
142 if (parent->dentry)
143 pdentry = parent->dentry;
272 return !clk ? NULL : clk->parent;
299 if (!clk->parent)
394 __clk_unprepare(clk->parent);
424 ret = __clk_prepare(clk->parent);
947 struct clk *parent; local
1056 __clk_set_parent(struct clk *clk, struct clk *parent) argument
1128 clk_set_parent(struct clk *clk, struct clk *parent) argument
[all...]
/drivers/parisc/
H A Dgsc.h38 int gsc_common_setup(struct parisc_device *parent, struct gsc_asic *gsc_asic);
43 void gsc_fixup_irqs(struct parisc_device *parent, void *ctrl,

Completed in 7080 milliseconds

1234567891011>>