/u-boot/arch/arm/mach-k3/ |
H A D | common_fdt.c | 16 int ret, node, subnode, len, prev_node; local 55 subnode = fdt_first_subnode(blob, node); 59 while (subnode >= 0) { 60 sub_reg = fdt_getprop(blob, subnode, "reg", &len); 64 debug("%s: subnode = %d, addr = 0x%x. size = 0x%x\n", __func__, 65 subnode, addr, size); 67 !strncmp(fdt_get_name(blob, subnode, &len), "sysfw", 5) || 68 !strncmp(fdt_get_name(blob, subnode, &len), "l3cache", 7)) { 69 fdt_del_node(blob, subnode); 70 debug("%s: deleting subnode 119 int nodeoffset, subnode; local [all...] |
/u-boot/tools/binman/etype/ |
H A D | files.py | 59 subnode = self._node.FindNode(name) 60 if not subnode: 61 subnode = state.AddSubnode(self._node, name) 62 state.AddString(subnode, 'type', 'blob') 63 state.AddString(subnode, 'filename', fname) 64 state.AddString(subnode, 'compress', self._files_compress) 66 state.AddInt(subnode, 'align', self._files_align)
|
H A D | fdtmap.py | 113 for subnode in node.subnodes: 114 with fsw.add_node(subnode.name): 115 _AddNode(subnode)
|
H A D | fit.py | 377 """Get the operation referenced by a subnode 424 for subnode in node.subnodes: 425 _add_entries(base_node, depth + 1, subnode) 474 """Raise an error with a paticular FIT subnode 477 node (Node): FIT subnode containing the error 484 self.Raise(f"subnode '{rel_path}': {msg}") 611 for subnode in node.subnodes: 612 with fsw.add_node(subnode.name): 613 _add_node(node, depth + 1, subnode) 653 for subnode i [all...] |
H A D | blob_phase.py | 51 subnode = state.AddSubnode(self._node, name)
|
/u-boot/test/optee/ |
H A D | cmd_ut_optee.c | 54 int offs, subnode; local 68 subnode = fdt_first_subnode(fdt, offs); 69 ut_assert(subnode); 72 while (subnode >= 0) { 73 const char *name = fdt_get_name(fdt, subnode, NULL); 84 /* check if this subnode has a reg property */ 85 ut_assertok(fdt_get_resource(fdt, subnode, "reg", 0, &res)); 86 subnode = fdt_next_subnode(fdt, subnode);
|
/u-boot/test/dm/ |
H A D | fdtdec.c | 68 int blob_sz, parent, subnode; local 84 /* Test /reserve-memory and its subnode should exist */ 87 subnode = fdt_path_offset(blob, "/reserved-memory/rsvd_region"); 88 ut_assert(subnode > 0); 91 addr = fdtdec_get_addr_size_auto_parent(blob, parent, subnode, 97 subnode = fdt_path_offset(blob, "/reserved-memory/rsvd_region1"); 98 ut_assert(subnode < 0); 104 subnode = fdt_path_offset(blob, "/reserved-memory/rsvd_region1"); 105 ut_assert(subnode > 0); 108 ut_assert(fdt_getprop(blob, subnode, "n [all...] |
H A D | ofnode.c | 265 node = oftree_path(otree, "/node/subnode"); 581 const char *path = "/node/subnode"; 1054 ofnode node, check, subnode; local 1059 ut_assertok(ofnode_add_subnode(node, "edmund", &subnode)); 1061 ut_asserteq(subnode.of_offset, check.of_offset); 1062 ut_assertok(ofnode_get_path(subnode, buf, sizeof(buf))); 1081 ut_asserteq(subnode.of_offset, check.of_offset); 1086 ut_assertok(ofnode_add_subnode(node, "lcd2", &subnode)); 1088 ut_asserteq(subnode.of_offset, check.of_offset); 1089 ut_assertok(ofnode_get_path(subnode, bu 1123 ofnode node, subnode; local 1181 ofnode node, subnode; local 1200 ofnode node, subnode; local 1371 ofnode node, subnode, check; local [all...] |
/u-boot/lib/efi_loader/ |
H A D | efi_dt_fixup.c | 88 int nodeoffset, subnode; local 102 subnode = fdt_first_subnode(fdt, nodeoffset); 103 while (subnode >= 0) { 107 /* check if this subnode has a reg property */ 109 fdt, nodeoffset, subnode, 116 fdtdec_get_is_enabled(fdt, subnode)) { 119 nomap = !!fdt_getprop(fdt, subnode, "no-map", 123 subnode = fdt_next_subnode(fdt, subnode);
|
/u-boot/lib/ |
H A D | fdtdec_common.c | 59 int subnode; local 62 fdt_for_each_subnode(subnode, blob, node)
|
/u-boot/drivers/core/ |
H A D | of_extra.c | 17 ofnode subnode; local 43 subnode = ofnode_find_subnode(node, "hash"); 44 if (ofnode_valid(subnode)) { 45 prop = ofnode_read_prop(subnode, "value", &entry->hash_size); 138 ofnode node, subnode; local 141 subnode = ofnode_find_subnode(eth_node, "fixed-link"); 142 if (ofnode_valid(subnode)) { 144 node = subnode;
|
/u-boot/boot/ |
H A D | vbe_simple_os.c | 65 ofnode node, subnode, chosen; local 91 ret = ofnode_add_subnode(node, dev->name, &subnode); 97 ret = ofnode_copy_props(subnode, dev_ofnode(dev)); 105 ret = vbe_simple_fixup_node(subnode, &state);
|
H A D | image-fdt.c | 104 int nodeoffset, subnode; local 122 subnode = fdt_first_subnode(fdt_blob, nodeoffset); 123 while (subnode >= 0) { 124 /* check if this subnode has a reg property */ 125 ret = fdt_get_resource(fdt_blob, subnode, "reg", 0, 127 if (!ret && fdtdec_get_is_enabled(fdt_blob, subnode)) { 129 if (fdtdec_get_bool(fdt_blob, subnode, 137 subnode = fdt_next_subnode(fdt_blob, subnode);
|
/u-boot/drivers/usb/dwc3/ |
H A D | dwc3-uniphier.c | 82 ofnode subnode; local 89 ofnode_for_each_subnode(subnode, dev_ofnode(dev)) { 90 name = ofnode_get_name(subnode); 93 name, subnode, &child);
|
/u-boot/drivers/power/pmic/ |
H A D | palmas.c | 49 ofnode subnode, gpio_node; local 69 dev_for_each_subnode(subnode, dev) { 73 name = ofnode_get_name(subnode); 76 pmic_node = subnode; 82 debug("%s: %s pmic subnode not found!\n", __func__, dev->name); 89 debug("%s: %s reg subnode not found!\n", __func__, dev->name);
|
/u-boot/tools/dtoc/ |
H A D | fdt.py | 316 for subnode in self.subnodes: 317 if subnode.name == name: 318 return subnode 373 for subnode in self.subnodes: 374 if subnode._offset is None: 376 if subnode.name != fdt_obj.get_name(offset): 378 (subnode.name, fdt_obj.get_name(offset))) 379 subnode.Refresh(offset) 553 """Create new subnode for the node 559 New subnode tha [all...] |
/u-boot/board/Marvell/octeontx/ |
H A D | board-fdt.c | 61 int subnode, i; local 98 fdt_for_each_subnode(subnode, fdt, node) { 100 val = fdt_getprop(fdt, subnode, "reg", &len); 106 val = fdt_getprop(fdt, subnode, "phy-handle", &len); 124 val = fdt_getprop(fdt, subnode, 233 int subnode, i = 0; local 251 fdt_for_each_subnode(subnode, fdt, node) { 255 mac = fdt_getprop(fdt, subnode, "local-mac-address", &len);
|
/u-boot/arch/arm/mach-omap2/omap5/ |
H A D | fdt.c | 230 int offs, node_offs, subnode, ret, i; local 245 for (subnode = fdt_first_subnode(fdt, offs); 246 subnode >= 0; 247 subnode = fdt_next_subnode(fdt, subnode)) { 248 ret = fdt_clock_output_name_eq_(fdt, subnode, names[i], 251 node_offs = subnode;
|
/u-boot/arch/arm/mach-tegra/ |
H A D | xusb-padctl-common.c | 224 ofnode subnode; local 228 ofnode_for_each_subnode(subnode, node) { 234 err = tegra_xusb_padctl_group_parse_dt(padctl, group, subnode); 249 ofnode subnode; local 258 ofnode_for_each_subnode(subnode, node) { 261 debug("%s: subnode=%s\n", __func__, ofnode_get_name(subnode)); 263 subnode);
|
/u-boot/drivers/i2c/muxes/ |
H A D | i2c-mux-gpio.c | 80 int i = 0, subnode, ret; local 90 fdt_for_each_subnode(subnode, fdt, node) { 91 *(values + i) = fdtdec_get_uint(fdt, subnode, "reg", -1);
|
/u-boot/lib/optee/ |
H A D | optee.c | 114 ofnode node, subnode; local 147 ofnode_for_each_subnode(subnode, node) { 148 const char *name = ofnode_get_name(subnode); 156 /* check if this subnode has a reg property */ 157 ret = ofnode_read_resource(subnode, 0, &res);
|
/u-boot/drivers/spi/ |
H A D | cadence_qspi.c | 390 ofnode subnode; local 407 subnode = cadence_qspi_get_subnode(bus); 408 if (!ofnode_valid(subnode)) { 409 printf("Error: subnode with SPI flash config missing!\n"); 414 plat->max_hz = ofnode_read_u32_default(subnode, "spi-max-frequency", 418 plat->page_size = ofnode_read_u32_default(subnode, "page-size", 256); 419 plat->block_size = ofnode_read_u32_default(subnode, "block-size", 16); 420 plat->tshsl_ns = ofnode_read_u32_default(subnode, "cdns,tshsl-ns", 422 plat->tsd2d_ns = ofnode_read_u32_default(subnode, "cdns,tsd2d-ns", 424 plat->tchsh_ns = ofnode_read_u32_default(subnode, "cdn [all...] |
/u-boot/drivers/video/ |
H A D | nexell_display.c | 178 ofnode subnode; local 180 ofnode_for_each_subnode(subnode, node) { 181 name = ofnode_get_name(subnode); 184 nx_display_parse_dp_top_layer(subnode, &dp->top); 195 nx_display_parse_dp_layer(subnode, &dp->planes[0]); 203 nx_display_parse_dp_layer(subnode, &dp->planes[1]); 211 nx_display_parse_dp_layer(subnode, &dp->planes[2]); 338 ofnode subnode; local 349 ofnode_for_each_subnode(subnode, dev_ofnode(dev)) { 350 name = ofnode_get_name(subnode); [all...] |
/u-boot/scripts/dtc/ |
H A D | dtc-parser.y | 89 %type <node> subnode 519 | subnode subnodes 523 | subnode propdef 530 subnode: label 539 | DT_OMIT_NO_REF subnode 543 | DT_LABEL subnode
|
/u-boot/test/py/tests/ |
H A D | test_fit_auto_signed.py | 56 subnode = f'/images/{node}' 57 self.images_nodes.add(subnode) 60 subnode = f'/configurations/{node}' 61 self.confgs_nodes.add(subnode)
|