Home
last modified time | relevance | path

Searched refs:UCLASS_BUTTON (Results 1 – 6 of 6) sorted by relevance

/u-boot/test/dm/
A Dbutton.c24 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 Dbutton-uclass.c18 uclass_id_foreach_dev(UCLASS_BUTTON, dev, uc) { in button_get_by_label()
40 .id = UCLASS_BUTTON,
A Dbutton-gpio.c105 .id = UCLASS_BUTTON,
A Dbutton-adc.c140 .id = UCLASS_BUTTON,
/u-boot/cmd/
A Dbutton.c37 for (uclass_find_first_device(UCLASS_BUTTON, &dev); in list_buttons()
/u-boot/include/dm/
A Duclass-id.h41 UCLASS_BUTTON, /* Button */ enumerator

Completed in 6 milliseconds