Searched refs:child (Results 51 - 75 of 101) sorted by relevance

12345

/u-boot/drivers/i2c/
H A Dsun6i_p2wi.c203 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 Dp2sb_emul.c202 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 Dscu.c217 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 Dsdram_arria10.c633 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 Dclock_manager_arria10.c196 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 Dspl_fit.c38 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 Dchecks.c117 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 Dflattree.c255 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 Dcvmx-pko3-queue.c432 * @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 Droot.c287 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 Ddevice.c194 /* 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 Dqcom_pmic_gpio.c283 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 Dsandbox.c399 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 Dstm32-adc.c293 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 Ddebug.c1341 * 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 Dpinctrl-apple.c170 struct udevice *child; local
181 dev_ofnode(dev), &child);
H A Dpinctrl_stm32.c90 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 Dmtdpart.c887 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 Dacpi.c462 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 Dbus.c76 /* 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 Dfdt_overlay.c159 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 Dcvmx-helper-fdt.h48 struct cvmx_fdt_i2c_bus_info *child; member in struct:cvmx_fdt_i2c_bus_info
/u-boot/scripts/kconfig/
H A Dqconf.h152 return (ConfigItem *)Parent::child(0);
160 ret = (ConfigItem *)_parent->child(_parent->indexOfChild(this)+1);
/u-boot/drivers/firmware/
H A Dfirmware-zynqmp.c306 * 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 Dphy-cadence-sierra.c625 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...]

Completed in 170 milliseconds

12345