Home
last modified time | relevance | path

Searched full:subsubnode (Results 1 – 25 of 43) sorted by relevance

12

/external/dtc/tests/
Dpath_offset.c96 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 …]
Dnode_check_compatible.c60 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()
Dpath_offset_aliases.c38 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()
Dpylibfdt_tests.py87 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 …]
Dtest_tree1_merge_path.dts19 subsubnode {
20 compatible = "subsubnode1", "subsubnode";
35 ssn0: subsubnode@0 {
46 &{/subnode@2/subsubnode@0} {
47 compatible = "subsubnode2", "subsubnode";
Dtest_tree1_wrong3.dts17 subsubnode {
18 compatible = "subsubnode1", "subsubnode";
33 subsubnode@0 {
36 compatible = "subsubnode2", "subsubnode";
Dtest_tree1_wrong2.dts17 subsubnode {
18 compatible = "subsubnode1", "subsubnode";
33 subsubnode@0 {
36 compatible = "subsubnode2", "subsubnode";
Dtest_tree1_wrong7.dts18 subsubnode {
19 compatible = "subsubnode1", "subsubnode";
34 subsubnode@0 {
37 compatible = "subsubnode2", "subsubnode";
Dtest_tree1_wrong8.dts18 subsubnode {
19 compatible = "subsubnode1", "subsubnode";
34 subsubnode@0 {
37 compatible = "subsubnode2", "subsubnode";
Dtest_tree1_wrong4.dts18 subsubnode {
19 compatible = "subsubnode1", "subsubnode";
34 subsubnode@0 {
37 compatible = "subsubnode2", "subsubnode";
Dtest_tree1_wrong9.dts19 subsubnode {
20 compatible = "subsubnode1", "subsubnode";
35 subsubnode@0 {
38 compatible = "subsubnode2", "subsubnode";
Dtest_tree1_wrong6.dts18 subsubnode {
19 compatible = "subsubnode1", "subsubnode";
35 subsubnode@0 {
38 compatible = "subsubnode2", "subsubnode";
Dtest_tree1_wrong5.dts18 subsubnode {
19 compatible = "subsubnode1", "subsubnode";
34 subsubnode@0 {
37 compatible = "subsubnode2", "subsubnode";
Dtest_tree1_wrong1.dts17 subsubnode {
18 compatible = "subsubnode1", "subsubnode";
33 subsubnode@0 {
36 compatible = "subsubnode2", "subsubnode";
Dtest_tree1_merge.dts16 subsubnode {
17 compatible = "subsubnode1", "subsubnode";
44 ssn0: subsubnode@0 {
47 compatible = "subsubnode2", "subsubnode";
Dtest_tree1_merge_labelled.dts19 subsubnode {
20 compatible = "subsubnode1", "subsubnode";
35 ssn0: subsubnode@0 {
47 compatible = "subsubnode2", "subsubnode";
Dtest_tree1.dts19 subsubnode {
20 compatible = "subsubnode1", "subsubnode";
36 ssn0: subsubnode@0 {
39 compatible = "subsubnode2", "subsubnode";
Dnop_node.c40 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()
Dtest_tree1_label_noderef.dts19 subsubnode {
20 compatible = "subsubnode1", "subsubnode";
36 ssn0: subsubnode@0 {
55 compatible = "subsubnode2", "subsubnode";
Ddel_node.c45 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()
Dnode_offset_by_compatible.c50 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()
Drw_tree1.c60 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()
Dfs_tree1.c109 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()
Dsw_states.c86 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()
Dsubnode_offset.c63 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()

12