Lines Matching refs:keyboard
23 struct led_classdev keyboard;
33 * struct wilco_keyboard_leds_msg - Message to/from EC for keyboard LED control.
72 "Failed sending keyboard LEDs command: %d\n", ret);
97 "EC reported failure sending keyboard LEDs command: %d\n",
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",
169 container_of(cdev, struct wilco_keyboard_leds, keyboard);
182 "Failed checking keyboard LEDs support: %d\n", ret);
193 wkl->keyboard.name = "platform::kbd_backlight";
194 wkl->keyboard.max_brightness = 100;
195 wkl->keyboard.flags = LED_CORE_SUSPENDRESUME;
196 wkl->keyboard.brightness_set_blocking = wilco_keyboard_leds_set;
200 wkl->keyboard.brightness = ret;
202 return devm_led_classdev_register(ec->dev, &wkl->keyboard);