Home
last modified time | relevance | path

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

/netbsd-src/external/gpl2/dtc/dist/tests/
H A Dnop_node.c24 int subnode1_offset, subnode2_offset, subsubnode2_offset; in main() local
36 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
37 if (subnode2_offset < 0) in main()
39 fdt_strerror(subnode2_offset)); in main()
40 check_getprop_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
58 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
59 if (subnode2_offset < 0) in main()
61 fdt_strerror(subnode2_offset)); in main()
62 check_getprop_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
70 err = fdt_nop_node(fdt, subnode2_offset); in main()
[all …]
H A Ddel_node.c24 int subnode1_offset, subnode2_offset, subsubnode2_offset; in main() local
41 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
42 if (subnode2_offset < 0) in main()
44 fdt_strerror(subnode2_offset)); in main()
45 check_getprop_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
63 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
64 if (subnode2_offset < 0) in main()
66 fdt_strerror(subnode2_offset)); in main()
67 check_getprop_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
75 err = fdt_del_node(fdt, subnode2_offset); in main()
[all …]
H A Dsubnode_offset.c49 int subnode1_offset, subnode2_offset; in main() local
57 subnode2_offset = check_subnode(fdt, 0, "subnode@2"); in main()
59 if (subnode1_offset == subnode2_offset) in main()
63 check_property_cell(fdt, subnode2_offset, "prop-int", TEST_VALUE_2); in main()
66 subsubnode2_offset = check_subnode(fdt, subnode2_offset, "subsubnode@0"); in main()
67 subsubnode2_offset2 = check_subnode(fdt, subnode2_offset, "subsubnode"); in main()
77 ss21_off = fdt_subnode_offset(fdt, subnode2_offset, "ss1"); in main()
84 check_subnode(fdt, subnode2_offset, "ss2"); in main()
H A Dpath_offset.c84 int subnode1_offset, subnode2_offset; in main() local
93 subnode2_offset = check_subnode(fdt, 0, "subnode@2"); in main()
96 check_path_offset(fdt, "/subnode@2", subnode2_offset); in main()
99 subsubnode2_offset = check_subnode(fdt, subnode2_offset, "subsubnode@0"); in main()
100 subsubnode2_offset2 = check_subnode(fdt, subnode2_offset, "subsubnode"); in main()
118 check_path_offset_namelen(fdt, "/subnode@2TRAILINGGARBAGE", 10, subnode2_offset); in main()
H A Dnode_offset_by_phandle.c34 int subnode2_offset, subsubnode2_offset; in main() local
39 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
42 if ((subnode2_offset < 0) || (subsubnode2_offset < 0)) in main()
45 check_search(fdt, PHANDLE_1, subnode2_offset); in main()
H A Dnode_offset_by_prop_value.c69 int subnode1_offset, subnode2_offset; in main() local
76 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
80 if ((subnode1_offset < 0) || (subnode2_offset < 0) in main()
87 check_search_cell(fdt, "prop-int", TEST_VALUE_2, subnode2_offset, in main()
H A Dnode_offset_by_compatible.c44 int subnode1_offset, subnode2_offset; in main() local
51 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main()
55 if ((subnode1_offset < 0) || (subnode2_offset < 0) in main()