Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/chrome/wilco_ec/
H A Dkeyboard_leds.c168 struct wilco_keyboard_leds *wkl = in wilco_keyboard_leds_set() local
170 return set_kbbl(wkl->ec, brightness); in wilco_keyboard_leds_set()
175 struct wilco_keyboard_leds *wkl; in wilco_keyboard_leds_init() local
188 wkl = devm_kzalloc(ec->dev, sizeof(*wkl), GFP_KERNEL); in wilco_keyboard_leds_init()
189 if (!wkl) in wilco_keyboard_leds_init()
192 wkl->ec = ec; 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()
200 wkl->keyboard.brightness = ret; in wilco_keyboard_leds_init()
[all …]