Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/
H A Dleds-ns2.c34 u32 cmd_level; member
59 int cmd_level; in ns2_led_get_mode() local
62 cmd_level = gpiod_get_value_cansleep(led->cmd); in ns2_led_get_mode()
66 if (cmd_level == led->modval[i].cmd_level && in ns2_led_get_mode()
91 gpiod_set_value(led->cmd, led->modval[i].cmd_level); in ns2_led_set_mode()
96 gpiod_set_value_cansleep(led->cmd, led->modval[i].cmd_level); in ns2_led_set_mode()