/u-boot/test/dm/ |
A D | fdtdec.c | 70 int blob_sz, parent, subnode; in dm_test_fdtdec_add_reserved_memory() local 89 subnode = fdt_path_offset(blob, "/reserved-memory/rsvd_region"); in dm_test_fdtdec_add_reserved_memory() 90 ut_assert(subnode > 0); in dm_test_fdtdec_add_reserved_memory() 93 addr = fdtdec_get_addr_size_auto_parent(blob, parent, subnode, in dm_test_fdtdec_add_reserved_memory() 99 subnode = fdt_path_offset(blob, "/reserved-memory/rsvd_region1"); in dm_test_fdtdec_add_reserved_memory() 100 ut_assert(subnode < 0); in dm_test_fdtdec_add_reserved_memory() 106 subnode = fdt_path_offset(blob, "/reserved-memory/rsvd_region1"); in dm_test_fdtdec_add_reserved_memory() 107 ut_assert(subnode > 0); in dm_test_fdtdec_add_reserved_memory() 110 ut_assert(fdt_getprop(blob, subnode, "no-map", NULL) > 0); in dm_test_fdtdec_add_reserved_memory() 123 subnode = fdt_path_offset(blob, "/reserved-memory/rsvd_region2"); in dm_test_fdtdec_add_reserved_memory() [all …]
|
/u-boot/tools/binman/etype/ |
A D | files.py | 54 subnode = self._node.FindNode(name) 55 if not subnode: 56 subnode = state.AddSubnode(self._node, name) 57 state.AddString(subnode, 'type', 'blob') 58 state.AddString(subnode, 'filename', fname) 59 state.AddString(subnode, 'compress', self._files_compress) 61 state.AddInt(subnode, 'align', self._files_align)
|
A D | fit.py | 186 for subnode in node.subnodes: 187 if has_images and not (subnode.name.startswith('hash') or 188 subnode.name.startswith('signature')): 193 elif subnode.name.startswith('@'): 197 node_name = subnode.name[1:].replace('SEQ', 201 for pname, prop in subnode.props.items(): 220 with fsw.add_node(subnode.name): 221 _AddNode(base_node, depth + 1, subnode)
|
A D | fdtmap.py | 100 for subnode in node.subnodes: 101 with fsw.add_node(subnode.name): 102 _AddNode(subnode)
|
/u-boot/lib/efi_loader/ |
A D | efi_dt_fixup.c | 56 int nodeoffset, subnode; in efi_carve_out_dt_rsv() local 70 subnode = fdt_first_subnode(fdt, nodeoffset); in efi_carve_out_dt_rsv() 71 while (subnode >= 0) { in efi_carve_out_dt_rsv() 77 fdt, nodeoffset, subnode, in efi_carve_out_dt_rsv() 84 fdtdec_get_is_enabled(fdt, subnode)) { in efi_carve_out_dt_rsv() 87 nomap = !!fdt_getprop(fdt, subnode, "no-map", in efi_carve_out_dt_rsv() 91 subnode = fdt_next_subnode(fdt, subnode); in efi_carve_out_dt_rsv()
|
/u-boot/test/optee/ |
A D | cmd_ut_optee.c | 54 int offs, subnode; in optee_fdt_protected_memory() local 68 subnode = fdt_first_subnode(fdt, offs); in optee_fdt_protected_memory() 69 ut_assert(subnode); in optee_fdt_protected_memory() 72 while (subnode >= 0) { in optee_fdt_protected_memory() 73 const char *name = fdt_get_name(fdt, subnode, NULL); in optee_fdt_protected_memory() 85 ut_assertok(fdt_get_resource(fdt, subnode, "reg", 0, &res)); in optee_fdt_protected_memory() 86 subnode = fdt_next_subnode(fdt, subnode); in optee_fdt_protected_memory()
|
/u-boot/drivers/phy/marvell/ |
A D | comphy_core.c | 84 int subnode; in comphy_probe() local 133 fdt_for_each_subnode(subnode, blob, node) { in comphy_probe() 135 if (!fdtdec_get_is_enabled(blob, subnode)) in comphy_probe() 139 blob, subnode, "phy-speed", PHY_TYPE_INVALID); in comphy_probe() 141 blob, subnode, "phy-type", PHY_SPEED_INVALID); in comphy_probe() 143 blob, subnode, "phy-invert", PHY_POLARITY_NO_INVERT); in comphy_probe() 144 comphy_map_data[lane].clk_src = fdtdec_get_bool(blob, subnode, in comphy_probe() 146 comphy_map_data[lane].end_point = fdtdec_get_bool(blob, subnode, in comphy_probe()
|
/u-boot/lib/optee/ |
A D | optee.c | 126 int nodeoffset, subnode, ret; in optee_copy_fdt_nodes() local 160 for (subnode = fdt_first_subnode(old_blob, nodeoffset); in optee_copy_fdt_nodes() 161 subnode >= 0; in optee_copy_fdt_nodes() 162 subnode = fdt_next_subnode(old_blob, subnode)) { in optee_copy_fdt_nodes() 164 subnode, NULL); in optee_copy_fdt_nodes() 173 ret = fdt_get_resource(old_blob, subnode, "reg", 0, in optee_copy_fdt_nodes()
|
/u-boot/arch/arm/mach-k3/ |
A D | common.c | 233 int ret, node, subnode, len, prev_node; in fdt_fixup_msmc_ram() local 272 subnode = fdt_first_subnode(blob, node); in fdt_fixup_msmc_ram() 276 while (subnode >= 0) { in fdt_fixup_msmc_ram() 277 sub_reg = fdt_getprop(blob, subnode, "reg", &len); in fdt_fixup_msmc_ram() 282 subnode, addr, size); in fdt_fixup_msmc_ram() 286 fdt_del_node(blob, subnode); in fdt_fixup_msmc_ram() 287 debug("%s: deleting subnode %d\n", __func__, subnode); in fdt_fixup_msmc_ram() 289 subnode = fdt_first_subnode(blob, node); in fdt_fixup_msmc_ram() 291 subnode = fdt_next_subnode(blob, prev_node); in fdt_fixup_msmc_ram() 293 prev_node = subnode; in fdt_fixup_msmc_ram() [all …]
|
/u-boot/drivers/power/pmic/ |
A D | palmas.c | 48 ofnode subnode; in palmas_bind() local 51 dev_for_each_subnode(subnode, dev) { in palmas_bind() 55 name = ofnode_get_name(subnode); in palmas_bind() 58 pmic_node = subnode; in palmas_bind()
|
/u-boot/drivers/spi/ |
A D | cadence_qspi.c | 288 ofnode subnode; in cadence_spi_of_to_plat() local 304 subnode = dev_read_first_subnode(bus); in cadence_spi_of_to_plat() 305 if (!ofnode_valid(subnode)) { in cadence_spi_of_to_plat() 311 plat->max_hz = ofnode_read_u32_default(subnode, "spi-max-frequency", in cadence_spi_of_to_plat() 315 plat->page_size = ofnode_read_u32_default(subnode, "page-size", 256); in cadence_spi_of_to_plat() 316 plat->block_size = ofnode_read_u32_default(subnode, "block-size", 16); in cadence_spi_of_to_plat() 317 plat->tshsl_ns = ofnode_read_u32_default(subnode, "cdns,tshsl-ns", in cadence_spi_of_to_plat() 319 plat->tsd2d_ns = ofnode_read_u32_default(subnode, "cdns,tsd2d-ns", in cadence_spi_of_to_plat() 321 plat->tchsh_ns = ofnode_read_u32_default(subnode, "cdns,tchsh-ns", 20); in cadence_spi_of_to_plat() 322 plat->tslch_ns = ofnode_read_u32_default(subnode, "cdns,tslch-ns", 20); in cadence_spi_of_to_plat()
|
/u-boot/board/Marvell/octeontx/ |
A D | board-fdt.c | 61 int subnode, i; in fdt_parse_phy_info() local 98 fdt_for_each_subnode(subnode, fdt, node) { in fdt_parse_phy_info() 100 val = fdt_getprop(fdt, subnode, "reg", &len); in fdt_parse_phy_info() 106 val = fdt_getprop(fdt, subnode, "phy-handle", &len); in fdt_parse_phy_info() 124 val = fdt_getprop(fdt, subnode, in fdt_parse_phy_info() 233 int subnode, i = 0; in fdt_board_get_ethaddr() local 251 fdt_for_each_subnode(subnode, fdt, node) { in fdt_board_get_ethaddr() 255 mac = fdt_getprop(fdt, subnode, "local-mac-address", &len); in fdt_board_get_ethaddr()
|
/u-boot/doc/device-tree-bindings/sysinfo/ |
A D | smbios.txt | 15 An optional 'smbios' subnode can be used to provide these properties. Within 25 Within each subnode the following tables are recognised: 27 "system" subnode optional properties: 37 "baseboard" subnode optional properties: 44 "chassis" subnode optional properties:
|
/u-boot/doc/device-tree-bindings/pmic/ |
A D | max77686.txt | 17 To bind each regulator, the optional regulators subnode should exists. 19 Optional subnode: 20 - voltage-regulators: subnode list of each device's regulator
|
/u-boot/drivers/core/ |
A D | of_extra.c | 17 ofnode subnode; in ofnode_read_fmap_entry() local 41 subnode = ofnode_find_subnode(node, "hash"); in ofnode_read_fmap_entry() 42 if (ofnode_valid(subnode)) { in ofnode_read_fmap_entry() 43 prop = ofnode_read_prop(subnode, "value", &entry->hash_size); in ofnode_read_fmap_entry()
|
/u-boot/arch/arm/mach-tegra/ |
A D | xusb-padctl-common.c | 223 ofnode subnode; in tegra_xusb_padctl_config_parse_dt() local 227 ofnode_for_each_subnode(subnode, node) { in tegra_xusb_padctl_config_parse_dt() 233 err = tegra_xusb_padctl_group_parse_dt(padctl, group, subnode); in tegra_xusb_padctl_config_parse_dt() 248 ofnode subnode; in tegra_xusb_padctl_parse_dt() local 257 ofnode_for_each_subnode(subnode, node) { in tegra_xusb_padctl_parse_dt() 260 debug("%s: subnode=%s\n", __func__, ofnode_get_name(subnode)); in tegra_xusb_padctl_parse_dt() 262 subnode); in tegra_xusb_padctl_parse_dt()
|
/u-boot/drivers/video/ |
A D | nexell_display.c | 180 ofnode subnode; in nx_display_parse_dp_planes() local 182 ofnode_for_each_subnode(subnode, node) { in nx_display_parse_dp_planes() 183 name = ofnode_get_name(subnode); in nx_display_parse_dp_planes() 186 nx_display_parse_dp_top_layer(subnode, &dp->top); in nx_display_parse_dp_planes() 197 nx_display_parse_dp_layer(subnode, &dp->planes[0]); in nx_display_parse_dp_planes() 340 ofnode subnode; in nx_display_parse_dt() local 351 ofnode_for_each_subnode(subnode, dev_ofnode(dev)) { in nx_display_parse_dt() 352 name = ofnode_get_name(subnode); in nx_display_parse_dt() 356 nx_display_parse_dp_sync(subnode, &dp->sync); in nx_display_parse_dt() 361 nx_display_parse_dp_ctrl(subnode, &dp->ctrl); in nx_display_parse_dt() [all …]
|
/u-boot/lib/ |
A D | fdtdec_common.c | 60 int subnode; in fdtdec_get_child_count() local 63 fdt_for_each_subnode(subnode, blob, node) in fdtdec_get_child_count()
|
/u-boot/drivers/i2c/muxes/ |
A D | i2c-mux-gpio.c | 80 int i = 0, subnode, ret; in i2c_mux_gpio_probe() local 90 fdt_for_each_subnode(subnode, fdt, node) { in i2c_mux_gpio_probe() 91 *(values + i) = fdtdec_get_uint(fdt, subnode, "reg", -1); in i2c_mux_gpio_probe()
|
/u-boot/scripts/dtc/ |
A D | dtc-parser.y | 89 %type <node> subnode 519 | subnode subnodes 523 | subnode propdef 530 subnode: 539 | DT_OMIT_NO_REF subnode 543 | DT_LABEL subnode
|
/u-boot/tools/dtoc/ |
A D | fdt.py | 281 for subnode in self.subnodes: 282 if subnode.name == name: 283 return subnode 328 for subnode in self.subnodes: 329 if subnode.name != fdt_obj.get_name(offset): 331 (subnode.name, fdt_obj.get_name(offset))) 332 subnode.Refresh(offset) 488 subnode = Node(self._fdt, self, None, name, path) 489 self.subnodes.append(subnode) 490 return subnode
|
/u-boot/common/ |
A D | image-fdt.c | 107 int nodeoffset, subnode; in boot_fdt_add_mem_rsv_regions() local 124 subnode = fdt_first_subnode(fdt_blob, nodeoffset); in boot_fdt_add_mem_rsv_regions() 125 while (subnode >= 0) { in boot_fdt_add_mem_rsv_regions() 127 ret = fdt_get_resource(fdt_blob, subnode, "reg", 0, in boot_fdt_add_mem_rsv_regions() 129 if (!ret && fdtdec_get_is_enabled(fdt_blob, subnode)) { in boot_fdt_add_mem_rsv_regions() 135 subnode = fdt_next_subnode(fdt_blob, subnode); in boot_fdt_add_mem_rsv_regions()
|
/u-boot/doc/device-tree-bindings/sound/ |
A D | snow.txt | 13 - 'cpu' subnode with a 'sound-dai' property containing the phandle of the I2S 15 - 'codec' subnode with a 'sound-dai' property containing list of phandles
|
/u-boot/doc/device-tree-bindings/memory/ |
A D | memory.txt | 16 Each subnode must define 18 reg - board ID or mask for this subnode 21 Each subnode may optionally define:
|
/u-boot/doc/device-tree-bindings/regulator/ |
A D | max77686.txt | 12 Required subnode: 25 (subnode of max77686 pmic node)
|