Home | History | Annotate | Download | only in tests

Lines Matching refs:CHECK

34 #define CHECK(code) \
59 CHECK(fdt_create_empty_tree(fdt, SPACE));
61 CHECK(fdt_add_mem_rsv(fdt, TEST_ADDR_1, TEST_SIZE_1));
62 CHECK(fdt_add_mem_rsv(fdt, TEST_ADDR_2, TEST_SIZE_2));
64 CHECK(fdt_setprop_string(fdt, 0, "compatible", "test_tree1"));
65 CHECK(fdt_setprop_u32(fdt, 0, "prop-int", TEST_VALUE_1));
66 CHECK(fdt_setprop_u64(fdt, 0, "prop-int64", TEST_VALUE64_1));
67 CHECK(fdt_setprop_string(fdt, 0, "prop-str", TEST_STRING_1));
71 CHECK(fdt_setprop_string(fdt, s1, "compatible", "subnode1"));
72 CHECK(fdt_setprop_cell(fdt, s1, "prop-int", TEST_VALUE_1));
74 CHECK(fdt_setprop(fdt, offset, "compatible",
76 CHECK(fdt_setprop_cell(fdt, offset, "prop-int", TEST_VALUE_1));
81 CHECK(fdt_setprop_cell(fdt, s2, "linux,phandle", PHANDLE_1));
82 CHECK(fdt_setprop_cell(fdt, s2, "prop-int", TEST_VALUE_2));
84 CHECK(fdt_setprop_cell(fdt, offset, "linux,phandle", PHANDLE_2));
85 CHECK(fdt_setprop(fdt, offset, "compatible",
87 CHECK(fdt_setprop_cell(fdt, offset, "prop-int", TEST_VALUE_2));
90 CHECK(fdt_pack(fdt));