Searched refs:kbd_led (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/platform/x86/ |
D | samsung-laptop.c | 342 struct led_classdev kbd_led; member 1110 samsung = container_of(led_cdev, struct samsung_laptop, kbd_led); in kbd_led_set() 1112 if (value > samsung->kbd_led.max_brightness) in kbd_led_set() 1113 value = samsung->kbd_led.max_brightness; in kbd_led_set() 1123 samsung = container_of(led_cdev, struct samsung_laptop, kbd_led); in kbd_led_get() 1129 led_classdev_unregister(&samsung->kbd_led); in samsung_leds_exit() 1145 samsung->kbd_led.name = "samsung::kbd_backlight"; in samsung_leds_init() 1146 samsung->kbd_led.brightness_set = kbd_led_set; in samsung_leds_init() 1147 samsung->kbd_led.brightness_get = kbd_led_get; in samsung_leds_init() 1148 samsung->kbd_led.max_brightness = 8; in samsung_leds_init() [all …]
|
D | toshiba_acpi.c | 178 struct led_classdev kbd_led; member 604 struct toshiba_acpi_dev, kbd_led); in toshiba_kbd_backlight_get() 624 struct toshiba_acpi_dev, kbd_led); in toshiba_kbd_backlight_set() 2499 led_classdev_notify_brightness_hw_changed(&toshiba_acpi->kbd_led, in toshiba_acpi_kbd_bl_work() 3222 led_classdev_unregister(&dev->kbd_led); in toshiba_acpi_remove() 3373 dev->kbd_led.name = "toshiba::kbd_backlight"; in toshiba_acpi_add() 3374 dev->kbd_led.flags = LED_BRIGHT_HW_CHANGED; in toshiba_acpi_add() 3375 dev->kbd_led.max_brightness = 1; in toshiba_acpi_add() 3376 dev->kbd_led.brightness_set = toshiba_kbd_backlight_set; in toshiba_acpi_add() 3377 dev->kbd_led.brightness_get = toshiba_kbd_backlight_get; in toshiba_acpi_add() [all …]
|
D | asus-wmi.c | 221 struct led_classdev kbd_led; member 1395 asus = container_of(led_cdev, struct asus_wmi, kbd_led); in do_kbd_led_set() 1396 max_level = asus->kbd_led.max_brightness; in do_kbd_led_set() 1414 struct led_classdev *led_cdev = &asus->kbd_led; in kbd_led_set_by_kbd() 1425 asus = container_of(led_cdev, struct asus_wmi, kbd_led); in kbd_led_get() 1521 led_classdev_unregister(&asus->kbd_led); in asus_wmi_led_exit() 1560 asus->kbd_led.name = "asus::kbd_backlight"; in asus_wmi_led_init() 1561 asus->kbd_led.flags = LED_BRIGHT_HW_CHANGED; in asus_wmi_led_init() 1562 asus->kbd_led.brightness_set = kbd_led_set; in asus_wmi_led_init() 1563 asus->kbd_led.brightness_get = kbd_led_get; in asus_wmi_led_init() [all …]
|
/Linux-v6.6/drivers/platform/x86/dell/ |
D | dell-laptop.c | 2074 static struct led_classdev kbd_led = { variable 2091 kbd_led.max_brightness = kbd_get_max_level(); in kbd_led_init() 2092 if (!kbd_led.max_brightness) { in kbd_led_init() 2093 kbd_led.max_brightness = kbd_get_valid_token_counts(); in kbd_led_init() 2094 if (kbd_led.max_brightness) in kbd_led_init() 2095 kbd_led.max_brightness--; in kbd_led_init() 2100 ret = led_classdev_register(dev, &kbd_led); in kbd_led_init() 2117 kbd_led.brightness_set = brightness_set_exit; in kbd_led_exit() 2118 led_classdev_unregister(&kbd_led); in kbd_led_exit() 2133 new_kbd_led_level = kbd_led_level_get(&kbd_led); in dell_laptop_notifier_call() [all …]
|
/Linux-v6.6/Documentation/admin-guide/laptops/ |
D | lg-laptop.rst | 72 A led device named kbd_led controls the keyboard backlight. There are three
|