Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/platform/x86/
Dideapad-laptop.c144 bool kbd_bl : 1; member
154 } kbd_bl; member
1325 if (ideapad_kbd_bl_check_tristate(priv->kbd_bl.type)) { in ideapad_kbd_bl_brightness_get()
1327 FIELD_PREP(KBD_BL_COMMAND_TYPE, priv->kbd_bl.type) | in ideapad_kbd_bl_brightness_get()
1338 if (value <= priv->kbd_bl.led.max_brightness) in ideapad_kbd_bl_brightness_get()
1342 if (value == priv->kbd_bl.led.max_brightness + 1) in ideapad_kbd_bl_brightness_get()
1360 struct ideapad_private *priv = container_of(led_cdev, struct ideapad_private, kbd_bl.led); in ideapad_kbd_bl_led_cdev_brightness_get()
1369 int type = priv->kbd_bl.type; in ideapad_kbd_bl_brightness_set()
1372 if (brightness > priv->kbd_bl.led.max_brightness) in ideapad_kbd_bl_brightness_set()
1386 priv->kbd_bl.last_brightness = brightness; in ideapad_kbd_bl_brightness_set()
[all …]
Dmsi-ec.c109 .kbd_bl = {
189 .kbd_bl = {
267 .kbd_bl = {
345 .kbd_bl = {
422 .kbd_bl = {
501 .kbd_bl = {
580 .kbd_bl = {
660 .kbd_bl = {
Dmsi-ec.h119 struct msi_ec_kbd_bl_conf kbd_bl; member