Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/devicetree/bindings/chrome/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A 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 …]
/openbmc/linux/drivers/platform/chrome/
H A 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 …]
/openbmc/linux/drivers/platform/x86/
H A 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 …]
H A 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 …]
H A 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-2
399 int led; global() member
5685 tpacpi_is_led_restricted(const unsigned int led) tpacpi_is_led_restricted() argument
5694 led_get_status(const unsigned int led) led_get_status() argument
5718 led_set_status(const unsigned int led,const enum led_status_t ledstatus) led_set_status() argument
5833 tpacpi_init_led(unsigned int led) tpacpi_init_led() argument
6002 int led, rc; led_write() local
[all...]
/openbmc/linux/drivers/hid/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A 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 …]
/openbmc/linux/drivers/platform/x86/x86-android-tablets/
H A Dlenovo.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com>
24 #include "shared-psy-info.h"
25 #include "x86-android-tablets.h"
28 * Various Lenovo models use a TI LP8557 LED backlight controller with its PWM
30 * The Android kernels have a hack in the i915 driver to write a non-standard
31 * panel specific DSI register to set the duty-cycle of the LCD's PWM output.
44 PROPERTY_ENTRY_U32("hid-descr-addr", 0x0001),
45 PROPERTY_ENTRY_U32("post-reset-deassert-delay-ms", 150),
54 * The HiDeep IST940E touchscreen comes up in I2C-HID mode. The native protocol
[all …]
/openbmc/linux/drivers/input/keyboard/
H A 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 …]
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A 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>
25 backlight_lcd0: backlight-lcd0 {
26 compatible = "pwm-backlight";
27 brightness-levels = <0 1023>;
28 default-brightness-level = <576>;
29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>;
30 num-interpolated-steps = <1023>;
32 power-supply = <&ppvar_sys>;
[all …]
/openbmc/linux/drivers/macintosh/
H A 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 …]
/openbmc/linux/drivers/hwmon/
H A 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 …]
/openbmc/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt5 force -- enable ACPI if default was off
6 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
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 …]
/openbmc/
Dopengrok1.0.log1 2025-03-21 03:00:54.402-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-03-21 03:00:54.529-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]
Dopengrok2.0.log1 2025-03-20 03:00:35.677-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-03-20 03:00:35.795-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]
/openbmc/linux/
H A Dopengrok0.0.log1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz'
2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz'
3 2024-12-2
[all...]
H A Dopengrok1.0.log1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c'
2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms)
3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa
[all...]
H A Dopengrok2.0.log1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms)
2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c'
3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms)
4 2024-1
[all...]