Searched refs:child (Results 1 - 25 of 101) sorted by relevance

12345

/u-boot/drivers/misc/
H A Dgdsys_soc.h12 * @child: The child device on the FPGA bus needing access to the FPGA.
22 int gdsys_soc_get_fpga(struct udevice *child, struct udevice **fpga);
H A Dgdsys_soc.c27 int gdsys_soc_get_fpga(struct udevice *child, struct udevice **fpga) argument
31 if (!child->parent) {
32 debug("%s: Invalid parent\n", child->name);
36 if (!device_is_compatible(child->parent, "gdsys,soc")) {
37 debug("%s: Not child of a gdsys soc\n", child->name);
41 bus_priv = dev_get_priv(child->parent);
H A Dtegra_car.c20 struct udevice *child; local
25 dev_ofnode(dev), &child);
31 &child);
H A Dstm32_rcc.c49 struct udevice *child; local
64 dev_ofnode(dev), &child);
77 dev_ofnode(dev), &child);
/u-boot/arch/arm/mach-socfpga/
H A Dpinmux_arria10.c12 static int do_pinctr_pin(const void *blob, int child, const char *node_name) argument
20 base_addr = fdtdec_get_addr_size(blob, child, "reg", &size);
22 cell = fdt_getprop(blob, child, "pinctrl-single,pins", &len);
40 int child, len; local
43 child = fdt_first_subnode(blob, node);
45 if (child < 0)
48 node_name = fdt_get_name(blob, child, &len);
52 return do_pinctr_pin(blob, child, node_name);
54 child = fdt_next_subnode(blob, child);
[all...]
/u-boot/scripts/kconfig/
H A Dconf.c232 struct menu *child; local
267 for (child = menu->list; child; child = child->next) {
268 if (!menu_is_visible(child))
270 if (!child->sym) {
271 printf("%*c %s\n", indent, '*', menu_get_prompt(child));
275 if (child->sym == def_sym) {
280 printf(" %d. %s", cnt, menu_get_prompt(child));
348 struct menu *child; local
414 struct menu *child; local
[all...]
H A Dmconf.c469 struct menu *child; local
533 for (child = menu->list; child; child = child->next) {
534 if (menu_is_visible(child) && child->sym == def_sym)
535 def_menu = child;
638 for (child = menu->list; child; chil
798 struct menu *child; local
[all...]
H A Dnconf.c739 struct menu *child; local
800 for (child = menu->list; child; child = child->next) {
801 if (menu_is_visible(child) && child->sym == def_sym)
802 def_menu = child;
916 for (child = menu->list; child; chil
1234 struct menu *child = NULL; local
[all...]
H A Dgconf.c1091 struct menu *child; local
1097 for (child = menu->list; child; child = child->next) {
1098 if (menu_is_visible(child)
1099 && child->sym == def_sym)
1100 def_menu = child;
1218 GtkTreeIter *child = &iter; local
1222 valid = gtk_tree_model_iter_children(model2, child, paren
1338 struct menu *child; local
1428 struct menu *child; local
[all...]
/u-boot/drivers/net/
H A Dsandbox-raw-bus.c18 struct udevice *child; local
40 device_bind_driver(dev, "eth_sandbox_raw", ub_ifname, &child);
42 device_set_name_alloced(child);
43 device_probe(child);
44 priv = dev_get_priv(child);
/u-boot/cmd/
H A Dvirtio.c25 struct udevice *bus, *child; local
32 device_foreach_child_probe(child, bus)
H A Dusb.c346 struct udevice *child; local
348 for (device_find_first_child(dev->dev, &child);
349 child;
350 device_find_next_child(&child)) {
351 if (device_get_uclass_id(child) == UCLASS_BLK)
390 /* correct last child */
408 struct udevice *child; local
410 for (device_find_first_child(dev->dev, &child);
411 child;
412 device_find_next_child(&child)) {
601 struct udevice *child; local
[all...]
H A Dclk.c20 struct udevice *child; local
52 device_foreach_child_probe(child, dev) {
53 if (device_get_uclass_id(child) != UCLASS_CLK)
55 if (child == dev)
57 is_last = list_is_last(&child->sibling_node, &dev->child_head);
58 show_clks(child, depth, (last_flag << 1) | is_last);
/u-boot/common/
H A Dcli_hush.c196 struct child_prog *child; member in struct:p_context
235 struct pipe *family; /* pointer back to the child's parent pipe */
392 static int builtin_cd(struct child_prog *child);
393 static int builtin_env(struct child_prog *child);
394 static int builtin_eval(struct child_prog *child);
395 static int builtin_exec(struct child_prog *child);
396 static int builtin_exit(struct child_prog *child);
397 static int builtin_export(struct child_prog *child);
398 static int builtin_fg_bg(struct child_prog *child);
399 static int builtin_help(struct child_prog *child);
540 builtin_eval(struct child_prog *child) argument
556 builtin_cd(struct child_prog *child) argument
583 builtin_exec(struct child_prog *child) argument
593 builtin_exit(struct child_prog *child) argument
601 builtin_export(struct child_prog *child) argument
648 builtin_fg_bg(struct child_prog *child) argument
720 builtin_jobs(struct child_prog *child) argument
745 builtin_read(struct child_prog *child) argument
774 builtin_set(struct child_prog *child) argument
790 builtin_shift(struct child_prog *child) argument
807 builtin_source(struct child_prog *child) argument
833 builtin_umask(struct child_prog *child) argument
851 builtin_unset(struct child_prog *child) argument
858 builtin_not_written(struct child_prog *child) argument
1261 pseudo_exec(struct child_prog *child) argument
1538 struct child_prog *child; local
1551 struct child_prog *child; local
1936 struct child_prog *child; local
2294 struct child_prog *child=ctx->child; local
2447 struct child_prog *child=ctx->child; local
2741 struct child_prog *child = ctx->child; local
[all...]
/u-boot/drivers/pinctrl/tegra/
H A Dpinctrl-tegra20.c91 struct udevice *child; local
93 device_foreach_child(child, config) {
100 if (!strncmp(child->name, "conf_", 5))
101 tegra_pinctrl_set_pin(child);
102 else if (!strncmp(child->name, "drive_", 6))
105 tegra_pinctrl_set_func(child);
/u-boot/drivers/phy/
H A Dphy-apple-atc.c36 struct udevice *child; local
39 dev_ofnode(dev), &child);
/u-boot/drivers/core/
H A Ddump.c38 struct udevice *child; local
69 device_foreach_child(child, dev)
70 devs[count++] = child;
79 device_foreach_child(child, dev) {
80 is_last = list_is_last(&child->sibling_node,
82 show_devices(child, depth + 1,
108 struct udevice *child; local
113 device_foreach_child(child, dev) {
115 if (!strncmp(child->name, dev_name, len)) {
116 dm_dump_tree_single(child, sor
[all...]
/u-boot/drivers/power/domain/
H A Dimx8-power-domain-legacy.c137 struct udevice *child; local
153 for (device_find_first_child(dev, &child);
154 child;
155 device_find_next_child(&child)) {
156 if (device_active(child)) {
158 (struct imx8_power_domain_priv *)dev_get_priv(child);
188 struct udevice *child; local
211 for (device_find_first_child(parent, &child); child;
212 device_find_next_child(&child)) {
[all...]
/u-boot/tools/binman/etype/
H A Datf_fip.py253 def ReadChildData(self, child, decomp=True, alt_format=None):
261 fent = reader.get_entry(child._fip_type or child._fip_uuid)
267 # return self.fip_data[child.offset:child.offset + child.size]
269 def WriteChildData(self, child):
270 # Recreate the data structure, leaving the data for this child alone,
271 # so that child.data is used to pack into the FIP.
272 self.ObtainContents(skip_entry=child)
[all...]
/u-boot/include/linux/
H A Drbtree_augmented.h117 struct rb_node *child = node->rb_right, *tmp = node->rb_left; local
123 * Case 1: node to erase has no more than 1 child (easy!)
125 * Note that if there is one child it must be red due to 5)
131 __rb_change_child(node, child, parent, root);
132 if (child) {
133 child->__rb_parent_color = pc;
138 } else if (!child) {
139 /* Still case 1, but this time the child is node->rb_left */
146 struct rb_node *successor = child, *child2;
147 tmp = child
[all...]
/u-boot/include/acpi/
H A Dacpi_dp.h35 * struct acpi_dp *child = acpi_dp_new_table("CHLD");
36 * acpi_dp_add_string(child, "childstring", "CHILD");
37 * acpi_dp_add_integer(child, "childint", 100);
39 * _DSD table with integer and gpio and child pointer:
43 * acpi_dp_add_child(dsd, "child", child);
56 * Package() { "child", CHLD }
83 * @ACPI_DP_TYPE_CHILD: Child object, with siblings in that child's @next
99 * @name: Name of object, typically _DSD but could be CHLD for a child object.
102 * @child
114 struct acpi_dp *child; member in union:acpi_dp::__anon252
[all...]
/u-boot/drivers/power/pmic/
H A Dfan53555.c49 * have a subnode. So we have to rebind a child device (the one
54 struct udevice *child; local
66 dev_ofnode(dev), &child);
H A Dpmic-uclass.c27 struct udevice *child; local
41 debug("* Found child node: '%s'\n", node_name);
47 child = NULL;
68 debug(" - found child driver: '%s'\n", drv->name);
71 0, node, &child);
73 debug(" - child binding error: %d\n", ret);
77 debug(" - bound child device: '%s'\n", child->name);
79 child->driver_data = trailing_strtol(node_name);
81 debug(" - set 'child
[all...]
/u-boot/lib/
H A Dof_live.c132 np->sibling = dad->child;
133 dad->child = np;
242 * Reverse the child list. Some drivers assumes node order matches .dts
245 if (!dryrun && np->child) {
246 struct device_node *child = np->child; local
247 np->child = NULL;
248 while (child) {
249 struct device_node *next = child->sibling;
251 child
[all...]
/u-boot/scripts/dtc/
H A Dlivetree.c103 struct node *child; local
110 for_each_child(new, child) {
111 child->parent = new;
197 /* Move the override child nodes into the primary node. If
200 /* Pop the child node off the list */
221 /* if no collision occurred, add child to the old node. */
302 void add_child(struct node *parent, struct node *child) argument
306 child->next_sibling = NULL;
307 child->parent = parent;
313 *p = child;
332 struct node *child; local
504 struct node *child; local
516 struct node *child; local
542 struct node *child, *node; local
562 struct node *child, *node; local
[all...]

Completed in 141 milliseconds

12345