Searched refs:UCLASS_BUTTON (Results 1 – 6 of 6) sorted by relevance
/u-boot/test/dm/ |
A D | button.c | 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() 74 ut_assertok(uclass_get_device(UCLASS_BUTTON, 1, &cmp)); in dm_test_button_label() [all …]
|
/u-boot/drivers/button/ |
A D | button-uclass.c | 18 uclass_id_foreach_dev(UCLASS_BUTTON, dev, uc) { in button_get_by_label() 40 .id = UCLASS_BUTTON,
|
A D | button-gpio.c | 105 .id = UCLASS_BUTTON,
|
A D | button-adc.c | 140 .id = UCLASS_BUTTON,
|
/u-boot/cmd/ |
A D | button.c | 37 for (uclass_find_first_device(UCLASS_BUTTON, &dev); in list_buttons()
|
/u-boot/include/dm/ |
A D | uclass-id.h | 41 UCLASS_BUTTON, /* Button */ enumerator
|
Completed in 6 milliseconds