Home
last modified time | relevance | path

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

/external/u-boot/test/dm/
Dled.c36 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()
101 ut_assertok(led_get_by_label("sandbox:red", &dev)); in dm_test_led_label()
106 ut_assertok(led_get_by_label("sandbox:green", &dev)); in dm_test_led_label()
111 ut_asserteq(-ENODEV, led_get_by_label("sandbox:blue", &dev)); in dm_test_led_label()
/external/u-boot/include/
Dled.h81 int led_get_by_label(const char *label, struct udevice **devp);
/external/u-boot/drivers/led/
Dled-uclass.c14 int led_get_by_label(const char *label, struct udevice **devp) in led_get_by_label() function
/external/u-boot/cmd/
Dled.c99 ret = led_get_by_label(led_label, &dev); in do_led()
/external/u-boot/arch/arm/mach-rockchip/
Drk3188-board-spl.c167 ret = led_get_by_label(led_name, &dev); in setup_led()
Drk3288-board-spl.c227 ret = led_get_by_label(led_name, &dev); in setup_led()