Home | History | Annotate | Download | only in tests

Lines Matching defs:fdt

31 static void check_compatible(const void *fdt, const char *path,
36 offset = fdt_path_offset(fdt, path);
40 err = fdt_node_check_compatible(fdt, offset, compat);
50 void *fdt;
53 fdt = load_blob_arg(argc, argv);
55 check_compatible(fdt, "/", "test_tree1");
56 check_compatible(fdt, "/subnode@1/subsubnode", "subsubnode1");
57 check_compatible(fdt, "/subnode@1/subsubnode", "subsubnode");
58 check_compatible(fdt, "/subnode@2/subsubnode", "subsubnode2");
59 check_compatible(fdt, "/subnode@2/subsubnode", "subsubnode");