Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hid/
Dhid-google-hammer.c324 struct hammer_kbd_leds *kbd_backlight; in hammer_register_leds() local
326 kbd_backlight = devm_kzalloc(&hdev->dev, in hammer_register_leds()
327 sizeof(*kbd_backlight), in hammer_register_leds()
329 if (!kbd_backlight) in hammer_register_leds()
332 kbd_backlight->hdev = hdev; in hammer_register_leds()
333 kbd_backlight->cdev.name = "hammer::kbd_backlight"; in hammer_register_leds()
334 kbd_backlight->cdev.max_brightness = MAX_BRIGHTNESS; in hammer_register_leds()
335 kbd_backlight->cdev.brightness_set_blocking = in hammer_register_leds()
337 kbd_backlight->cdev.flags = LED_HW_PLUGGABLE; in hammer_register_leds()
340 hammer_kbd_brightness_set_blocking(&kbd_backlight->cdev, 0); in hammer_register_leds()
[all …]
Dhid-asus.c111 struct asus_kbd_leds *kbd_backlight; member
425 drvdata->kbd_backlight = devm_kzalloc(&hdev->dev, in asus_kbd_register_leds()
428 if (!drvdata->kbd_backlight) in asus_kbd_register_leds()
431 drvdata->kbd_backlight->removed = false; in asus_kbd_register_leds()
432 drvdata->kbd_backlight->brightness = 0; in asus_kbd_register_leds()
433 drvdata->kbd_backlight->hdev = hdev; in asus_kbd_register_leds()
434 drvdata->kbd_backlight->cdev.name = "asus::kbd_backlight"; in asus_kbd_register_leds()
435 drvdata->kbd_backlight->cdev.max_brightness = 3; in asus_kbd_register_leds()
436 drvdata->kbd_backlight->cdev.brightness_set = asus_kbd_backlight_set; in asus_kbd_register_leds()
437 drvdata->kbd_backlight->cdev.brightness_get = asus_kbd_backlight_get; in asus_kbd_register_leds()
[all …]
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-platform-dell-laptop1 What: /sys/class/leds/dell::kbd_backlight/als_enabled
12 What: /sys/class/leds/dell::kbd_backlight/als_setting
21 What: /sys/class/leds/dell::kbd_backlight/start_triggers
38 echo +keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers
40 echo -keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers
44 What: /sys/class/leds/dell::kbd_backlight/stop_timeout
61 echo 10m > /sys/class/leds/dell::kbd_backlight/stop_timeout
/Linux-v5.4/drivers/platform/x86/
Dsamsung-laptop.c128 u16 kbd_backlight; member
200 .kbd_backlight = 0xFFFF,
263 .kbd_backlight = 0x78,
1063 if (commands->kbd_backlight == 0xFFFF) in kbd_backlight_enable()
1068 retval = sabi_command(samsung, commands->kbd_backlight, in kbd_backlight_enable()
1087 retval = sabi_command(samsung, commands->kbd_backlight, in kbd_backlight_read()
1103 return sabi_command(samsung, commands->kbd_backlight, in kbd_backlight_write()
Dlg-laptop.c582 static LED_DEVICE(kbd_backlight, 255);
629 if (!led_classdev_register(&pf_device->dev, &kbd_backlight)) in acpi_add()
650 led_classdev_unregister(&kbd_backlight); in acpi_remove()
Dsony-laptop.c112 static int kbd_backlight = -1; variable
113 module_param(kbd_backlight, int, 0444);
114 MODULE_PARM_DESC(kbd_backlight,
1764 struct kbd_backlight { struct
1774 static struct kbd_backlight *kbdbl_ctl; argument
1916 kbdbl_ctl->mode = kbd_backlight; in sony_nc_kbd_backlight_setup()
/Linux-v5.4/Documentation/leds/
Dleds-class.rst93 - ":kbd_backlight"
94 - "input5::kbd_backlight"
/Linux-v5.4/Documentation/devicetree/bindings/leds/
Dleds-lm3532.txt100 label = ":kbd_backlight";
/Linux-v5.4/arch/arm/boot/dts/
Domap4-droid4-xt894.dts404 label = ":kbd_backlight";