Home
last modified time | relevance | path

Searched refs:subnode (Results 1 – 25 of 67) sorted by relevance

123

/third_party/uboot/u-boot-2020.01/arch/arm/mach-k3/
Dcommon.c102 int ret, node, subnode, len, prev_node; in fdt_fixup_msmc_ram() local
141 subnode = fdt_first_subnode(blob, node); in fdt_fixup_msmc_ram()
145 while (subnode >= 0) { in fdt_fixup_msmc_ram()
146 sub_reg = fdt_getprop(blob, subnode, "reg", &len); in fdt_fixup_msmc_ram()
151 subnode, addr, size); in fdt_fixup_msmc_ram()
153 !strncmp(fdt_get_name(blob, subnode, &len), "sysfw", 5) || in fdt_fixup_msmc_ram()
154 !strncmp(fdt_get_name(blob, subnode, &len), "l3cache", 7)) { in fdt_fixup_msmc_ram()
155 fdt_del_node(blob, subnode); in fdt_fixup_msmc_ram()
156 debug("%s: deleting subnode %d\n", __func__, subnode); in fdt_fixup_msmc_ram()
158 subnode = fdt_first_subnode(blob, node); in fdt_fixup_msmc_ram()
[all …]
/third_party/uboot/u-boot-2020.01/test/optee/
Dcmd_ut_optee.c53 int offs, subnode; in optee_fdt_protected_memory() local
67 subnode = fdt_first_subnode(fdt, offs); in optee_fdt_protected_memory()
68 ut_assert(subnode); in optee_fdt_protected_memory()
71 while (subnode >= 0) { in optee_fdt_protected_memory()
72 const char *name = fdt_get_name(fdt, subnode, NULL); in optee_fdt_protected_memory()
84 ut_assertok(fdt_get_resource(fdt, subnode, "reg", 0, &res)); in optee_fdt_protected_memory()
85 subnode = fdt_next_subnode(fdt, subnode); in optee_fdt_protected_memory()
/third_party/uboot/u-boot-2020.01/tools/binman/etype/
Dfiles.py51 subnode = self._node.FindNode(name)
52 if not subnode:
53 subnode = state.AddSubnode(self._node, name)
54 state.AddString(subnode, 'type', 'blob')
55 state.AddString(subnode, 'filename', fname)
56 state.AddString(subnode, 'compress', self._compress)
Dfdtmap.py100 for subnode in node.subnodes:
101 with fsw.add_node(subnode.name):
102 _AddNode(subnode)
/third_party/uboot/u-boot-2020.01/drivers/phy/marvell/
Dcomphy_core.c80 int subnode; in comphy_probe() local
129 fdt_for_each_subnode(subnode, blob, node) { in comphy_probe()
131 if (!fdtdec_get_is_enabled(blob, subnode)) in comphy_probe()
135 blob, subnode, "phy-speed", PHY_TYPE_INVALID); in comphy_probe()
137 blob, subnode, "phy-type", PHY_SPEED_INVALID); in comphy_probe()
139 blob, subnode, "phy-invert", PHY_POLARITY_NO_INVERT); in comphy_probe()
140 comphy_map_data[lane].clk_src = fdtdec_get_bool(blob, subnode, in comphy_probe()
142 comphy_map_data[lane].end_point = fdtdec_get_bool(blob, subnode, in comphy_probe()
/third_party/uboot/u-boot-2020.01/lib/optee/
Doptee.c123 int nodeoffset, subnode, ret; in optee_copy_fdt_nodes() local
157 subnode = fdt_first_subnode(old_blob, nodeoffset); in optee_copy_fdt_nodes()
158 while (subnode >= 0) { in optee_copy_fdt_nodes()
160 subnode, NULL); in optee_copy_fdt_nodes()
169 ret = fdt_get_resource(old_blob, subnode, "reg", 0, in optee_copy_fdt_nodes()
199 subnode = fdt_next_subnode(old_blob, subnode); in optee_copy_fdt_nodes()
/third_party/uboot/u-boot-2020.01/drivers/spi/
Dcadence_qspi.c297 ofnode subnode; in cadence_spi_ofdata_to_platdata() local
311 subnode = dev_read_first_subnode(bus); in cadence_spi_ofdata_to_platdata()
312 if (!ofnode_valid(subnode)) { in cadence_spi_ofdata_to_platdata()
318 plat->max_hz = ofnode_read_u32_default(subnode, "spi-max-frequency", in cadence_spi_ofdata_to_platdata()
322 plat->page_size = ofnode_read_u32_default(subnode, "page-size", 256); in cadence_spi_ofdata_to_platdata()
323 plat->block_size = ofnode_read_u32_default(subnode, "block-size", 16); in cadence_spi_ofdata_to_platdata()
324 plat->tshsl_ns = ofnode_read_u32_default(subnode, "cdns,tshsl-ns", in cadence_spi_ofdata_to_platdata()
326 plat->tsd2d_ns = ofnode_read_u32_default(subnode, "cdns,tsd2d-ns", in cadence_spi_ofdata_to_platdata()
328 plat->tchsh_ns = ofnode_read_u32_default(subnode, "cdns,tchsh-ns", 20); in cadence_spi_ofdata_to_platdata()
329 plat->tslch_ns = ofnode_read_u32_default(subnode, "cdns,tslch-ns", 20); in cadence_spi_ofdata_to_platdata()
/third_party/pyyaml/lib3/yaml/
Dconstructor.py192 for subnode in value_node.value:
193 if not isinstance(subnode, MappingNode):
197 % subnode.id, subnode.start_mark)
198 self.flatten_mapping(subnode)
199 submerge.append(subnode.value)
361 for subnode in node.value:
362 if not isinstance(subnode, MappingNode):
364 "expected a mapping of length 1, but found %s" % subnode.id,
365 subnode.start_mark)
366 if len(subnode.value) != 1:
[all …]
/third_party/uboot/u-boot-2020.01/drivers/power/pmic/
Dpalmas.c47 ofnode subnode; in palmas_bind() local
50 dev_for_each_subnode(subnode, dev) { in palmas_bind()
54 name = ofnode_get_name(subnode); in palmas_bind()
57 pmic_node = subnode; in palmas_bind()
/third_party/pyyaml/lib/yaml/
Dconstructor.py225 for subnode in value_node.value:
226 if not isinstance(subnode, MappingNode):
230 % subnode.id, subnode.start_mark)
231 self.flatten_mapping(subnode)
232 submerge.append(subnode.value)
386 for subnode in node.value:
387 if not isinstance(subnode, MappingNode):
389 "expected a mapping of length 1, but found %s" % subnode.id,
390 subnode.start_mark)
391 if len(subnode.value) != 1:
[all …]
/third_party/uboot/u-boot-2020.01/arch/arm/mach-tegra/
Dxusb-padctl-common.c222 ofnode subnode; in tegra_xusb_padctl_config_parse_dt() local
226 ofnode_for_each_subnode(subnode, node) { in tegra_xusb_padctl_config_parse_dt()
232 err = tegra_xusb_padctl_group_parse_dt(padctl, group, subnode); in tegra_xusb_padctl_config_parse_dt()
247 ofnode subnode; in tegra_xusb_padctl_parse_dt() local
256 ofnode_for_each_subnode(subnode, node) { in tegra_xusb_padctl_parse_dt()
259 debug("%s: subnode=%s\n", __func__, ofnode_get_name(subnode)); in tegra_xusb_padctl_parse_dt()
261 subnode); in tegra_xusb_padctl_parse_dt()
/third_party/python/Lib/lib2to3/
Dbtm_matcher.py144 subnode = node.transition_table[subnode_key]
146 (node.id, subnode.id, type_repr(subnode_key), str(subnode.fixers)))
148 print(subnode.content)
149 print_node(subnode)
/third_party/uboot/u-boot-2020.01/doc/device-tree-bindings/pmic/
Dmax77686.txt17 To bind each regulator, the optional regulators subnode should exists.
19 Optional subnode:
20 - voltage-regulators: subnode list of each device's regulator
/third_party/uboot/u-boot-2020.01/tools/dtoc/
Dfdt.py253 for subnode in self.subnodes:
254 if subnode.name == name:
255 return subnode
300 for subnode in self.subnodes:
301 if subnode.name != fdt_obj.get_name(offset):
303 (subnode.name, fdt_obj.get_name(offset)))
304 subnode.Refresh(offset)
437 subnode = Node(self._fdt, self, None, name, path)
438 self.subnodes.append(subnode)
439 return subnode
/third_party/uboot/u-boot-2020.01/drivers/phy/
Dphy-mtk-tphy.c308 ofnode subnode; in mtk_tphy_probe() local
311 dev_for_each_subnode(subnode, dev) in mtk_tphy_probe()
323 dev_for_each_subnode(subnode, dev) { in mtk_tphy_probe()
332 addr = ofnode_get_addr(subnode); in mtk_tphy_probe()
338 instance->np = ofnode_to_np(subnode); in mtk_tphy_probe()
342 err = clk_get_by_index_nodev(subnode, 0, &instance->ref_clk); in mtk_tphy_probe()
/third_party/uboot/u-boot-2020.01/drivers/i2c/muxes/
Di2c-mux-gpio.c76 int i = 0, subnode, ret; in i2c_mux_gpio_probe() local
86 fdt_for_each_subnode(subnode, fdt, node) { in i2c_mux_gpio_probe()
87 *(values + i) = fdtdec_get_uint(fdt, subnode, "reg", -1); in i2c_mux_gpio_probe()
/third_party/uboot/u-boot-2020.01/common/
Dimage-fdt.c103 int nodeoffset, subnode; in boot_fdt_add_mem_rsv_regions() local
120 subnode = fdt_first_subnode(fdt_blob, nodeoffset); in boot_fdt_add_mem_rsv_regions()
121 while (subnode >= 0) { in boot_fdt_add_mem_rsv_regions()
123 ret = fdt_get_resource(fdt_blob, subnode, "reg", 0, in boot_fdt_add_mem_rsv_regions()
131 subnode = fdt_next_subnode(fdt_blob, subnode); in boot_fdt_add_mem_rsv_regions()
/third_party/uboot/u-boot-2020.01/scripts/dtc/
Ddtc-parser.y88 %type <node> subnode
506 | subnode subnodes
510 | subnode propdef
517 subnode:
526 | DT_LABEL subnode
/third_party/uboot/u-boot-2020.01/drivers/pci/
Dpcie_mediatek.c224 ofnode subnode; in mtk_pcie_probe() local
242 dev_for_each_subnode(subnode, dev) { in mtk_pcie_probe()
246 if (!ofnode_is_available(subnode)) in mtk_pcie_probe()
249 err = ofnode_read_pci_addr(subnode, 0, "reg", &addr); in mtk_pcie_probe()
/third_party/uboot/u-boot-2020.01/doc/device-tree-bindings/memory/
Dmemory.txt16 Each subnode must define
18 reg - board ID or mask for this subnode
21 Each subnode may optionally define:
/third_party/lwip/src/apps/snmp/
Dsnmp_core.c1063 const struct snmp_node *subnode = NULL; in snmp_mib_tree_resolve_next() local
1070 subnode = *node; in snmp_mib_tree_resolve_next()
1072 … } else if (((*node)->oid > subnode_oid) && ((subnode == NULL) || ((*node)->oid < subnode->oid))) { in snmp_mib_tree_resolve_next()
1073 subnode = *node; in snmp_mib_tree_resolve_next()
1080 if (subnode == NULL) { in snmp_mib_tree_resolve_next()
1085 if (subnode->node_type == SNMP_NODE_TREE) { in snmp_mib_tree_resolve_next()
1088 node_stack[nsi] = (const struct snmp_tree_node *)(const void *)subnode; in snmp_mib_tree_resolve_next()
1100 oidret->id[oidret->len] = subnode->oid; in snmp_mib_tree_resolve_next()
1103 return subnode; in snmp_mib_tree_resolve_next()
/third_party/uboot/u-boot-2020.01/include/dm/
Dread.h887 #define dev_for_each_subnode(subnode, dev) \ argument
888 for (subnode = dev_read_first_subnode(dev); \
889 ofnode_valid(subnode); \
890 subnode = ofnode_next_subnode(subnode))
/third_party/uboot/u-boot-2020.01/drivers/net/ti/
Dcpsw.c1183 int slave_index, ofnode subnode) in cpsw_eth_of_parse_slave() argument
1193 phy_mode = ofnode_read_string(subnode, "phy-mode"); in cpsw_eth_of_parse_slave()
1197 ret = ofnode_parse_phandle_with_args(subnode, "phy-handle", in cpsw_eth_of_parse_slave()
1207 ret = ofnode_read_u32_array(subnode, "phy_id", phy_id, 2); in cpsw_eth_of_parse_slave()
1212 slave_data->max_speed = ofnode_read_s32_default(subnode, in cpsw_eth_of_parse_slave()
1223 ofnode subnode; in cpsw_eth_ofdata_to_platdata() local
1286 ofnode_for_each_subnode(subnode, dev_ofnode(dev)) { in cpsw_eth_ofdata_to_platdata()
1289 name = ofnode_get_name(subnode); in cpsw_eth_ofdata_to_platdata()
1291 data->mdio_base = ofnode_get_addr(subnode); in cpsw_eth_ofdata_to_platdata()
1302 cpsw_eth_of_parse_slave(data, slave_index, subnode); in cpsw_eth_ofdata_to_platdata()
[all …]
/third_party/uboot/u-boot-2020.01/doc/device-tree-bindings/sound/
Dsnow.txt13 - '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
/third_party/abseil-cpp/absl/strings/
Dcord.cc1550 CordRep* subnode = Ref(current_leaf_); in AdvanceAndReadBytes() local
1552 subnode->tag == EXTERNAL ? subnode->external()->base : subnode->data; in AdvanceAndReadBytes()
1553 subnode = NewSubstring(subnode, current_chunk_.data() - data, n); in AdvanceAndReadBytes()
1554 subcord.contents_.set_tree(VerifyTree(subnode)); in AdvanceAndReadBytes()
1562 CordRep* subnode = Ref(current_leaf_); in AdvanceAndReadBytes() local
1563 if (current_chunk_.size() < subnode->length) { in AdvanceAndReadBytes()
1565 subnode->tag == EXTERNAL ? subnode->external()->base : subnode->data; in AdvanceAndReadBytes()
1566 subnode = NewSubstring(subnode, current_chunk_.data() - data, in AdvanceAndReadBytes()
1588 subnode = Concat(subnode, Ref(node)); in AdvanceAndReadBytes()
1597 subcord.contents_.set_tree(VerifyTree(subnode)); in AdvanceAndReadBytes()
[all …]

123