/external/dtc/tests/ |
D | path_offset.c | 96 subsubnode1_offset = check_subnode(fdt, subnode1_offset, "subsubnode"); 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() 100 check_path_offset(fdt, "/subnode@1/subsubnode", subsubnode1_offset); in main() 101 check_path_offset(fdt, "/subnode@2/subsubnode@0", subsubnode2_offset); in main() 102 check_path_offset(fdt, "/subnode@2/subsubnode", subsubnode2_offset2); in main() 110 check_path_offset(fdt, "/subnode@2////subsubnode", subsubnode2_offset2); 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() 118 check_path_offset_namelen(fdt, "/subnode@2/subsubnode@0/more", 23, subsubnode2_offset2); in main() [all …]
|
D | node_check_compatible.c | 60 check_compatible(fdt, "/subnode@1/subsubnode", "subsubnode1"); in main() 61 check_compatible(fdt, "/subnode@1/subsubnode", "subsubnode"); in main() 62 check_not_compatible(fdt, "/subnode@1/subsubnode", "subsubnode2"); in main() 63 check_compatible(fdt, "/subnode@2/subsubnode", "subsubnode2"); in main() 64 check_compatible(fdt, "/subnode@2/subsubnode", "subsubnode"); in main() 65 check_not_compatible(fdt, "/subnode@2/subsubnode", "subsubnode1"); in main()
|
D | path_offset_aliases.c | 38 check_alias(fdt, "/subnode@1/subsubnode", "ss1"); in main() 39 check_alias(fdt, "/subnode@1/subsubnode", "s1/subsubnode"); in main() 40 check_alias(fdt, "/subnode@1/subsubnode/subsubsubnode", "sss1"); in main() 41 check_alias(fdt, "/subnode@1/subsubnode/subsubsubnode", "ss1/subsubsubnode"); in main() 42 check_alias(fdt, "/subnode@1/subsubnode/subsubsubnode", "s1/subsubnode/subsubsubnode"); in main()
|
D | pylibfdt_tests.py | 87 node_path: Full path to node, e.g. '/subnode@1/subsubnode' 105 node_path: Full path to node, e.g. '/subnode@1/subsubnode' 108 List of subnode names for that node, e.g. ['subsubnode', 'ss1'] 138 node2 = self.fdt.path_offset('/subnode@1/subsubnode') 139 self.assertEqual(self.fdt.subnode_offset(node1, 'subsubnode'), node2) 188 node = self.fdt.path_offset('/subnode@1/subsubnode') 189 self.assertEqual(self.fdt.get_name(node), 'subsubnode') 222 node = self.fdt.path_offset('/subnode@1/subsubnode') 224 self.assertEqual(value, b'subsubnode1\0subsubnode\0') 242 [2, 'subsubnode'], [all …]
|
D | test_tree1_merge_path.dts | 19 subsubnode { 20 compatible = "subsubnode1", "subsubnode"; 35 ssn0: subsubnode@0 { 46 &{/subnode@2/subsubnode@0} { 47 compatible = "subsubnode2", "subsubnode";
|
D | test_tree1_wrong3.dts | 17 subsubnode { 18 compatible = "subsubnode1", "subsubnode"; 33 subsubnode@0 { 36 compatible = "subsubnode2", "subsubnode";
|
D | test_tree1_wrong2.dts | 17 subsubnode { 18 compatible = "subsubnode1", "subsubnode"; 33 subsubnode@0 { 36 compatible = "subsubnode2", "subsubnode";
|
D | test_tree1_wrong7.dts | 18 subsubnode { 19 compatible = "subsubnode1", "subsubnode"; 34 subsubnode@0 { 37 compatible = "subsubnode2", "subsubnode";
|
D | test_tree1_wrong8.dts | 18 subsubnode { 19 compatible = "subsubnode1", "subsubnode"; 34 subsubnode@0 { 37 compatible = "subsubnode2", "subsubnode";
|
D | test_tree1_wrong4.dts | 18 subsubnode { 19 compatible = "subsubnode1", "subsubnode"; 34 subsubnode@0 { 37 compatible = "subsubnode2", "subsubnode";
|
D | test_tree1_wrong9.dts | 19 subsubnode { 20 compatible = "subsubnode1", "subsubnode"; 35 subsubnode@0 { 38 compatible = "subsubnode2", "subsubnode";
|
D | test_tree1_wrong6.dts | 18 subsubnode { 19 compatible = "subsubnode1", "subsubnode"; 35 subsubnode@0 { 38 compatible = "subsubnode2", "subsubnode";
|
D | test_tree1_wrong5.dts | 18 subsubnode { 19 compatible = "subsubnode1", "subsubnode"; 34 subsubnode@0 { 37 compatible = "subsubnode2", "subsubnode";
|
D | test_tree1_wrong1.dts | 17 subsubnode { 18 compatible = "subsubnode1", "subsubnode"; 33 subsubnode@0 { 36 compatible = "subsubnode2", "subsubnode";
|
D | test_tree1_merge.dts | 16 subsubnode { 17 compatible = "subsubnode1", "subsubnode"; 44 ssn0: subsubnode@0 { 47 compatible = "subsubnode2", "subsubnode";
|
D | test_tree1_merge_labelled.dts | 19 subsubnode { 20 compatible = "subsubnode1", "subsubnode"; 35 ssn0: subsubnode@0 { 47 compatible = "subsubnode2", "subsubnode";
|
D | test_tree1.dts | 19 subsubnode { 20 compatible = "subsubnode1", "subsubnode"; 36 ssn0: subsubnode@0 { 39 compatible = "subsubnode2", "subsubnode";
|
D | nop_node.c | 40 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main() 42 FAIL("Couldn't find \"/subnode@2/subsubnode\": %s", in main() 62 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main() 64 FAIL("Couldn't find \"/subnode@2/subsubnode\": %s", in main() 84 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main()
|
D | test_tree1_label_noderef.dts | 19 subsubnode { 20 compatible = "subsubnode1", "subsubnode"; 36 ssn0: subsubnode@0 { 55 compatible = "subsubnode2", "subsubnode";
|
D | del_node.c | 45 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main() 47 FAIL("Couldn't find \"/subnode@2/subsubnode\": %s", in main() 67 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main() 69 FAIL("Couldn't find \"/subnode@2/subsubnode\": %s", in main() 89 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main()
|
D | node_offset_by_compatible.c | 50 subsubnode1_offset = fdt_path_offset(fdt, "/subnode@1/subsubnode"); in main() 51 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode@0"); in main() 64 check_search(fdt, "subsubnode", subsubnode1_offset, in main() 67 check_search(fdt, "subsubnode", subsubnode2_offset, in main()
|
D | rw_tree1.c | 60 OFF_CHECK(offset, fdt_add_subnode(fdt, s1, "subsubnode")); in main() 62 "subsubnode1\0subsubnode", 23)); in main() 70 OFF_CHECK(offset, fdt_add_subnode(fdt, s2, "subsubnode@0")); in main() 73 "subsubnode2\0subsubnode", 23)); in main()
|
D | fs_tree1.c | 109 start_dir("subsubnode"); in main() 111 mkfile_str("compatible", "subsubnode1\0subsubnode"); in main() 136 start_dir("subsubnode@0"); in main() 140 mkfile_str("compatible", "subsubnode2\0subsubnode"); in main()
|
D | sw_states.c | 86 CHECK_OK(fdt_begin_node(fdt, "subsubnode")); in main() 87 CHECK_OK(fdt_property(fdt, "compatible", "subsubnode1\0subsubnode", in main() 101 CHECK_OK(fdt_begin_node(fdt, "subsubnode@0")); in main() 104 CHECK_OK(fdt_property(fdt, "compatible", "subsubnode2\0subsubnode", in main()
|
D | subnode_offset.c | 63 subsubnode1_offset = check_subnode(fdt, subnode1_offset, "subsubnode"); 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()
|