Lines Matching defs:fdt
20 static void check_compatible(const void *fdt, const char *path,
25 offset = fdt_path_offset(fdt, path);
29 err = fdt_node_check_compatible(fdt, offset, compat);
37 static void check_not_compatible(const void *fdt, const char *path,
42 offset = fdt_path_offset(fdt, path);
46 err = fdt_node_check_compatible(fdt, offset, compat);
56 void *fdt;
59 fdt = load_blob_arg(argc, argv);
61 check_compatible(fdt, "/", "test_tree1");
62 check_compatible(fdt, "/subnode@1/subsubnode", "subsubnode1");
63 check_compatible(fdt, "/subnode@1/subsubnode", "subsubnode");
64 check_not_compatible(fdt, "/subnode@1/subsubnode", "subsubnode2");
65 check_compatible(fdt, "/subnode@2/subsubnode", "subsubnode2");
66 check_compatible(fdt, "/subnode@2/subsubnode", "subsubnode");
67 check_not_compatible(fdt, "/subnode@2/subsubnode", "subsubnode1");