Searched refs:child (Results 76 - 100 of 101) sorted by relevance

12345

/u-boot/drivers/phy/cadence/
H A Dphy-cadence-torrent.c571 ofnode child; local
603 dev_for_each_subnode(child, dev)
618 ofnode_for_each_subnode(child, dev_ofnode(dev)) {
620 if (!ofnode_name_eq(child, "phy"))
623 devm_reset_bulk_get_by_node(dev, child);
626 ofnode_get_name(child));
631 if (ofnode_read_u32(child, "reg",
634 ofnode_get_name(child));
639 if (ofnode_read_u32(child, "cdns,phy-type", &phy_type)) {
641 ofnode_get_name(child));
[all...]
/u-boot/drivers/phy/marvell/
H A Dcomphy_a3700.c1077 int child, i; local
1082 fdt_for_each_subnode(child, gd->fdt_blob, node) {
1083 if (!fdtdec_get_is_enabled(gd->fdt_blob, child))
1086 i = fdtdec_get_int(gd->fdt_blob, child, "reg", -1);
1090 comphy_nodes[i] = child;
/u-boot/drivers/net/
H A Dtsec.c641 ofnode parent, child; local
650 ofnode_for_each_subnode(child, dev_ofnode(dev)) {
651 if (strncmp(ofnode_get_name(child), "queue-group",
655 reg = ofnode_get_addr(child);
669 if (!ofnode_valid(child)) {
670 printf("No child node for <queue-group>?\n");
/u-boot/lib/efi_loader/
H A Defi_disk.c445 * Link the partition (child controller) to the block device
667 struct udevice *child; local
690 device_foreach_child(child, dev) {
691 ret = efi_disk_create_part(child, agent_handle);
/u-boot/drivers/mtd/nand/raw/
H A Dmxic_nand.c538 ofnode child; local
553 ofnode_for_each_subnode(child, dev_ofnode(dev))
554 nand_set_flash_node(nand_chip, child);
H A Dstm32_fmc2_nand.c849 ofnode child; local
852 dev_for_each_subnode(child, dev)
865 dev_for_each_subnode(child, dev) {
866 ret = stm32_fmc2_nfc_parse_child(nfc, child);
H A Drockchip_nfc.c1024 ofnode child; local
1026 ofnode_for_each_subnode(child, dev_ofnode(dev)) {
1027 ret = rk_nfc_nand_chip_init(child, nfc, i++);
H A Darasan_nfc.c1234 ofnode child; local
1242 ofnode_for_each_subnode(child, dev_ofnode(dev))
1243 nand_set_flash_node(nand_chip, child);
/u-boot/test/dm/
H A Dofnode.c1066 struct device_node *child; local
1069 2, &child));
1070 ut_asserteq_str("ed", child->name);
1071 ut_asserteq_str("/lcd/ed", child->full_name);
1073 ut_asserteq_ptr(child, check.np);
1074 ut_assertok(ofnode_get_path(np_to_ofnode(child), buf,
/u-boot/lib/
H A Dfdtdec.c1773 int node, child; local
1797 for (child = fdt_first_subnode(blob, node);
1798 child >= 0;
1799 child = fdt_next_subnode(blob, child)) {
1802 match_mask = fdtdec_get_int(blob, child, "match-mask", -1);
1803 match_value = fdtdec_get_int(blob, child, "match-value", -1);
1809 node = child;
/u-boot/include/linux/
H A Dioport.h23 struct resource *parent, *sibling, *child; member in struct:resource
/u-boot/drivers/core/
H A Dofnode.c581 for (np = np->child; np; np = np->sibling) {
639 return np_to_ofnode(node.np->child);
1041 ofnode child; local
1044 ofnode_for_each_subnode(child, parent)
1848 struct device_node *np, *child; local
1851 ret = of_add_subnode(np, name, -1, &child);
1854 subnode = np_to_ofnode(child);
H A Dof_addr.c44 void (*count_cells)(const struct device_node *child, int *addrc,
192 * child nodes without 'dma-ranges' in the parent nodes. --RobH
/u-boot/drivers/phy/ti/
H A Dphy-j721e-wiz.c1142 ofnode child, serdes; local
1150 ofnode_for_each_subnode(child, serdes) {
1154 ret = ofnode_read_u32(child, "reg", &reg);
1160 ofnode_read_u32(child, "cdns,num-lanes", &num_lanes);
1161 ofnode_read_u32(child, "cdns,phy-type", &phy_type);
1188 dev_err(dev, "Failed to get SERDES child DT node\n");
/u-boot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c2645 struct device_node *dn = dev->of_node, *child; local
2647 ofnode child;
2846 for_each_available_child_of_node(dn, child) {
2847 if (of_device_is_compatible(child, "brcm,nandcs")) {
2852 of_node_put(child);
2859 ret = brcmnand_init_cs(host, child);
2869 ofnode_for_each_subnode(child, dev_ofnode(dev)) {
2870 if (ofnode_device_is_compatible(child, "brcm,nandcs")) {
2881 ret = brcmnand_init_cs(host, child);
/u-boot/drivers/pci/
H A Dpci-uclass.c1245 struct udevice *child = *devp; local
1246 struct udevice *bus = child->parent;
1250 while (child) {
1251 device_find_next_child(&child);
1252 if (child) {
1253 *devp = child;
/u-boot/common/
H A Dusb_hub.c410 struct udevice *child; local
412 ret = usb_scan_device(dev->dev, port + 1, speed, &child);
/u-boot/scripts/dtc/
H A Ddtc.h216 void add_child(struct node *parent, struct node *child);
/u-boot/include/dm/
H A Ddevice.h348 * @child_post_bind: Called after a new child has been bound
349 * @child_pre_probe: Called before a child device is probed. The device has
351 * @child_post_remove: Called after a child device is removed. The device
366 * in the child's parent_plat pointer.
581 * @child: Child to check
582 * Return: parent of child, or NULL if this is the root device
584 struct udevice *dev_get_parent(const struct udevice *child);
644 * device_get_child() - Get the child of a device by index
646 * Returns the numbered child, 0 being the first. This does not use
659 * device_get_child_count() - Get the child coun
[all...]
H A Dofnode.h614 return np_to_ofnode(node.np->child);
1315 * child of the root
1327 * @node: child node (ofnode, lvalue)
1351 * @node: child node (ofnode, lvalue)
1371 * ofnode_get_child_count() - get the child count of a ofnode
1373 * @parent: valid node to get its child count
1711 * not a child of its parent),
/u-boot/drivers/memory/
H A Dstm32-fmc2-ebi.c1342 ofnode child; local
1347 dev_for_each_subnode(child, dev) {
1348 ret = ofnode_read_u32(child, "reg", &bank);
1373 ret = stm32_fmc2_ebi_setup_cs(ebi, child, bank);
/u-boot/drivers/gpio/
H A Dgpio-uclass.c1522 struct udevice *child; local
1533 &child);
1542 dev_or_flags(child, DM_FLAG_PROBE_AFTER_BIND);
/u-boot/arch/mips/mach-octeon/
H A Dcvmx-helper-fdt.c484 bus = bus->child;
/u-boot/tools/binman/
H A Dentry.py106 This flag does not automatically propagate down to child entries.
364 obscuring the start of each individual child entry
959 def ReadChildData(self, child, decomp=True, alt_format=None):
960 """Read the data for a particular child entry
963 the given child.
966 child (Entry): Child entry to read data for (must be valid)
972 Data for the child (bytes)
1031 def WriteChildData(self, child):
1032 """Handle writing the data in a child entry
1034 This should be called on the child'
[all...]
/u-boot/arch/arm/include/asm/arch-octeontx2/csrs/
H A Dcsrs-nix.h6450 u64 child : 10; member in struct:nixx_af_tl1x_md_debug0::nixx_af_tl1x_md_debug0_s
6466 u64 child : 10; member in struct:nixx_af_tl1x_md_debug0::nixx_af_tl1x_md_debug0_cn96xxp3
7012 u64 child : 10; member in struct:nixx_af_tl2x_md_debug0::nixx_af_tl2x_md_debug0_s
7028 u64 child : 10; member in struct:nixx_af_tl2x_md_debug0::nixx_af_tl2x_md_debug0_cn96xxp3
7580 u64 child : 10; member in struct:nixx_af_tl3x_md_debug0::nixx_af_tl3x_md_debug0_s
7596 u64 child : 10; member in struct:nixx_af_tl3x_md_debug0::nixx_af_tl3x_md_debug0_cn96xxp3
8244 u64 child : 10; member in struct:nixx_af_tl4x_md_debug0::nixx_af_tl4x_md_debug0_s
8260 u64 child : 10; member in struct:nixx_af_tl4x_md_debug0::nixx_af_tl4x_md_debug0_cn96xxp3

Completed in 470 milliseconds

12345