/u-boot/drivers/i2c/ |
H A D | sun6i_p2wi.c | 203 static int sun6i_p2wi_child_pre_probe(struct udevice *child) argument 205 struct dm_i2c_chip *chip = dev_get_parent_plat(child); 206 struct udevice *bus = child->parent;
|
/u-boot/drivers/misc/ |
H A D | p2sb_emul.c | 202 log_debug(" - child %s, pid %d, want %d\n", dev->name, 218 struct udevice *child = NULL; /* Silence compiler warning */ local 232 ret = find_p2sb_channel(dev, offset, &child); 237 ret = axi_read(child, offset, priv->regs, AXI_SIZE_32);
|
/u-boot/drivers/misc/imx8/ |
H A D | scu.c | 217 struct udevice *child; local 222 ret = lists_bind_fdt(dev, node, &child, NULL, true); 225 debug("bind child dev %s\n", child->name);
|
/u-boot/drivers/ddr/altera/ |
H A D | sdram_arria10.c | 633 int child, i, node, ret; local 641 child = fdt_first_subnode(blob, node); 642 if (child < 0) 652 ret = fdtdec_get_int_array(blob, child, name, 656 ret = fdtdec_get_int_array(blob, child, name,
|
/u-boot/arch/arm/mach-socfpga/ |
H A D | clock_manager_arria10.c | 196 int ret, node, child, len; local 208 child = fdt_first_subnode(blob, node); 210 if (child < 0) 213 node_name = fdt_get_name(blob, child, &len); 217 if (of_to_struct(blob, child, mainpll_cfg_tab, 221 if (of_to_struct(blob, child, perpll_cfg_tab, 225 if (of_to_struct(blob, child, alteragrp_cfg_tab, 229 child = fdt_next_subnode(blob, child); 231 if (child < [all...] |
/u-boot/common/spl/ |
H A D | spl_fit.c | 38 int child; local 44 for (child = fdt_first_subnode(fit, node); child >= 0; 45 child = fdt_next_subnode(fit, child)) { 47 const char *desc = fdt_getprop(fit, child, FIT_DESC_PROP, &len); 53 return child;
|
/u-boot/scripts/dtc/ |
H A D | checks.c | 117 struct node *child; local 123 for_each_child(node, child) 124 check_nodes_props(c, dti, child); 251 struct node *child, *child2; local 253 for_each_child(node, child) 254 for (child2 = child->next_sibling; 257 if (streq(child->name, child2->name)) 771 "(parent #address-cells == %d, child #address-cells == %d, " 945 /* skip of child address */ 1018 struct node *child; local 1419 struct node *child; local 1443 struct node *child; local [all...] |
H A D | flattree.c | 255 struct node *child; local 301 for_each_child(tree, child) { 302 flatten_tree(child, emit, etarget, strbuf, vi); 735 die("Path \"%s\" is not valid as a child of \"%s\"\n", 764 struct node *child; local 777 child = unflatten_tree(dtbuf,strbuf, flatname, flags); 778 add_child(node, child);
|
/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-pko3-queue.c | 432 * @param child_base is the first child queue number in the static prioriy children. 462 /* child topology configuration */ 479 * @param child_base is the first child queue number in the static prioriy children. 509 /* child topology configuration */ 526 * @param child_base is the first child queue number in the static prioriy children. 573 * @param child_base is the first child queue number in the static prioriy children. 620 * @param child_base is the first child queue number in the static prioriy children. 769 * @param child_level is the level of the child queue 771 * @param child_base is the number of the first child SQ or DQ to assign to 795 unsigned int child, pri local [all...] |
/u-boot/drivers/core/ |
H A D | root.c | 287 struct udevice *child; local 302 list_for_each_entry(child, &dev->child_head, sibling_node) 303 dm_probe_devices(child, pre_reloc_only);
|
H A D | device.c | 194 /* There is no child unbind() method, so no clean-up required */ 373 /* Allocate parent data for this child */ 537 * child or grandchild of that bus, meaning that the child will be 538 * probed here. If the child happens to be the P2SB and the pinctrl 539 * device is a child of that, then both the pinctrl and P2SB will be 1077 struct udevice *dev_get_parent(const struct udevice *child) argument 1079 return child->parent; 1115 struct udevice *child; local 1117 for (device_find_first_child(dev, &child); [all...] |
/u-boot/drivers/gpio/ |
H A D | qcom_pmic_gpio.c | 283 struct udevice *child; local 293 /* Bind the GPIO driver as a child of the PMIC. */ 296 quirks, dev_ofnode(dev), &child); 300 dev_set_plat(child, plat);
|
H A D | sandbox.c | 399 struct udevice *child; local 409 list_for_each_entry(child, &dev->child_head, sibling_node) { 410 ret = uclass_get_device_by_name(UCLASS_GPIO, child->name,
|
/u-boot/drivers/adc/ |
H A D | stm32-adc.c | 293 ofnode child; local 296 ofnode_for_each_subnode(child, dev_ofnode(dev)) { 297 ret = ofnode_read_u32(child, "reg", &val);
|
/u-boot/fs/ubifs/ |
H A D | debug.c | 1341 * been cleared. The child is always cleared before the 1642 struct ubifs_znode *znode, *child; local 1663 child = zbr->znode; 1664 if (!child) { 1665 child = ubifs_load_znode(c, zbr, znode, 0); 1666 if (IS_ERR(child)) { 1667 err = PTR_ERR(child); 1670 zbr->znode = child; 1673 znode = child; 1711 child [all...] |
/u-boot/drivers/pinctrl/ |
H A D | pinctrl-apple.c | 170 struct udevice *child; local 181 dev_ofnode(dev), &child);
|
H A D | pinctrl_stm32.c | 90 struct udevice *child; local 100 list_for_each_entry(child, &dev->child_head, sibling_node) { 101 ret = uclass_get_device_by_name(UCLASS_GPIO, child->name,
|
/u-boot/drivers/mtd/ |
H A D | mtdpart.c | 887 ofnode parts, child; local 902 ofnode_for_each_subnode(child, parts) { 908 if (!ofnode_is_enabled(child)) 911 offset = ofnode_get_addr_size_index_notrans(child, 0, &size); 918 part.name = ofnode_read_string(child, "label"); 920 part.name = ofnode_read_string(child, "name"); 928 if (ofnode_read_bool(child, "read-only")) 930 if (ofnode_read_bool(child, "lock"))
|
/u-boot/test/dm/ |
H A D | acpi.c | 462 struct udevice *dev, *child; local 474 ut_assertok(device_first_child_err(dev, &child)); 475 ut_assertok(acpi_device_path(child, buf, sizeof(buf))); 482 ut_assertok(acpi_device_path(child, buf, sizeof(buf))); 488 ut_asserteq(-EINVAL, acpi_device_path(child, buf, sizeof(buf)));
|
H A D | bus.c | 76 /* Looking for something that is not a child */ 95 /* Find a valid child */ 113 struct udevice *bus, *dev, *child; local 126 /* Move to the next child without using device_find_first_child() */ 133 ut_assertok(device_find_first_child(dev, &child)); 134 ut_asserteq_ptr(child, NULL); 141 /* Test that the bus can store data about each child */ 201 /* Test that the bus can store data about each child */ 238 /* Test that the bus ops are called when a child is probed/removed */ 328 /* Now the child pla [all...] |
/u-boot/scripts/dtc/libfdt/ |
H A D | fdt_overlay.c | 159 int child; local 170 fdt_for_each_subnode(child, fdto, node) { 171 ret = overlay_adjust_node_phandles(fdto, child, delta);
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-helper-fdt.h | 48 struct cvmx_fdt_i2c_bus_info *child; member in struct:cvmx_fdt_i2c_bus_info
|
/u-boot/scripts/kconfig/ |
H A D | qconf.h | 152 return (ConfigItem *)Parent::child(0); 160 ret = (ConfigItem *)_parent->child(_parent->indexOfChild(this)+1);
|
/u-boot/drivers/firmware/ |
H A D | firmware-zynqmp.c | 306 * and IPI parent driver binds each child node to mailbox driver. 418 struct udevice *child; local 427 dev_ofnode(dev), &child);
|
/u-boot/drivers/phy/cadence/ |
H A D | phy-cadence-sierra.c | 625 ofnode child) 629 if (ofnode_read_u32(child, "reg", &inst->mlane)) 632 if (ofnode_read_u32(child, "cdns,num-lanes", &inst->num_lanes)) 635 if (ofnode_read_u32(child, "cdns,phy-type", &phy_type)) 653 ofnode_read_u32(child, "cdns,ssc-mode", &inst->ssc_mode); 1003 ofnode child; local 1012 ofnode_for_each_subnode(child, dev_ofnode(dev)) { 1013 if (!(ofnode_name_eq(child, "phy") || 1014 ofnode_name_eq(child, "link"))) 1017 rc = device_bind(dev, link_drv, "link", NULL, child, NUL 624 cdns_sierra_get_optional(struct cdns_sierra_inst *inst, ofnode child) argument [all...] |