Home
last modified time | relevance | path

Searched refs:subnode2_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
47 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
48 if (subnode2_offset < 0) in main()
50 fdt_strerror(subnode2_offset)); in main()
51 check_getprop_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
69 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
70 if (subnode2_offset < 0) in main()
72 fdt_strerror(subnode2_offset)); in main()
73 check_getprop_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
81 err = fdt_nop_node(fdt, subnode2_offset); in main()
[all …]
Ddel_node.c35 int subnode1_offset, subnode2_offset, subsubnode2_offset; in main() local
52 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
53 if (subnode2_offset < 0) in main()
55 fdt_strerror(subnode2_offset)); in main()
56 check_getprop_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
74 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
75 if (subnode2_offset < 0) in main()
77 fdt_strerror(subnode2_offset)); in main()
78 check_getprop_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
86 err = fdt_del_node(fdt, subnode2_offset); in main()
[all …]
Dsubnode_offset.c60 int subnode1_offset, subnode2_offset; in main() local
68 subnode2_offset = check_subnode(fdt, 0, "subnode@2"); in main()
70 if (subnode1_offset == subnode2_offset) in main()
74 check_property_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
77 subsubnode2_offset = check_subnode(fdt, subnode2_offset, "subsubnode@0"); in main()
78 subsubnode2_offset2 = check_subnode(fdt, subnode2_offset, "subsubnode"); in main()
88 ss21_off = fdt_subnode_offset(fdt, subnode2_offset, "ss1"); in main()
95 check_subnode(fdt, subnode2_offset, "ss2"); in main()
Dpath_offset.c95 int subnode1_offset, subnode2_offset; in main() local
104 subnode2_offset = check_subnode(fdt, 0, "subnode@2"); in main()
107 check_path_offset(fdt, "/subnode@2", subnode2_offset); in main()
110 subsubnode2_offset = check_subnode(fdt, subnode2_offset, "subsubnode@0"); in main()
111 subsubnode2_offset2 = check_subnode(fdt, subnode2_offset, "subsubnode"); in main()
129 check_path_offset_namelen(fdt, "/subnode@2TRAILINGGARBAGE", 10, subnode2_offset); in main()
Dnode_offset_by_phandle.c45 int subnode2_offset, subsubnode2_offset; in main() local
50 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
53 if ((subnode2_offset < 0) || (subsubnode2_offset < 0)) in main()
56 check_search(fdt, PHANDLE_1, subnode2_offset); in main()
Dnode_offset_by_prop_value.c80 int subnode1_offset, subnode2_offset; in main() local
87 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
91 if ((subnode1_offset < 0) || (subnode2_offset < 0) in main()
98 check_search_cell(fdt, "prop-int", TEST_VALUE_2, subnode2_offset, in main()
Dnode_offset_by_compatible.c55 int subnode1_offset, subnode2_offset; in main() local
62 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
66 if ((subnode1_offset < 0) || (subnode2_offset < 0) in main()