Searched defs:child (Results 1 - 25 of 113) sorted by relevance

12345

/drivers/acpi/acpica/
H A Dpstree.c214 /* Look for an argument or child */
264 * PARAMETERS: op - Get the child of this Op
274 union acpi_parse_object *child = NULL; local
285 child = acpi_ps_get_arg(op, 0);
295 child = acpi_ps_get_arg(op, 1);
301 child = acpi_ps_get_arg(op, 2);
307 child = acpi_ps_get_arg(op, 3);
317 return (child);
H A Ddsfield.c292 union acpi_parse_object *child; local
369 child = arg->common.value.arg;
370 if (child->common.aml_opcode == AML_INT_BYTELIST_OP) {
371 info->resource_buffer = child->named.data;
373 (u16)child->named.value.integer;
378 child->common.value.
385 ACPI_ERROR_NAMESPACE(child->common.
/drivers/acpi/
H A Dcontainer.c49 struct acpi_device *child; local
52 list_for_each_entry(child, &adev->children, node)
53 if (!acpi_scan_is_offline(child, false))
/drivers/i2c/busses/
H A Di2c-pxa-pci.c25 struct device_node *child; local
40 for_each_child_of_node(dev->dev.of_node, child) {
45 ret = of_address_to_resource(child, 0, &r);
55 prop = of_get_property(child, "fast-mode", NULL);
62 if (!child) {
71 of_node_put(child);
76 pdev->dev.of_node = child;
/drivers/leds/
H A Dleds-syscon.c82 struct device_node *child; local
106 for_each_available_child_of_node(np, child) {
111 if (of_property_match_string(child, "compatible",
121 if (of_property_read_u32(child, "offset", &sled->offset))
123 if (of_property_read_u32(child, "mask", &sled->mask))
126 of_get_property(child, "label", NULL) ? : child->name;
128 of_get_property(child, "linux,default-trigger", NULL);
130 state = of_get_property(child, "default-state", NULL);
H A Dleds-pwm.c100 struct led_pwm *led, struct device_node *child)
113 if (child)
114 led_data->pwm = devm_of_pwm_get(dev, child, NULL);
124 if (child)
148 struct device_node *child; local
154 for_each_child_of_node(dev->of_node, child) {
155 led.name = of_get_property(child, "label", NULL) ? :
156 child->name;
158 led.default_trigger = of_get_property(child,
160 led.active_low = of_property_read_bool(child, "activ
99 led_pwm_add(struct device *dev, struct led_pwm_priv *priv, struct led_pwm *led, struct device_node *child) argument
[all...]
H A Dleds-gpio.c168 struct device_node *np = pdev->dev.of_node, *child; local
177 for_each_available_child_of_node(np, child)
178 if (of_get_gpio(child, 0) == -EPROBE_DEFER)
186 for_each_available_child_of_node(np, child) {
191 led.gpio = of_get_gpio_flags(child, 0, &flags);
193 led.name = of_get_property(child, "label", NULL) ? : child->name;
195 of_get_property(child, "linux,default-trigger", NULL);
196 state = of_get_property(child, "default-state", NULL);
206 if (of_get_property(child, "retai
[all...]
/drivers/pci/
H A Dremove.c65 struct pci_dev *child, *tmp; local
74 list_for_each_entry_safe_reverse(child, tmp,
76 pci_stop_bus_device(child);
85 struct pci_dev *child, *tmp; local
88 list_for_each_entry_safe(child, tmp,
90 pci_remove_bus_device(child);
128 struct pci_dev *child, *tmp; local
135 list_for_each_entry_safe_reverse(child, tmp,
137 pci_stop_bus_device(child);
145 struct pci_dev *child, *tm local
[all...]
H A Dsearch.c108 struct pci_bus *child; local
115 child = pci_do_find_bus(tmp, busnr);
116 if (child)
117 return child;
/drivers/regulator/
H A Dof_regulator.c126 * contain a set of child nodes, each providing the init data for one
127 * regulator. The data parsed from a child node will be matched to a regulator
129 * or otherwise the child node's name. Note that the match table is modified
142 struct device_node *child; local
165 for_each_child_of_node(node, child) {
166 name = of_get_property(child,
169 name = child->name;
179 of_get_regulator_init_data(dev, child);
183 child->name);
186 match->of_node = of_node_get(child);
200 struct device_node *search, *child; local
[all...]
H A Dmc13xxx-regulator-core.c168 struct device_node *parent, *child; local
187 for_each_child_of_node(parent, child) {
193 if (!of_node_cmp(child->name,
197 &pdev->dev, child);
198 p->node = child;
209 "Unknown regulator: %s\n", child->name);
/drivers/ata/
H A Dlibahci_platform.c248 struct device_node *child; local
310 for_each_child_of_node(dev->of_node, child) {
313 if (!of_device_is_available(child))
316 if (of_property_read_u32(child, "reg", &port)) {
328 hpriv->phys[port] = devm_of_phy_get(dev, child, NULL);
333 child->name, rc);
/drivers/bus/
H A Dimx-weim.c118 /* get the CS index from this child node's "reg" property. */
144 struct device_node *child; local
153 for_each_child_of_node(pdev->dev.of_node, child) {
154 if (!child->name)
157 ret = weim_timing_setup(child, base, devtype);
160 child->full_name);
/drivers/clk/ux500/
H A Du8500_of_clk.c62 struct device_node *child = NULL; local
540 for_each_child_of_node(np, child) {
543 if (!of_node_cmp(child->name, "prcmu-clock")) {
546 of_clk_add_provider(child, of_clk_src_onecell_get, &clk_data);
548 if (!of_node_cmp(child->name, "prcc-periph-clock"))
549 of_clk_add_provider(child, ux500_twocell_get, prcc_pclk);
551 if (!of_node_cmp(child->name, "prcc-kernel-clock"))
552 of_clk_add_provider(child, ux500_twocell_get, prcc_kclk);
554 if (!of_node_cmp(child->name, "rtc32k-clock"))
555 of_clk_add_provider(child, of_clk_src_simple_ge
[all...]
/drivers/gpu/drm/msm/adreno/
H A Dadreno_device.c151 struct device_node *child, *node = dev->of_node; local
167 for_each_child_of_node(node, child) {
168 if (of_device_is_compatible(child, "qcom,gpu-pwrlevels")) {
170 for_each_child_of_node(child, pwrlvl) {
/drivers/i2c/
H A Di2c-mux.c158 struct device_node *child; local
161 for_each_child_of_node(mux_dev->of_node, child) {
162 ret = of_property_read_u32(child, "reg", &reg);
166 priv->adap.dev.of_node = child;
/drivers/i2c/muxes/
H A Di2c-arb-gpio-challenge.c32 * @child: Child bus
46 struct i2c_adapter *child; member in struct:i2c_arbitrator_data
206 arb->child = i2c_add_mux_adapter(arb->parent, dev, arb, 0, 0, 0,
209 if (!arb->child) {
222 i2c_del_mux_adapter(arb->child);
H A Di2c-mux-gpio.c22 struct i2c_adapter **adap; /* child busses */
65 struct device_node *adapter_np, *child; local
96 for_each_child_of_node(np, child) {
97 of_property_read_u32(child, "reg", values + i);
/drivers/misc/
H A Dsram.c62 struct device_node *np = pdev->dev.of_node, *child; local
104 for_each_available_child_of_node(np, child) {
107 ret = of_address_to_resource(child, 0, &child_res);
111 child->full_name);
118 child->full_name);
/drivers/net/wireless/ti/wlcore/
H A Dsdio.c63 static void wl1271_sdio_set_block_size(struct device *child, argument
66 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent);
74 static int __must_check wl12xx_sdio_raw_read(struct device *child, int addr, argument
78 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent);
92 dev_dbg(child->parent, "sdio read 52 addr 0x%x, byte 0x%02x\n",
100 dev_dbg(child->parent, "sdio read 53 addr 0x%x, %zu bytes\n",
107 dev_err(child->parent, "sdio read failed (%d)\n", ret);
112 static int __must_check wl12xx_sdio_raw_write(struct device *child, int addr, argument
116 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent);
130 dev_dbg(child
200 wl12xx_sdio_set_power(struct device *child, bool enable) argument
[all...]
/drivers/of/
H A Dof_mdio.c43 static int of_mdiobus_register_phy(struct mii_bus *mdio, struct device_node *child, argument
51 is_c45 = of_device_is_compatible(child,
54 if (!is_c45 && !of_get_phy_id(child, &phy_id))
61 rc = irq_of_parse_and_map(child, 0);
73 of_node_get(child);
74 phy->dev.of_node = child;
81 of_node_put(child);
86 child->name, addr);
118 * for each child node of @np.
122 struct device_node *child; local
[all...]
H A Dresolver.c27 * the child node links.
32 struct device_node *child, *found; local
41 for_each_child_of_node(node, child) {
42 found = __of_find_node_by_full_name(child, full_name);
80 struct device_node *child; local
110 for_each_child_of_node(node, child)
111 __of_adjust_tree_phandles(child, phandle_delta);
202 struct device_node *child; local
207 for_each_child_of_node(node, child)
208 if (of_node_cmp(child
244 struct device_node *child, *refnode; local
[all...]
/drivers/usb/host/
H A Dohci-exynos.c44 struct device_node *child; local
50 for_each_available_child_of_node(dev->of_node, child) {
51 ret = of_property_read_u32(child, "reg", &phy_number);
54 of_node_put(child);
60 of_node_put(child);
64 phy = devm_of_phy_get(dev, child, NULL);
66 of_node_put(child);
/drivers/video/fbdev/omap2/dss/
H A Domapdss-boot-init.c194 struct device_node *dss, *child; local
205 for_each_available_child_of_node(dss, child) {
206 if (!of_find_property(child, "compatible", NULL)) {
207 of_node_put(child);
211 omapdss_walk_device(child, true);
/drivers/hid/
H A Dhid-elo.c185 struct usb_device *child = NULL; local
196 usb_hub_for_each_child(hub, i, child) {
197 child_vid = le16_to_cpu(child->descriptor.idVendor);
198 child_pid = le16_to_cpu(child->descriptor.idProduct);

Completed in 491 milliseconds

12345