Home
last modified time | relevance | path

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

/Linux-v6.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-v6.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-v6.1/drivers/platform/chrome/
Dcros_kbd_led_backlight.c1 // SPDX-License-Identifier: GPL-2.0+
2 // Keyboard backlight LED driver for ChromeOS
26 * struct keyboard_led_drvdata - keyboard LED driver data.
28 * @brightness_get: Get LED brightness level.
29 * @brightness_set: Set LED brightness level. Must not sleep.
30 * @brightness_set_blocking: Set LED brightness level. It can block the
32 * LED device register
54 /* Keyboard LED ACPI Device must be defined in firmware */
74 dev_err(cdev->dev, "Error setting keyboard LED value: %d\n", in keyboard_led_set_brightness_acpi()
87 dev_err(cdev->dev, "Error getting keyboard LED value: %d\n", in keyboard_led_get_brightness_acpi()
[all …]
/Linux-v6.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 …]
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-v6.1/drivers/hid/
Dhid-lg-g15.c1 // SPDX-License-Identifier: GPL-2.0+
16 #include "hid-ids.h"
48 enum lg_g15_led_type led; member
55 /* Protects the transfer_buf and led brightness */
65 /******** G15 and G15 v2 LED functions ********/
71 ret = hid_hw_raw_request(g15->hdev, LG_G15_FEATURE_REPORT, in lg_g15_update_led_brightness()
72 g15->transfer_buf, 4, in lg_g15_update_led_brightness()
75 hid_err(g15->hdev, "Error getting LED brightness: %d\n", ret); in lg_g15_update_led_brightness()
76 return (ret < 0) ? ret : -EIO; in lg_g15_update_led_brightness()
79 g15->leds[LG_G15_KBD_BRIGHTNESS].brightness = g15->transfer_buf[1]; in lg_g15_update_led_brightness()
[all …]
/Linux-v6.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-v6.1/arch/arm64/boot/dts/mediatek/
Dmt8195-cherry.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/spmi/spmi.h>
26 stdout-path = "serial0:115200n8";
35 pp3300_z5: regulator-pp3300-ldo-z5 {
36 compatible = "regulator-fixed";
37 regulator-name = "pp3300_ldo_z5";
38 regulator-always-on;
39 regulator-boot-on;
40 regulator-min-microvolt = <3300000>;
[all …]
/Linux-v6.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-v6.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-v6.1/Documentation/admin-guide/
Dkernel-parameters.txt5 force -- enable ACPI if default was off
6 on -- enable ACPI but allow fallback to DT [arm64]
7 off -- disable ACPI if default was on
8 noirq -- do not use ACPI for IRQ routing
9 strict -- Be less tolerant of platforms that are not
11 rsdt -- prefer RSDT over (default) XSDT
12 copy_dsdt -- copy DSDT to memory
26 If set to vendor, prefer vendor-specific driver
30 If set to native, use the device's native backlight mode.
31 If set to none, disable the ACPI backlight interface.
[all …]