Home
last modified time | relevance | path

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

/drivers/leds/
Dleds-ns2.c38 struct ns2_led_modval *modval; member
53 if (cmd_level == led_dat->modval[i].cmd_level && in ns2_led_get_mode()
54 slow_level == led_dat->modval[i].slow_level) { in ns2_led_get_mode()
55 *mode = led_dat->modval[i].mode; in ns2_led_get_mode()
72 if (mode == led_dat->modval[i].mode) { in ns2_led_set_mode()
84 led_dat->modval[i].cmd_level); in ns2_led_set_mode()
86 led_dat->modval[i].slow_level); in ns2_led_set_mode()
90 gpio_set_value_cansleep(led_dat->cmd, led_dat->modval[i].cmd_level); in ns2_led_set_mode()
91 gpio_set_value_cansleep(led_dat->slow, led_dat->modval[i].slow_level); in ns2_led_set_mode()
214 led_dat->modval = template->modval; in create_ns2_led()
[all …]