Home
last modified time | relevance | path

Searched refs:subnode2_offset (Results 1 – 7 of 7) sorted by relevance

/external/dtc/tests/
Dnop_node.c22 int subnode1_offset, subnode2_offset, subsubnode2_offset; in main() local
34 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
35 if (subnode2_offset < 0) in main()
37 fdt_strerror(subnode2_offset)); in main()
38 check_getprop_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
56 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
57 if (subnode2_offset < 0) in main()
59 fdt_strerror(subnode2_offset)); in main()
60 check_getprop_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
68 err = fdt_nop_node(fdt, subnode2_offset); in main()
[all …]
Ddel_node.c22 int subnode1_offset, subnode2_offset, subsubnode2_offset; in main() local
39 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
40 if (subnode2_offset < 0) in main()
42 fdt_strerror(subnode2_offset)); in main()
43 check_getprop_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
61 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
62 if (subnode2_offset < 0) in main()
64 fdt_strerror(subnode2_offset)); in main()
65 check_getprop_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
73 err = fdt_del_node(fdt, subnode2_offset); in main()
[all …]
Dsubnode_offset.c47 int subnode1_offset, subnode2_offset; in main() local
55 subnode2_offset = check_subnode(fdt, 0, "subnode@2"); in main()
57 if (subnode1_offset == subnode2_offset) in main()
61 check_property_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
64 subsubnode2_offset = check_subnode(fdt, subnode2_offset, "subsubnode@0"); in main()
65 subsubnode2_offset2 = check_subnode(fdt, subnode2_offset, "subsubnode"); in main()
75 ss21_off = fdt_subnode_offset(fdt, subnode2_offset, "ss1"); in main()
82 check_subnode(fdt, subnode2_offset, "ss2"); in main()
Dpath_offset.c82 int subnode1_offset, subnode2_offset; in main() local
91 subnode2_offset = check_subnode(fdt, 0, "subnode@2"); in main()
94 check_path_offset(fdt, "/subnode@2", subnode2_offset); in main()
97 subsubnode2_offset = check_subnode(fdt, subnode2_offset, "subsubnode@0"); in main()
98 subsubnode2_offset2 = check_subnode(fdt, subnode2_offset, "subsubnode"); in main()
116 check_path_offset_namelen(fdt, "/subnode@2TRAILINGGARBAGE", 10, subnode2_offset); in main()
Dnode_offset_by_phandle.c32 int subnode2_offset, subsubnode2_offset; in main() local
37 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
40 if ((subnode2_offset < 0) || (subsubnode2_offset < 0)) in main()
43 check_search(fdt, PHANDLE_1, subnode2_offset); in main()
Dnode_offset_by_prop_value.c67 int subnode1_offset, subnode2_offset; in main() local
74 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
78 if ((subnode1_offset < 0) || (subnode2_offset < 0) in main()
85 check_search_cell(fdt, "prop-int", TEST_VALUE_2, subnode2_offset, in main()
Dnode_offset_by_compatible.c42 int subnode1_offset, subnode2_offset; in main() local
49 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
53 if ((subnode1_offset < 0) || (subnode2_offset < 0) in main()