Searched refs:check_search (Results 1 - 3 of 3) sorted by relevance
/netbsd-current/external/gpl2/dtc/dist/tests/ |
H A D | node_offset_by_phandle.c | 20 static void check_search(void *fdt, uint32_t phandle, int target) function 45 check_search(fdt, PHANDLE_1, subnode2_offset); 46 check_search(fdt, PHANDLE_2, subsubnode2_offset); 47 check_search(fdt, ~PHANDLE_1, -FDT_ERR_NOTFOUND); 48 check_search(fdt, 0, -FDT_ERR_BADPHANDLE); 49 check_search(fdt, -1, -FDT_ERR_BADPHANDLE);
|
H A D | node_offset_by_compatible.c | 20 static void check_search(void *fdt, const char *compat, ...) function 59 check_search(fdt, "test_tree1", 0, -FDT_ERR_NOTFOUND); 60 check_search(fdt, "subnode1", subnode1_offset, -FDT_ERR_NOTFOUND); 61 check_search(fdt, "subsubnode1", subsubnode1_offset, -FDT_ERR_NOTFOUND); 62 check_search(fdt, "subsubnode2", subsubnode2_offset, -FDT_ERR_NOTFOUND); 66 check_search(fdt, "subsubnode", subsubnode1_offset, 69 check_search(fdt, "subsubnode", subsubnode2_offset, 71 check_search(fdt, "nothing-like-this", -FDT_ERR_NOTFOUND);
|
H A D | node_offset_by_prop_value.c | 39 static void check_search(void *fdt, const char *propname, const void *propval, function 62 check_search((fdt), (propname), &val, sizeof(val), \ 96 check_search(fdt, "no-such-prop", NULL, 0, -FDT_ERR_NOTFOUND);
|
Completed in 116 milliseconds