Home
last modified time | relevance | path

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

12

/external/arm-trusted-firmware/drivers/st/clk/
Dstm32mp_clkfunc.c25 int node, subnode; in fdt_osc_read_freq() local
37 fdt_for_each_subnode(subnode, fdt, node) { in fdt_osc_read_freq()
41 cchar = fdt_get_name(fdt, subnode, &ret); in fdt_osc_read_freq()
49 cuint = fdt_getprop(fdt, subnode, "clock-frequency", in fdt_osc_read_freq()
74 int node, subnode; in fdt_osc_read_bool() local
90 fdt_for_each_subnode(subnode, fdt, node) { in fdt_osc_read_bool()
94 cchar = fdt_get_name(fdt, subnode, &ret); in fdt_osc_read_bool()
104 if (fdt_getprop(fdt, subnode, prop_name, NULL) != NULL) { in fdt_osc_read_bool()
122 int node, subnode; in fdt_osc_read_uint32_default() local
138 fdt_for_each_subnode(subnode, fdt, node) { in fdt_osc_read_uint32_default()
[all …]
/external/trusty/arm-trusted-firmware/drivers/st/clk/
Dstm32mp_clkfunc.c28 int node, subnode; in fdt_osc_read_freq() local
40 fdt_for_each_subnode(subnode, fdt, node) { in fdt_osc_read_freq()
44 cchar = fdt_get_name(fdt, subnode, &ret); in fdt_osc_read_freq()
50 (fdt_get_status(subnode) != DT_DISABLED)) { in fdt_osc_read_freq()
53 cuint = fdt_getprop(fdt, subnode, "clock-frequency", in fdt_osc_read_freq()
78 int node, subnode; in fdt_clk_read_bool() local
90 fdt_for_each_subnode(subnode, fdt, node) { in fdt_clk_read_bool()
94 cchar = fdt_get_name(fdt, subnode, &ret); in fdt_clk_read_bool()
103 if (fdt_getprop(fdt, subnode, prop_name, NULL) != NULL) { in fdt_clk_read_bool()
121 int node, subnode; in fdt_clk_read_uint32_default() local
[all …]
Dclk-stm32mp13.c2110 int subnode = 0; in clk_stm32_parse_oscillator_fdt() local
2115 fdt_for_each_subnode(subnode, fdt, node) { in clk_stm32_parse_oscillator_fdt()
2120 cchar = fdt_get_name(fdt, subnode, &ret); in clk_stm32_parse_oscillator_fdt()
2126 fdt_get_status(subnode) == DT_DISABLED) { in clk_stm32_parse_oscillator_fdt()
2130 cuint = fdt_getprop(fdt, subnode, "clock-frequency", &ret); in clk_stm32_parse_oscillator_fdt()
2137 if (fdt_getprop(fdt, subnode, "st,bypass", NULL) != NULL) { in clk_stm32_parse_oscillator_fdt()
2141 if (fdt_getprop(fdt, subnode, "st,digbypass", NULL) != NULL) { in clk_stm32_parse_oscillator_fdt()
2145 if (fdt_getprop(fdt, subnode, "st,css", NULL) != NULL) { in clk_stm32_parse_oscillator_fdt()
2149 osci->drive = fdt_read_uint32_default(fdt, subnode, "st,drive", LSEDRV_MEDIUM_HIGH); in clk_stm32_parse_oscillator_fdt()
2187 static int clk_stm32_load_vco_config(void *fdt, int subnode, struct stm32_pll_vco *vco) in clk_stm32_load_vco_config() argument
[all …]
/external/dtc/tests/
Dtest_tree1_delete.dts8 nonexistant-subnode {
16 subnode@1 {
25 /delete-node/ nonexistant-subnode;
27 subnode@1 {
43 subnode@1 {
49 subnode@1 {
Dtest_tree1_merge.dts12 subnode@1 {
25 subnode@2 {
40 subnode@1 {
43 subnode@2 {
Dtest_tree1_merge_path.dts14 subnode@1 {
28 subnode@2 {
46 &{/subnode@2/subsubnode@0} {
Dtest_tree1_wrong3.dts13 subnode@1 {
26 subnode@2 {
Dtest_tree1_wrong1.dts12 subnode@1 {
26 subnode@2 {
Dtest_tree1_wrong2.dts12 subnode@1 {
26 subnode@2 {
Dtest_tree1_wrong5.dts13 subnode@1 {
27 subnode@2 {
Dtest_tree1_wrong8.dts13 subnode@1 {
27 subnode@2 {
Dtest_tree1_wrong4.dts13 subnode@1 {
27 subnode@2 {
Dtest_tree1_wrong7.dts13 subnode@1 {
27 subnode@2 {
Dtest_tree1_wrong9.dts14 subnode@1 {
28 subnode@2 {
Dtest_tree1_wrong6.dts13 subnode@1 {
28 subnode@2 {
Dtest_tree1.dts14 subnode@1 {
29 subnode@2 {
Dtest_tree1_merge_labelled.dts14 subnode@1 {
28 subnode@2 {
Dtest_tree1_label_noderef.dts14 subnode@1 {
29 subnode@2 {
/external/python/pyyaml/lib/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 …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/
DSafeConstructor.java165 for (Node subnode : vals) { in mergeNode()
166 if (!(subnode instanceof MappingNode)) { in mergeNode()
168 "expected a mapping for merging, but found " + subnode.getNodeId(), in mergeNode()
169 subnode.getStartMark()); in mergeNode()
171 MappingNode mnode = (MappingNode) subnode; in mergeNode()
478 for (Node subnode : snode.getValue()) { in construct()
479 if (!(subnode instanceof MappingNode)) { in construct()
481 "expected a mapping of length 1, but found " + subnode.getNodeId(), in construct()
482 subnode.getStartMark()); in construct()
484 MappingNode mnode = (MappingNode) subnode; in construct()
[all …]
/external/trusty/arm-trusted-firmware/drivers/st/pmic/
Dstm32mp_pmic2.c396 int pmic_node, regulators_node, subnode; in register_pmic2() local
414 fdt_for_each_subnode(subnode, fdt, regulators_node) { in register_pmic2()
415 const char *reg_name = fdt_get_name(fdt, subnode, NULL); in register_pmic2()
429 ret = regulator_register(desc, subnode); in register_pmic2()
436 cuint = fdt_getprop(fdt, subnode, "st,regulator-bypass-microvolt", NULL); in register_pmic2()
445 if (fdt_getprop(fdt, subnode, "st,mask-reset", NULL) != NULL) { in register_pmic2()
454 if (fdt_getprop(fdt, subnode, "st,regulator-sink-source", NULL) != NULL) { in register_pmic2()
Dstm32mp_pmic.c370 int pmic_node, regulators_node, subnode; in register_pmic() local
388 fdt_for_each_subnode(subnode, fdt, regulators_node) { in register_pmic()
389 const char *reg_name = fdt_get_name(fdt, subnode, NULL); in register_pmic()
402 ret = regulator_register(desc, subnode); in register_pmic()
/external/dtc/
Ddtc-parser.y86 %type <node> subnode
563 | subnode subnodes
567 | subnode propdef
574 subnode:
583 | DT_OMIT_NO_REF subnode
587 | DT_LABEL subnode
/external/crosvm/cros_fdt/src/
Doverlay.rs77 .subnode(node_name) in collect_all_references_by_path()
79 if let Some(n) = fixup_node.subnode(node_name) { in collect_all_references_by_path()
97 for subnode in node.iter_subnodes() { in get_all_phandles()
98 nodes.push_back((subnode, path.push(&subnode.name).unwrap())); in get_all_phandles()
121 let Some(local_fixups_node) = fdt.root.subnode(LOCAL_FIXUPS_NODE) else { in collect_all_filtered_paths()
159 .subnode(node_name) in do_overlay_filter()
223 let Some(local_fixups_node) = fdt.root.subnode(LOCAL_FIXUPS_NODE) else { in collect_local_fixup_paths()
282 let symbols_node = fdt.root.subnode(SYMBOLS_NODE)?; in get_symbol_path_and_phandle()
291 let Some(fixups_node) = overlay.root.subnode(FIXUPS_NODE) else { in apply_external_fixups()
350 let Some(overlay_node) = fragment_node.subnode(OVERLAY_NODE) else { in overlay_fragment()
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/
Dcord.cc1547 CordRep* subnode = Ref(current_leaf_); in AdvanceAndReadBytes() local
1549 subnode->tag == EXTERNAL ? subnode->external()->base : subnode->data; in AdvanceAndReadBytes()
1550 subnode = NewSubstring(subnode, current_chunk_.data() - data, n); in AdvanceAndReadBytes()
1551 subcord.contents_.set_tree(VerifyTree(subnode)); in AdvanceAndReadBytes()
1559 CordRep* subnode = Ref(current_leaf_); in AdvanceAndReadBytes() local
1560 if (current_chunk_.size() < subnode->length) { in AdvanceAndReadBytes()
1562 subnode->tag == EXTERNAL ? subnode->external()->base : subnode->data; in AdvanceAndReadBytes()
1563 subnode = NewSubstring(subnode, current_chunk_.data() - data, in AdvanceAndReadBytes()
1585 subnode = Concat(subnode, Ref(node)); in AdvanceAndReadBytes()
1594 subcord.contents_.set_tree(VerifyTree(subnode)); in AdvanceAndReadBytes()
[all …]

12