/u-boot/arch/arm/mach-socfpga/ |
A D | pinmux_arria10.c | 12 static int do_pinctr_pin(const void *blob, int child, const char *node_name) in do_pinctr_pin() argument 20 base_addr = fdtdec_get_addr_size(blob, child, "reg", &size); in do_pinctr_pin() 22 cell = fdt_getprop(blob, child, "pinctrl-single,pins", &len); in do_pinctr_pin() 40 int child, len; in do_pinctrl_pins() local 43 child = fdt_first_subnode(blob, node); in do_pinctrl_pins() 45 if (child < 0) in do_pinctrl_pins() 48 node_name = fdt_get_name(blob, child, &len); in do_pinctrl_pins() 52 return do_pinctr_pin(blob, child, node_name); in do_pinctrl_pins() 54 child = fdt_next_subnode(blob, child); in do_pinctrl_pins() 56 if (child < 0) in do_pinctrl_pins() [all …]
|
/u-boot/scripts/kconfig/ |
A D | conf.c | 232 struct menu *child; in conf_choice() local 267 for (child = menu->list; child; child = child->next) { in conf_choice() 322 for (child = menu->list; child; child = child->next) { in conf_choice() 323 if (!child->sym || !menu_is_visible(child)) in conf_choice() 328 if (!child) in conf_choice() 335 for (child = child->list; child; child = child->next) { in conf_choice() 337 conf(child); in conf_choice() 348 struct menu *child; in conf() local 405 for (child = menu->list; child; child = child->next) in conf() 406 conf(child); in conf() [all …]
|
A D | mconf.c | 469 struct menu *child; in build_conf() local 533 for (child = menu->list; child; child = child->next) { in build_conf() 534 if (menu_is_visible(child) && child->sym == def_sym) in build_conf() 535 def_menu = child; in build_conf() 638 for (child = menu->list; child; child = child->next) in build_conf() 639 build_conf(child); in build_conf() 798 struct menu *child; in conf_choice() local 808 for (child = menu->list; child; child = child->next) { in conf_choice() 811 if (child->sym) in conf_choice() 834 if (!child->sym) in conf_choice() [all …]
|
A D | nconf.c | 739 struct menu *child; in build_conf() local 800 for (child = menu->list; child; child = child->next) { in build_conf() 801 if (menu_is_visible(child) && child->sym == def_sym) in build_conf() 802 def_menu = child; in build_conf() 916 for (child = menu->list; child; child = child->next) in build_conf() 917 build_conf(child); in build_conf() 1250 for (i = 0, child = menu->list; child; child = child->next) { in conf_choice() 1257 else if (child->sym) in conf_choice() 1328 child = item_data(); in conf_choice() 1329 if (!child || !menu_is_visible(child) || !child->sym) in conf_choice() [all …]
|
A D | gconf.c | 1091 struct menu *child; in fill_row() local 1097 for (child = menu->list; child; child = child->next) { in fill_row() 1100 def_menu = child; in fill_row() 1338 struct menu *child; in display_tree() local 1346 for (child = menu->list; child; child = child->next) { in display_tree() 1347 prop = child->prompt; in display_tree() 1348 sym = child->sym; in display_tree() 1365 place_node(child, fill_row(child)); in display_tree() 1428 struct menu *child; in fixup_rootmenu() local 1432 for (child = menu->list; child; child = child->next) { in fixup_rootmenu() [all …]
|
A D | qconf.cc | 579 struct menu* child; in updateMenuList() local 597 for (child = menu->list; child; child = child->next) { in updateMenuList() 599 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList() 616 if (!child->sym && !child->list && !child->prompt) in updateMenuList() 644 struct menu* child; in updateMenuList() local 662 for (child = menu->list; child; child = child->next) { in updateMenuList() 664 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList() 681 if (!child->sym && !child->list && !child->prompt) in updateMenuList() 1801 struct menu *child; in fixup_rootmenu() local 1805 for (child = menu->list; child; child = child->next) { in fixup_rootmenu() [all …]
|
/u-boot/common/ |
A D | cli_hush.c | 587 child->argv++; in builtin_exec() 1333 execvp(child->argv[0],child->argv); 1546 (void) &child; 1557 (void) &child; 1627 child->sp--; 1675 return cmd_process(flag, child->argc - i, child->argv + i, 2294 struct child_prog *child=ctx->child; local 2447 struct child_prog *child=ctx->child; local 2488 child->argv = realloc(child->argv, (argc+1)*sizeof(*child->argv)); 2493 child->argv_nonnull = realloc(child->argv_nonnull, [all …]
|
/u-boot/drivers/misc/ |
A D | gdsys_soc.c | 27 int gdsys_soc_get_fpga(struct udevice *child, struct udevice **fpga) in gdsys_soc_get_fpga() argument 31 if (!child->parent) { in gdsys_soc_get_fpga() 32 debug("%s: Invalid parent\n", child->name); in gdsys_soc_get_fpga() 36 if (!device_is_compatible(child->parent, "gdsys,soc")) { in gdsys_soc_get_fpga() 37 debug("%s: Not child of a gdsys soc\n", child->name); in gdsys_soc_get_fpga() 41 bus_priv = dev_get_priv(child->parent); in gdsys_soc_get_fpga()
|
A D | tegra_car.c | 20 struct udevice *child; in tegra_car_bpmp_bind() local 25 dev_ofnode(dev), &child); in tegra_car_bpmp_bind() 31 &child); in tegra_car_bpmp_bind()
|
A D | stm32_rcc.c | 49 struct udevice *child; in stm32_rcc_bind() local 64 dev_ofnode(dev), &child); in stm32_rcc_bind() 77 dev_ofnode(dev), &child); in stm32_rcc_bind()
|
/u-boot/drivers/net/ |
A D | sandbox-raw-bus.c | 18 struct udevice *child; in eth_raw_bus_post_bind() local 40 device_bind_driver(dev, "eth_sandbox_raw", ub_ifname, &child); in eth_raw_bus_post_bind() 42 device_set_name_alloced(child); in eth_raw_bus_post_bind() 43 device_probe(child); in eth_raw_bus_post_bind() 44 priv = dev_get_priv(child); in eth_raw_bus_post_bind()
|
/u-boot/cmd/ |
A D | usb.c | 346 struct udevice *child; local 349 child; 408 struct udevice *child; local 411 child; 412 device_find_next_child(&child)) { 415 if (!device_active(child)) 418 udev = dev_get_parent_priv(child); 601 struct udevice *child; local 606 child; 608 if (device_active(child) && [all …]
|
A D | clk.c | 20 struct udevice *child; in show_clks() local 52 device_foreach_child_probe(child, dev) { in show_clks() 53 if (device_get_uclass_id(child) != UCLASS_CLK) in show_clks() 55 if (child == dev) in show_clks() 57 is_last = list_is_last(&child->sibling_node, &dev->child_head); in show_clks() 58 show_clks(child, depth, (last_flag << 1) | is_last); in show_clks()
|
A D | virtio.c | 25 struct udevice *bus, *child; in do_virtio() local 32 device_foreach_child_probe(child, bus) in do_virtio()
|
/u-boot/lib/ |
A D | of_live.c | 125 np->sibling = dad->child; in unflatten_dt_node() 126 dad->child = np; in unflatten_dt_node() 238 if (!dryrun && np->child) { in unflatten_dt_node() 239 struct device_node *child = np->child; in unflatten_dt_node() local 240 np->child = NULL; in unflatten_dt_node() 241 while (child) { in unflatten_dt_node() 242 struct device_node *next = child->sibling; in unflatten_dt_node() 244 child->sibling = np->child; in unflatten_dt_node() 245 np->child = child; in unflatten_dt_node() 246 child = next; in unflatten_dt_node()
|
/u-boot/drivers/power/domain/ |
A D | imx8-power-domain-legacy.c | 138 struct udevice *child; in imx8_power_domain_off_node() local 154 for (device_find_first_child(dev, &child); in imx8_power_domain_off_node() 155 child; in imx8_power_domain_off_node() 156 device_find_next_child(&child)) { in imx8_power_domain_off_node() 157 if (device_active(child)) { in imx8_power_domain_off_node() 189 struct udevice *child; in imx8_power_domain_off_parentnodes() local 212 for (device_find_first_child(parent, &child); child; in imx8_power_domain_off_parentnodes() 213 device_find_next_child(&child)) { in imx8_power_domain_off_parentnodes() 214 if (device_active(child)) { in imx8_power_domain_off_parentnodes() 216 dev_get_priv(child); in imx8_power_domain_off_parentnodes() [all …]
|
/u-boot/doc/device-tree-bindings/i2c/ |
A D | i2c-mux.txt | 3 An i2c bus multiplexer/switch will have several child busses that are 5 multiplexer/switch will have one child node for each child 12 Required properties for child nodes: 17 Optional properties for child nodes:
|
/u-boot/include/linux/ |
A D | rbtree_augmented.h | 117 struct rb_node *child = node->rb_right, *tmp = node->rb_left; in __rb_erase_augmented() local 131 __rb_change_child(node, child, parent, root); in __rb_erase_augmented() 132 if (child) { in __rb_erase_augmented() 133 child->__rb_parent_color = pc; in __rb_erase_augmented() 138 } else if (!child) { in __rb_erase_augmented() 146 struct rb_node *successor = child, *child2; in __rb_erase_augmented() 147 tmp = child->rb_left; in __rb_erase_augmented() 182 successor->rb_right = child; in __rb_erase_augmented() 183 rb_set_parent(child, successor); in __rb_erase_augmented()
|
/u-boot/tools/binman/etype/ |
A D | atf_fip.py | 253 def ReadChildData(self, child, decomp=True, alt_format=None): argument 261 fent = reader.get_entry(child._fip_type or child._fip_uuid) 269 def WriteChildData(self, child): argument 272 self.ObtainContents(skip_entry=child) 273 return super().WriteChildData(child)
|
/u-boot/drivers/power/pmic/ |
A D | pmic-uclass.c | 27 struct udevice *child; in pmic_bind_children() local 47 child = NULL; in pmic_bind_children() 71 0, node, &child); in pmic_bind_children() 77 debug(" - bound child device: '%s'\n", child->name); in pmic_bind_children() 79 child->driver_data = trailing_strtol(node_name); in pmic_bind_children() 82 child->driver_data); in pmic_bind_children() 86 if (child) in pmic_bind_children()
|
/u-boot/scripts/dtc/ |
A D | livetree.c | 103 struct node *child; in build_node() local 110 for_each_child(new, child) { in build_node() 111 child->parent = new; in build_node() 307 child->parent = parent; in add_child() 313 *p = child; in add_child() 332 struct node *child; in delete_node() local 336 delete_node(child); in delete_node() 504 struct node *child; in get_subnode() local 508 return child; in get_subnode() 516 struct node *child; in get_node_by_path() local [all …]
|
/u-boot/drivers/core/ |
A D | of_access.c | 153 } else if (prev->child) { in of_find_all_nodes() 154 np = prev->child; in of_find_all_nodes() 320 for (child = __of_get_next_child(parent, NULL); child != NULL; \ 321 child = __of_get_next_child(parent, child)) 326 struct device_node *child; in __of_find_node_by_path() local 333 __for_each_child_of_node(parent, child) { in __of_find_node_by_path() 338 return child; in __of_find_node_by_path() 985 *childp = child; in of_add_subnode() 988 last_sibling = child; in of_add_subnode() 1024 if (!parent->child) in of_add_subnode() [all …]
|
/u-boot/doc/device-tree-bindings/w1/ |
A D | w1-gpio.txt | 6 the devices serial number and then search in the child nodes in the device tree 9 Also check doc/device-tree-bindings/w1-eeprom for possible child nodes drivers 30 Example with child:
|
A D | mxc-w1.txt | 5 the devices serial number and then search in the child nodes in the device tree 8 Also check doc/device-tree-bindings/w1-eeprom for possible child nodes drivers 29 Example with child:
|
/u-boot/test/dm/ |
A D | core.c | 577 int count, int key, struct udevice *child[]) in create_children() argument 590 if (child) in create_children() 591 child[i] = dev; in create_children() 602 struct udevice *child[NODE_COUNT]; in dm_test_children() local 684 struct udevice *child[NODE_COUNT]; in dm_test_device_reparent() local 1297 struct udevice *dev, *child; in dm_test_dev_get_attach_bus() local 1321 ut_assertok(device_first_child_err(dev, &child)); in dm_test_dev_get_attach_bus() 1322 ut_asserteq_str("c-test@5", child->name); in dm_test_dev_get_attach_bus() 1332 dev_get_attach_size(child, DM_TAG_PLAT)); in dm_test_dev_get_attach_bus() 1334 dev_get_attach_size(child, DM_TAG_PRIV)); in dm_test_dev_get_attach_bus() [all …]
|