Home
last modified time | relevance | path

Searched +full:kbd +full:- +full:led +full:- +full:backlight (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/chrome/
Dgoogle,cros-kbd-led-backlight.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/chrome/google,cros-kbd-led-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ChromeOS keyboard backlight LED driver.
10 - Tzung-Bi Shih <tzungbi@kernel.org>
14 const: google,cros-kbd-led-backlight
17 - compatible
22 - |
24 #address-cells = <1>;
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dgoogle,cros-ec.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/google,cros-ec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Benson Leung <bleung@chromium.org>
11 - Guenter Roeck <groeck@chromium.org>
22 - description:
24 const: google,cros-ec-i2c
25 - description:
27 const: google,cros-ec-spi
[all …]
/linux-6.12.1/drivers/platform/x86/
Dtoshiba_acpi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * toshiba_acpi.c - Toshiba Laptop ACPI Extras
5 * Copyright (C) 2002-2004 John Belmonte
8 * Copyright (C) 2014-2016 Azael Avalos
14 * Jonathan A. Buzzard - Toshiba HCI info, and critical tips on reverse
16 * Yasushi Nagato - changes for linux kernel 2.4 -> 2.5
17 * Rob Miller - TV out and hotkeys help
34 #include <linux/backlight.h>
36 #include <linux/input/sparse-keymap.h>
55 static int turn_on_panel_on_resume = -1;
[all …]
Dlenovo-yogabook.c1 // SPDX-License-Identifier: GPL-2.0
3 * Platform driver for Lenovo Yoga Book YB1-X90F/L tablets (Android model)
4 * WMI driver for Lenovo Yoga Book YB1-X91F/L tablets (Windows model)
26 #define YB_MBTN_EVENT_GUID "243FEC1D-1963-41C1-8100-06A9D82A94B4"
32 #define YB_PDEV_NAME "yogabook-touch-kbd-digitizer-switch"
69 if (test_bit(YB_SUSPENDED, &data->flags)) in yogabook_work()
72 if (test_bit(YB_TABLET_MODE, &data->flags)) { in yogabook_work()
75 } else if (test_bit(YB_DIGITIZER_MODE, &data->flags)) { in yogabook_work()
83 if (!kbd_on && test_bit(YB_KBD_IS_ON, &data->flags)) { in yogabook_work()
88 data->set_kbd_backlight(data, 0); in yogabook_work()
[all …]
Dthinkpad_acpi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * thinkpad_acpi.c - ThinkPad ACPI Extras
5 * Copyright (C) 2004-2005 Borislav Deianov <borislav@users.sf.net>
6 * Copyright (C) 2006-2009 Henrique de Moraes Holschuh <hmh@hmh.eng.br>
16 * 2007-10-20 changelog trimmed down
18 * 2007-03-27 0.14 renamed to thinkpad_acpi and moved to
21 * 2006-11-22 0.13 new maintainer
23 * not be updated further in-file.
25 * 2005-03-17 0.11 support for 600e, 770x
28 * 2005-01-16 0.9 use MODULE_VERSION
[all …]
/linux-6.12.1/drivers/platform/chrome/
Dcros_kbd_led_backlight.c1 // SPDX-License-Identifier: GPL-2.0+
2 // Keyboard backlight LED driver for ChromeOS
28 * struct keyboard_led_drvdata - keyboard LED driver data.
30 * @brightness_get: Get LED brightness level.
31 * @brightness_set: Set LED brightness level. Must not sleep.
32 * @brightness_set_blocking: Set LED brightness level. It can block the
34 * LED device register
56 /* Keyboard LED ACPI Device must be defined in firmware */
76 dev_err(cdev->dev, "Error setting keyboard LED value: %d\n", in keyboard_led_set_brightness_acpi()
89 dev_err(cdev->dev, "Error getting keyboard LED value: %d\n", in keyboard_led_get_brightness_acpi()
[all …]
/linux-6.12.1/drivers/hid/
Dhid-lg-g15.c1 // SPDX-License-Identifier: GPL-2.0+
17 #include "hid-ids.h"
49 enum lg_g15_led_type led; member
56 /* Protects the transfer_buf and led brightness */
66 /******** G15 and G15 v2 LED functions ********/
72 ret = hid_hw_raw_request(g15->hdev, LG_G15_FEATURE_REPORT, in lg_g15_update_led_brightness()
73 g15->transfer_buf, 4, in lg_g15_update_led_brightness()
76 hid_err(g15->hdev, "Error getting LED brightness: %d\n", ret); in lg_g15_update_led_brightness()
77 return (ret < 0) ? ret : -EIO; in lg_g15_update_led_brightness()
80 g15->leds[LG_G15_KBD_BRIGHTNESS].brightness = g15->transfer_buf[1]; in lg_g15_update_led_brightness()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/leds/
Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
14 LED and flash LED devices provide the same basic functionality as current
15 regulators, but extended with LED and flash LED specific features like
18 Many LED devices expose more than one current output that can be connected
19 to one or more discrete LED component. Since the arrangement of connections
20 can influence the way of the LED device initialization, the LED components
[all …]
/linux-6.12.1/drivers/input/keyboard/
Dapplespi.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2015-2018 Federico Lorenzi
6 * Copyright (c) 2017-2018 Ronald Tschalär
26 * SPI-based Protocol
27 * ------------------
40 * fixed, 256-byte size). In that case it will be split over multiple,
85 ((KBD_BL_LEVEL_MAX - KBD_BL_LEVEL_MIN) * KBD_BL_LEVEL_SCALE / 255U)
102 …emap Fn key ([0] = no-remap; 1 = left-ctrl, 2 = left-shift, 3 = left-alt, 4 = left-meta, 6 = right
106 MODULE_PARM_DESC(iso_layout, "Enable/Disable hardcoded ISO-layout of the keyboard. ([0] = disabled,…
114 * struct keyboard_protocol - keyboard message.
[all …]
/linux-6.12.1/drivers/platform/x86/x86-android-tablets/
Dlenovo.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com>
27 #include "shared-psy-info.h"
28 #include "x86-android-tablets.h"
31 * Various Lenovo models use a TI LP8557 LED backlight controller with its PWM
33 * The Android kernels have a hack in the i915 driver to write a non-standard
34 * panel specific DSI register to set the duty-cycle of the LCD's PWM output.
43 * Multiplying the 2 levels is useful because this will turn off the backlight
46 * But on some models the panel's PWM output defaults to a duty-cycle of
49 * account and the i915 driver must turn off the panel and the backlight
[all …]
/linux-6.12.1/arch/arm/boot/dts/nvidia/
Dtegra114-asus-tf701t.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/input/input.h>
13 chassis-type = "convertible";
29 trusted-foundations {
30 compatible = "tlm,trusted-foundations";
31 tlm,version-major = <2>;
32 tlm,version-minor = <8>;
40 reserved-memory {
[all …]
/linux-6.12.1/drivers/macintosh/
Dadbhid.c1 // SPDX-License-Identifier: GPL-2.0
19 * - Standard 1 button mouse
20 * - All standard Apple Extended protocol (handler ID 4)
21 * - mouseman and trackman mice & trackballs
22 * - PowerBook Trackpad (default setup: enable tapping)
23 * - MicroSpeed mouse & trackball (needs testing)
24 * - CH Products Trackball Pro (needs testing)
25 * - Contour Design (Contour Mouse)
26 * - Hunter digital (NoHandsMouse)
27 * - Kensignton TurboMouse 5 (needs testing)
[all …]
/linux-6.12.1/drivers/hwmon/
Dapplesmc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/hwmon/applesmc.c - driver for Apple's SMC (accelerometer, temperature
4 * sensors, fan control, keyboard backlight control) used in Intel-based Apple
29 #include <linux/hwmon-sysfs.h>
42 #define APPLESMC_NR_PORTS 32 /* 0x300-0x31f */
59 #define KEY_COUNT_KEY "#KEY" /* r-o ui32 */
61 #define LIGHT_SENSOR_LEFT_KEY "ALV0" /* r-o {alv (6-10 bytes) */
62 #define LIGHT_SENSOR_RIGHT_KEY "ALV1" /* r-o {alv (6-10 bytes) */
63 #define BACKLIGHT_KEY "LKSB" /* w-o {lkb (2 bytes) */
65 #define CLAMSHELL_KEY "MSLD" /* r-o ui8 (unused) */
[all …]
/linux-6.12.1/Documentation/admin-guide/
Dkernel-parameters.txt16 force -- enable ACPI if default was off
17 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
18 off -- disable ACPI if default was on
19 noirq -- do not use ACPI for IRQ routing
20 strict -- Be less tolerant of platforms that are not
22 rsdt -- prefer RSDT over (default) XSDT
23 copy_dsdt -- copy DSDT to memory
24 nospcr -- disable console in ACPI SPCR table as
41 If set to vendor, prefer vendor-specific driver
45 If set to native, use the device's native backlight mode.
[all …]