Lines Matching refs:uclass_get_device
24 ut_assertok(uclass_get_device(UCLASS_BUTTON, 0, &dev)); in dm_test_button_base()
26 ut_assertok(uclass_get_device(UCLASS_BUTTON, 1, &dev)); in dm_test_button_base()
27 ut_assertok(uclass_get_device(UCLASS_BUTTON, 2, &dev)); in dm_test_button_base()
30 ut_assertok(uclass_get_device(UCLASS_BUTTON, 3, &dev)); in dm_test_button_base()
32 ut_assertok(uclass_get_device(UCLASS_BUTTON, 4, &dev)); in dm_test_button_base()
33 ut_assertok(uclass_get_device(UCLASS_BUTTON, 5, &dev)); in dm_test_button_base()
34 ut_assertok(uclass_get_device(UCLASS_BUTTON, 6, &dev)); in dm_test_button_base()
36 ut_asserteq(-ENODEV, uclass_get_device(UCLASS_BUTTON, 7, &dev)); in dm_test_button_base()
52 ut_assertok(uclass_get_device(UCLASS_BUTTON, 1, &dev)); in dm_test_button_gpio()
53 ut_assertok(uclass_get_device(UCLASS_GPIO, 1, &gpio)); in dm_test_button_gpio()
74 ut_assertok(uclass_get_device(UCLASS_BUTTON, 1, &cmp)); in dm_test_button_label()
79 ut_assertok(uclass_get_device(UCLASS_BUTTON, 2, &cmp)); in dm_test_button_label()