Home
last modified time | relevance | path

Searched refs:subnode1_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
28 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main()
29 if (subnode1_offset < 0) in main()
31 fdt_strerror(subnode1_offset)); in main()
32 check_getprop_cell(fdt, subnode1_offset, "prop-int", TEST_VALUE_1); in main()
46 err = fdt_nop_node(fdt, subnode1_offset); in main()
50 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main()
51 if (subnode1_offset != -FDT_ERR_NOTFOUND) in main()
53 fdt_strerror(subnode1_offset), in main()
72 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main()
[all …]
Ddel_node.c22 int subnode1_offset, subnode2_offset, subsubnode2_offset; in main() local
33 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main()
34 if (subnode1_offset < 0) in main()
36 fdt_strerror(subnode1_offset)); in main()
37 check_getprop_cell(fdt, subnode1_offset, "prop-int", TEST_VALUE_1); in main()
51 err = fdt_del_node(fdt, subnode1_offset); in main()
55 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main()
56 if (subnode1_offset != -FDT_ERR_NOTFOUND) in main()
58 fdt_strerror(subnode1_offset), in main()
77 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main()
[all …]
Dpath_offset.c82 int subnode1_offset, subnode2_offset; in main() local
90 subnode1_offset = check_subnode(fdt, 0, "subnode@1"); in main()
93 check_path_offset(fdt, "/subnode@1", subnode1_offset); in main()
96 subsubnode1_offset = check_subnode(fdt, subnode1_offset, "subsubnode"); in main()
107 check_path_offset(fdt, "//subnode@1", subnode1_offset); in main()
108 check_path_offset(fdt, "/subnode@1/", subnode1_offset); in main()
109 check_path_offset(fdt, "//subnode@1///", subnode1_offset); in main()
114 check_path_offset_namelen(fdt, "/subnode@1/subsubnode", 10, subnode1_offset); in main()
115 check_path_offset_namelen(fdt, "/subnode@1/subsubnode", 11, subnode1_offset); in main()
Dsubnode_offset.c47 int subnode1_offset, subnode2_offset; in main() local
54 subnode1_offset = check_subnode(fdt, 0, "subnode@1"); in main()
57 if (subnode1_offset == subnode2_offset) in main()
60 check_property_cell(fdt, subnode1_offset, "prop-int", TEST_VALUE_1); in main()
63 subsubnode1_offset = check_subnode(fdt, subnode1_offset, "subsubnode"); in main()
74 check_subnode(fdt, subnode1_offset, "ss1"); in main()
79 ss12_off = fdt_subnode_offset(fdt, subnode1_offset, "ss2"); in main()
Dnotfound.c28 int subnode1_offset; in main() local
40 subnode1_offset = fdt_subnode_offset(fdt, 0, "subnode@1"); in main()
41 if (subnode1_offset < 0) in main()
42 FAIL("Couldn't find subnode1: %s", fdt_strerror(subnode1_offset)); in main()
44 fdt_getprop(fdt, subnode1_offset, "prop-str", &lenerr); in main()
Dnode_offset_by_compatible.c42 int subnode1_offset, subnode2_offset; in main() local
48 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main()
53 if ((subnode1_offset < 0) || (subnode2_offset < 0) in main()
58 check_search(fdt, "subnode1", subnode1_offset, -FDT_ERR_NOTFOUND); in main()
Dnode_offset_by_prop_value.c67 int subnode1_offset, subnode2_offset; in main() local
73 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main()
78 if ((subnode1_offset < 0) || (subnode2_offset < 0) in main()
82 check_search_cell(fdt, "prop-int", TEST_VALUE_1, 0, subnode1_offset, in main()