Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/platform/x86/
Dsamsung-laptop.c341 struct led_classdev kbd_led; member
1109 samsung = container_of(led_cdev, struct samsung_laptop, kbd_led); in kbd_led_set()
1111 if (value > samsung->kbd_led.max_brightness) in kbd_led_set()
1112 value = samsung->kbd_led.max_brightness; in kbd_led_set()
1122 samsung = container_of(led_cdev, struct samsung_laptop, kbd_led); in kbd_led_get()
1128 led_classdev_unregister(&samsung->kbd_led); in samsung_leds_exit()
1144 samsung->kbd_led.name = "samsung::kbd_backlight"; in samsung_leds_init()
1145 samsung->kbd_led.brightness_set = kbd_led_set; in samsung_leds_init()
1146 samsung->kbd_led.brightness_get = kbd_led_get; in samsung_leds_init()
1147 samsung->kbd_led.max_brightness = 8; in samsung_leds_init()
[all …]
Dtoshiba_acpi.c184 struct led_classdev kbd_led; member
611 struct toshiba_acpi_dev, kbd_led); in toshiba_kbd_backlight_get()
631 struct toshiba_acpi_dev, kbd_led); in toshiba_kbd_backlight_set()
2501 led_classdev_notify_brightness_hw_changed(&toshiba_acpi->kbd_led, in toshiba_acpi_kbd_bl_work()
3229 led_classdev_unregister(&dev->kbd_led); in toshiba_acpi_remove()
3391 dev->kbd_led.name = "toshiba::kbd_backlight"; in toshiba_acpi_add()
3392 dev->kbd_led.flags = LED_BRIGHT_HW_CHANGED; in toshiba_acpi_add()
3393 dev->kbd_led.max_brightness = 1; in toshiba_acpi_add()
3394 dev->kbd_led.brightness_set = toshiba_kbd_backlight_set; in toshiba_acpi_add()
3395 dev->kbd_led.brightness_get = toshiba_kbd_backlight_get; in toshiba_acpi_add()
[all …]
Dasus-wmi.c255 struct led_classdev kbd_led; member
935 asus = container_of(led, struct asus_wmi, kbd_led); in kbd_rgb_mode_store()
1572 asus = container_of(led_cdev, struct asus_wmi, kbd_led); in do_kbd_led_set()
1573 max_level = asus->kbd_led.max_brightness; in do_kbd_led_set()
1591 struct led_classdev *led_cdev = &asus->kbd_led; in kbd_led_set_by_kbd()
1602 asus = container_of(led_cdev, struct asus_wmi, kbd_led); in kbd_led_get()
1719 led_classdev_unregister(&asus->kbd_led); in asus_wmi_led_exit()
1760 asus->kbd_led.name = "asus::kbd_backlight"; in asus_wmi_led_init()
1761 asus->kbd_led.flags = LED_BRIGHT_HW_CHANGED; in asus_wmi_led_init()
1762 asus->kbd_led.brightness_set = kbd_led_set; in asus_wmi_led_init()
[all …]
/linux-6.12.1/drivers/platform/x86/dell/
Ddell-laptop.c2064 static struct led_classdev kbd_led = { variable
2081 kbd_led.max_brightness = kbd_get_max_level(); in kbd_led_init()
2082 if (!kbd_led.max_brightness) { in kbd_led_init()
2083 kbd_led.max_brightness = kbd_get_valid_token_counts(); in kbd_led_init()
2084 if (kbd_led.max_brightness) in kbd_led_init()
2085 kbd_led.max_brightness--; in kbd_led_init()
2090 ret = led_classdev_register(dev, &kbd_led); in kbd_led_init()
2107 kbd_led.brightness_set = brightness_set_exit; in kbd_led_exit()
2108 led_classdev_unregister(&kbd_led); in kbd_led_exit()
2123 new_kbd_led_level = kbd_led_level_get(&kbd_led); in dell_laptop_notifier_call()
[all …]
/linux-6.12.1/Documentation/admin-guide/laptops/
Dlg-laptop.rst72 A led device named kbd_led controls the keyboard backlight. There are three