Lines Matching refs:uclass_get_device
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()
24 ut_asserteq(-ENODEV, uclass_get_device(UCLASS_LED, 5, &dev)); in dm_test_led_base()
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()
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()
103 ut_assertok(uclass_get_device(UCLASS_LED, 1, &cmp)); 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()