Home
last modified time | relevance | path

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

/external/dtc/tests/
Dnop_node.c35 int subnode1_offset, subnode2_offset, subsubnode2_offset; in main() local
53 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main()
54 if (subsubnode2_offset < 0) in main()
56 fdt_strerror(subsubnode2_offset)); in main()
57 check_getprop_cell(fdt, subsubnode2_offset, "prop-int", TEST_VALUE_2); in main()
75 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main()
76 if (subsubnode2_offset < 0) in main()
78 fdt_strerror(subsubnode2_offset)); in main()
79 check_getprop_cell(fdt, subsubnode2_offset, "prop-int", TEST_VALUE_2); in main()
97 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main()
[all …]
Ddel_node.c35 int subnode1_offset, subnode2_offset, subsubnode2_offset; in main() local
58 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main()
59 if (subsubnode2_offset < 0) in main()
61 fdt_strerror(subsubnode2_offset)); in main()
62 check_getprop_cell(fdt, subsubnode2_offset, "prop-int", TEST_VALUE_2); in main()
80 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main()
81 if (subsubnode2_offset < 0) in main()
83 fdt_strerror(subsubnode2_offset)); in main()
84 check_getprop_cell(fdt, subsubnode2_offset, "prop-int", TEST_VALUE_2); in main()
102 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main()
[all …]
Dnode_offset_by_compatible.c56 int subsubnode1_offset, subsubnode2_offset; in main() local
64 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode@0"); in main()
67 || (subsubnode1_offset < 0) || (subsubnode2_offset < 0)) in main()
73 check_search(fdt, "subsubnode2", subsubnode2_offset, -FDT_ERR_NOTFOUND); in main()
76 if (subsubnode1_offset < subsubnode2_offset) in main()
78 subsubnode2_offset, -FDT_ERR_NOTFOUND); in main()
80 check_search(fdt, "subsubnode", subsubnode2_offset, in main()
Dnode_offset_by_phandle.c45 int subnode2_offset, subsubnode2_offset; in main() local
51 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode@0"); in main()
53 if ((subnode2_offset < 0) || (subsubnode2_offset < 0)) in main()
57 check_search(fdt, PHANDLE_2, subsubnode2_offset); in main()
Dnode_offset_by_prop_value.c81 int subsubnode1_offset, subsubnode2_offset; in main() local
89 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode@0"); in main()
92 || (subsubnode1_offset < 0) || (subsubnode2_offset < 0)) in main()
99 subsubnode2_offset, -FDT_ERR_NOTFOUND); in main()
Dsubnode_offset.c61 int subsubnode1_offset, subsubnode2_offset, subsubnode2_offset2; in main() local
77 subsubnode2_offset = check_subnode(fdt, subnode2_offset, "subsubnode@0"); in main()
81 check_property_cell(fdt, subsubnode2_offset, "prop-int", TEST_VALUE_2); in main()
84 if (subsubnode2_offset != subsubnode2_offset2) in main()
Dpath_offset.c96 int subsubnode1_offset, subsubnode2_offset, subsubnode2_offset2; in main() local
110 subsubnode2_offset = check_subnode(fdt, subnode2_offset, "subsubnode@0"); in main()
114 check_path_offset(fdt, "/subnode@2/subsubnode@0", subsubnode2_offset); in main()