/external/dtc/tests/ |
nop_node.c | 35 int subnode1_offset, subnode2_offset, subsubnode2_offset; local 41 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); 42 if (subnode1_offset < 0) 44 fdt_strerror(subnode1_offset)); 45 check_getprop_cell(fdt, subnode1_offset, "prop-int", TEST_VALUE_1); 59 err = fdt_nop_node(fdt, subnode1_offset); 63 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); 64 if (subnode1_offset != -FDT_ERR_NOTFOUND) 66 fdt_strerror(subnode1_offset), 85 subnode1_offset = fdt_path_offset(fdt, "/subnode@1") [all...] |
notfound.c | 41 int subnode1_offset; local 53 subnode1_offset = fdt_subnode_offset(fdt, 0, "subnode@1"); 54 if (subnode1_offset < 0) 55 FAIL("Couldn't find subnode1: %s", fdt_strerror(subnode1_offset)); 57 fdt_getprop(fdt, subnode1_offset, "prop-str", &lenerr);
|
del_node.c | 35 int subnode1_offset, subnode2_offset, subsubnode2_offset; local 46 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); 47 if (subnode1_offset < 0) 49 fdt_strerror(subnode1_offset)); 50 check_getprop_cell(fdt, subnode1_offset, "prop-int", TEST_VALUE_1); 64 err = fdt_del_node(fdt, subnode1_offset); 68 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); 69 if (subnode1_offset != -FDT_ERR_NOTFOUND) 71 fdt_strerror(subnode1_offset), 90 subnode1_offset = fdt_path_offset(fdt, "/subnode@1") [all...] |
subnode_offset.c | 60 int subnode1_offset, subnode2_offset; local 67 subnode1_offset = check_subnode(fdt, 0, "subnode@1"); 70 if (subnode1_offset == subnode2_offset) 73 check_property_cell(fdt, subnode1_offset, "prop-int", TEST_VALUE_1); 76 subsubnode1_offset = check_subnode(fdt, subnode1_offset, "subsubnode"); 87 check_subnode(fdt, subnode1_offset, "ss1"); 92 ss12_off = fdt_subnode_offset(fdt, subnode1_offset, "ss2");
|
path_offset.c | 95 int subnode1_offset, subnode2_offset; local 103 subnode1_offset = check_subnode(fdt, 0, "subnode@1"); 106 check_path_offset(fdt, "/subnode@1", subnode1_offset); 109 subsubnode1_offset = check_subnode(fdt, subnode1_offset, "subsubnode"); 120 check_path_offset(fdt, "//subnode@1", subnode1_offset); 121 check_path_offset(fdt, "/subnode@1/", subnode1_offset); 122 check_path_offset(fdt, "//subnode@1///", subnode1_offset); 127 check_path_offset_namelen(fdt, "/subnode@1/subsubnode", 10, subnode1_offset); 128 check_path_offset_namelen(fdt, "/subnode@1/subsubnode", 11, subnode1_offset);
|
node_offset_by_compatible.c | 55 int subnode1_offset, subnode2_offset; local 61 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); 66 if ((subnode1_offset < 0) || (subnode2_offset < 0) 71 check_search(fdt, "subnode1", subnode1_offset, -FDT_ERR_NOTFOUND);
|
node_offset_by_prop_value.c | 80 int subnode1_offset, subnode2_offset; local 86 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); 91 if ((subnode1_offset < 0) || (subnode2_offset < 0) 95 check_search_cell(fdt, "prop-int", TEST_VALUE_1, 0, subnode1_offset,
|