Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hid/
Dhid-google-hammer.c332 struct hammer_kbd_leds *kbd_backlight; in hammer_register_leds() local
335 kbd_backlight = kzalloc(sizeof(*kbd_backlight), GFP_KERNEL); in hammer_register_leds()
336 if (!kbd_backlight) in hammer_register_leds()
339 kbd_backlight->hdev = hdev; in hammer_register_leds()
340 kbd_backlight->cdev.name = "hammer::kbd_backlight"; in hammer_register_leds()
341 kbd_backlight->cdev.max_brightness = MAX_BRIGHTNESS; in hammer_register_leds()
342 kbd_backlight->cdev.brightness_set_blocking = in hammer_register_leds()
344 kbd_backlight->cdev.flags = LED_HW_PLUGGABLE; in hammer_register_leds()
347 hammer_kbd_brightness_set_blocking(&kbd_backlight->cdev, 0); in hammer_register_leds()
349 error = led_classdev_register(&hdev->dev, &kbd_backlight->cdev); in hammer_register_leds()
[all …]
Dhid-asus.c116 struct asus_kbd_leds *kbd_backlight; member
477 drvdata->kbd_backlight = devm_kzalloc(&hdev->dev, in asus_kbd_register_leds()
480 if (!drvdata->kbd_backlight) in asus_kbd_register_leds()
483 drvdata->kbd_backlight->removed = false; in asus_kbd_register_leds()
484 drvdata->kbd_backlight->brightness = 0; in asus_kbd_register_leds()
485 drvdata->kbd_backlight->hdev = hdev; in asus_kbd_register_leds()
486 drvdata->kbd_backlight->cdev.name = "asus::kbd_backlight"; in asus_kbd_register_leds()
487 drvdata->kbd_backlight->cdev.max_brightness = 3; in asus_kbd_register_leds()
488 drvdata->kbd_backlight->cdev.brightness_set = asus_kbd_backlight_set; in asus_kbd_register_leds()
489 drvdata->kbd_backlight->cdev.brightness_get = asus_kbd_backlight_get; in asus_kbd_register_leds()
[all …]
/kernel/linux/linux-5.10/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
39 echo +keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers
43 echo -keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers
47 What: /sys/class/leds/dell::kbd_backlight/stop_timeout
65 echo 10m > /sys/class/leds/dell::kbd_backlight/stop_timeout
/kernel/linux/linux-5.10/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.c580 static LED_DEVICE(kbd_backlight, 255);
628 led_classdev_register(&pf_device->dev, &kbd_backlight); in acpi_add()
647 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,
1757 struct kbd_backlight { struct
1767 static struct kbd_backlight *kbdbl_ctl; argument
1916 kbdbl_ctl->mode = kbd_backlight; in sony_nc_kbd_backlight_setup()
/kernel/linux/linux-5.10/Documentation/leds/
Dleds-class.rst93 - ":kbd_backlight"
94 - "input5::kbd_backlight"
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dleds-lm3532.txt100 label = ":kbd_backlight";
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dmotorola-mapphone-common.dtsi421 label = ":kbd_backlight";
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor.dtsi218 label = "cros_ec::kbd_backlight";