Lines Matching refs:ut_assertok
21 ut_assertok(uclass_get_device_by_name(UCLASS_MISC, "misc-test", &dev)); in dm_test_misc()
28 ut_assertok(memcmp(buf, "TESTWRITE", 9)); in dm_test_misc()
33 ut_assertok(misc_call(dev, 0, &id, 4, buf, 16)); in dm_test_misc()
34 ut_assertok(memcmp(buf, "Zero", 4)); in dm_test_misc()
37 ut_assertok(misc_call(dev, 0, &id, 4, buf, 16)); in dm_test_misc()
38 ut_assertok(memcmp(buf, "Two", 3)); in dm_test_misc()
40 ut_assertok(misc_call(dev, 1, &id, 4, buf, 16)); in dm_test_misc()
41 ut_assertok(memcmp(buf, "Forty-two", 9)); in dm_test_misc()
44 ut_assertok(misc_call(dev, 1, &id, 4, buf, 16)); in dm_test_misc()
45 ut_assertok(memcmp(buf, "Forty-one", 9)); in dm_test_misc()
49 ut_assertok(misc_ioctl(dev, 6, NULL)); in dm_test_misc()
51 ut_assertok(misc_call(dev, 2, NULL, 0, &last_ioctl, in dm_test_misc()
55 ut_assertok(misc_ioctl(dev, 23, NULL)); in dm_test_misc()
57 ut_assertok(misc_call(dev, 2, NULL, 0, &last_ioctl, in dm_test_misc()
64 ut_assertok(misc_call(dev, 3, NULL, 0, &enabled, in dm_test_misc()
68 ut_assertok(misc_set_enabled(dev, false)); in dm_test_misc()
70 ut_assertok(misc_call(dev, 3, NULL, 0, &enabled, in dm_test_misc()
74 ut_assertok(misc_set_enabled(dev, true)); in dm_test_misc()
76 ut_assertok(misc_call(dev, 3, NULL, 0, &enabled, in dm_test_misc()