Lines Matching full:keyboard
3 * Keyboard backlight LED driver for the Wilco Embedded Controller
23 struct led_classdev keyboard; member
33 * struct wilco_keyboard_leds_msg - Message to/from EC for keyboard LED control.
72 "Failed sending keyboard LEDs command: %d\n", ret); in send_kbbl_msg()
97 "EC reported failure sending keyboard LEDs command: %d\n", in set_kbbl()
125 * kbbl_init() - Initialize the state of the keyboard backlight.
132 * Return: Final brightness of the keyboard, or negative error code on failure.
150 "EC reported failure sending keyboard LEDs command: %d\n", in kbbl_init()
169 container_of(cdev, struct wilco_keyboard_leds, keyboard); in wilco_keyboard_leds_set()
182 "Failed checking keyboard LEDs support: %d\n", ret); in wilco_keyboard_leds_init()
193 wkl->keyboard.name = "platform::kbd_backlight"; in wilco_keyboard_leds_init()
194 wkl->keyboard.max_brightness = 100; in wilco_keyboard_leds_init()
195 wkl->keyboard.flags = LED_CORE_SUSPENDRESUME; in wilco_keyboard_leds_init()
196 wkl->keyboard.brightness_set_blocking = wilco_keyboard_leds_set; in wilco_keyboard_leds_init()
200 wkl->keyboard.brightness = ret; in wilco_keyboard_leds_init()
202 return devm_led_classdev_register(ec->dev, &wkl->keyboard); in wilco_keyboard_leds_init()