Lines Matching refs:ut_assertok
19 ut_assertok(uclass_get_device(UCLASS_LED, 0, &dev)); in dm_test_led_base()
20 ut_assertok(uclass_get_device(UCLASS_LED, 1, &dev)); in dm_test_led_base()
21 ut_assertok(uclass_get_device(UCLASS_LED, 2, &dev)); in dm_test_led_base()
22 ut_assertok(uclass_get_device(UCLASS_LED, 3, &dev)); in dm_test_led_base()
23 ut_assertok(uclass_get_device(UCLASS_LED, 4, &dev)); in dm_test_led_base()
36 ut_assertok(led_get_by_label("sandbox:default_on", &dev)); in dm_test_led_default_state()
39 ut_assertok(led_get_by_label("sandbox:default_off", &dev)); in dm_test_led_default_state()
56 ut_assertok(uclass_get_device(UCLASS_LED, 1, &dev)); in dm_test_led_gpio()
57 ut_assertok(uclass_get_device(UCLASS_GPIO, 1, &gpio)); in dm_test_led_gpio()
59 ut_assertok(led_set_state(dev, LEDST_ON)); in dm_test_led_gpio()
63 ut_assertok(led_set_state(dev, LEDST_OFF)); in dm_test_led_gpio()
81 ut_assertok(uclass_get_device(UCLASS_LED, 1, &dev)); in dm_test_led_toggle()
82 ut_assertok(uclass_get_device(UCLASS_GPIO, 1, &gpio)); in dm_test_led_toggle()
84 ut_assertok(led_set_state(dev, LEDST_TOGGLE)); in dm_test_led_toggle()
88 ut_assertok(led_set_state(dev, LEDST_TOGGLE)); in dm_test_led_toggle()
101 ut_assertok(led_get_by_label("sandbox:red", &dev)); in dm_test_led_label()
103 ut_assertok(uclass_get_device(UCLASS_LED, 1, &cmp)); in dm_test_led_label()
106 ut_assertok(led_get_by_label("sandbox:green", &dev)); in dm_test_led_label()
108 ut_assertok(uclass_get_device(UCLASS_LED, 2, &cmp)); in dm_test_led_label()
128 ut_assertok(uclass_get_device(UCLASS_LED, 1, &dev)); in dm_test_led_blink()
129 ut_assertok(uclass_get_device(UCLASS_GPIO, 1, &gpio)); in dm_test_led_blink()