Home
last modified time | relevance | path

Searched +full:long +full:- +full:press +full:- +full:mode (Results 1 – 25 of 161) sorted by relevance

1234567

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Dmtk-pmic-keys.txt6 of Muti-Function Device (MFD)
12 - compatible: "mediatek,mt6397-keys" or "mediatek,mt6323-keys"
13 - linux,keycodes: See Documentation/devicetree/bindings/input/input.yaml
16 - wakeup-source: See Documentation/devicetree/bindings/power/wakeup-source.txt
17 - mediatek,long-press-mode: Long press key shutdown setting, 1 for
19 - power-off-time-sec: See Documentation/devicetree/bindings/input/input.yaml
29 compatible = "mediatek,mt6397-keys";
30 mediatek,long-press-mode = <1>;
31 power-off-time-sec = <0>;
35 wakeup-source;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
Dmediatek,pmic-keys.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen Zhong <chen.zhong@mediatek.com>
13 - $ref: input.yaml#
19 by the PMIC that is defined as a Multi-Function Device (MFD).
27 - mediatek,mt6323-keys
28 - mediatek,mt6331-keys
29 - mediatek,mt6357-keys
[all …]
Dazoteq,iqs7222.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
29 irq-gpios:
32 Specifies the GPIO connected to the device's active-low RDY output.
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel-vbtn.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/input/sparse-keymap.h>
18 /* Returned when NOT in tablet mode on some HP Stream x360 11 models */
20 /* When NOT in tablet mode, VGBS returns with the flag 0x40 */
37 { KE_KEY, 0xC0, { KEY_POWER } }, /* power key press */
39 { KE_KEY, 0xC2, { KEY_LEFTMETA } }, /* 'Windows' key press */
41 { KE_KEY, 0xC4, { KEY_VOLUMEUP } }, /* volume-up key press */
42 { KE_IGNORE, 0xC5, { KEY_VOLUMEUP } }, /* volume-up key release */
43 { KE_KEY, 0xC6, { KEY_VOLUMEDOWN } }, /* volume-down key press */
44 { KE_IGNORE, 0xC7, { KEY_VOLUMEDOWN } }, /* volume-down key release */
[all …]
Dintel-hid.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/input/sparse-keymap.h>
30 /* 1: LSuper (Page 0x07, usage 0xE3) -- unclear what to do */
31 /* 2: Toggle SW_ROTATE_LOCK -- easy to implement if seen in wild */
40 /* 13 has two different meanings in the spec -- ignore it. */
48 /* 27: wake -- needs special handling */
54 { KE_KEY, 0xC2, { KEY_LEFTMETA } }, /* Press */
56 { KE_KEY, 0xC4, { KEY_VOLUMEUP } }, /* Press */
58 { KE_KEY, 0xC6, { KEY_VOLUMEDOWN } }, /* Press */
60 { KE_KEY, 0xC8, { KEY_ROTATE_LOCK_TOGGLE } }, /* Press */
[all …]
Dsurfacepro3_button.c1 // SPDX-License-Identifier: GPL-2.0-only
72 unsigned long pushed;
84 /* Power button press,release handle */ in surface_button_notify()
91 /* Home button press,release handle */ in surface_button_notify()
98 /* Volume up button press,release handle */ in surface_button_notify()
105 /* Volume down button press,release handle */ in surface_button_notify()
113 dev_warn_once(&device->dev, "Tablet mode is not supported\n"); in surface_button_notify()
116 dev_info_ratelimited(&device->dev, in surface_button_notify()
120 input = button->input; in surface_button_notify()
124 pm_wakeup_dev_event(&device->dev, 0, button->suspended); in surface_button_notify()
[all …]
/kernel/linux/linux-5.10/drivers/input/mouse/
Dtrackpoint.h1 /* SPDX-License-Identifier: GPL-2.0-only */
47 * Mode manipulation
49 #define TP_SET_SOFT_TRANS 0x4E /* Set mode */
50 #define TP_CANCEL_SOFT_TRANS 0xB9 /* Cancel mode */
51 #define TP_SET_HARD_TRANS 0x45 /* Mode can only be set */
67 #define TP_REACH 0x57 /* Backup for Z-axis press */
70 /* with Z-axis pressed) */
75 #define TP_THRESH 0x5C /* Minimum value for a Z-axis press */
76 #define TP_UP_THRESH 0x5A /* Used to generate a 'click' on Z-axis */
77 #define TP_Z_TIME 0x5E /* How sharp of a press */
[all …]
/kernel/linux/linux-6.6/drivers/input/mouse/
Dtrackpoint.h1 /* SPDX-License-Identifier: GPL-2.0-only */
47 * Mode manipulation
49 #define TP_SET_SOFT_TRANS 0x4E /* Set mode */
50 #define TP_CANCEL_SOFT_TRANS 0xB9 /* Cancel mode */
51 #define TP_SET_HARD_TRANS 0x45 /* Mode can only be set */
67 #define TP_REACH 0x57 /* Backup for Z-axis press */
70 /* with Z-axis pressed) */
75 #define TP_THRESH 0x5C /* Minimum value for a Z-axis press */
76 #define TP_UP_THRESH 0x5A /* Used to generate a 'click' on Z-axis */
77 #define TP_Z_TIME 0x5E /* How sharp of a press */
[all …]
/kernel/linux/linux-6.6/drivers/platform/x86/intel/
Dvbtn.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/input/sparse-keymap.h>
19 /* Returned when NOT in tablet mode on some HP Stream x360 11 models */
21 /* When NOT in tablet mode, VGBS returns with the flag 0x40 */
38 { KE_KEY, 0xC0, { KEY_POWER } }, /* power key press */
40 { KE_KEY, 0xC2, { KEY_LEFTMETA } }, /* 'Windows' key press */
42 { KE_KEY, 0xC4, { KEY_VOLUMEUP } }, /* volume-up key press */
43 { KE_IGNORE, 0xC5, { KEY_VOLUMEUP } }, /* volume-up key release */
44 { KE_KEY, 0xC6, { KEY_VOLUMEDOWN } }, /* volume-down key press */
45 { KE_IGNORE, 0xC7, { KEY_VOLUMEDOWN } }, /* volume-down key release */
[all …]
Dhid.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/input/sparse-keymap.h>
20 TABLET_SW_AUTO = -1,
30 "If you need this please report this to: platform-driver-x86@vger.kernel.org");
35 "Enable SW_TABLET_MODE reporting -1:auto 0:off 1:at-first-event 2:at-probe. "
36 "If you need this please report this to: platform-driver-x86@vger.kernel.org");
38 /* When NOT in tablet mode, VGBS returns with the flag 0x40 */
58 /* 1: LSuper (Page 0x07, usage 0xE3) -- unclear what to do */
59 /* 2: Toggle SW_ROTATE_LOCK -- easy to implement if seen in wild */
68 /* 13 has two different meanings in the spec -- ignore it. */
[all …]
/kernel/linux/linux-6.6/scripts/kconfig/
Dmconf.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
5 * Introduced single menu mode (show all sub-menus in one large tree).
6 * 2002-11-06 Petr Baudis <pasky@ucw.cz>
27 "--------\n"
29 "Features can either be built-in, modularized, or ignored. Parameters\n"
36 " - - are selected by other feature,\n"
41 "keys and press <Y> to build it in, <M> to make it a module or\n"
42 "<N> to remove it. You may also press the <Space Bar> to cycle\n"
43 "through the available options (i.e. Y->N->M->Y).\n"
[all …]
Dnconf.c1 // SPDX-License-Identifier: GPL-2.0
20 "------------\n"
27 " of <?> <h>, or if in a data entry window then press <F1>.\n"
31 "------------\n"
33 "build. Kernel features can either be built-in, modularized, or removed.\n"
40 " - - are selected by another feature\n"
46 "listed below and press <y> to build it in, <m> to make it a module or\n"
47 "<n> to remove it. You may press the <Space> key to cycle through the\n"
50 "A trailing \"--->\" designates a submenu, a trailing \"----\" an\n"
54 "----------------------------------------------------------------------\n"
[all …]
/kernel/linux/linux-5.10/scripts/kconfig/
Dmconf.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
5 * Introduced single menu mode (show all sub-menus in one large tree).
6 * 2002-11-06 Petr Baudis <pasky@ucw.cz>
27 "--------\n"
29 "Features can either be built-in, modularized, or ignored. Parameters\n"
36 " - - are selected by other feature,\n"
41 "keys and press <Y> to build it in, <M> to make it a module or\n"
42 "<N> to remove it. You may also press the <Space Bar> to cycle\n"
43 "through the available options (i.e. Y->N->M->Y).\n"
[all …]
Dnconf.c1 // SPDX-License-Identifier: GPL-2.0
20 "------------\n"
27 " of <?> <h>, or if in a data entry window then press <F1>.\n"
31 "------------\n"
33 "build. Kernel features can either be built-in, modularized, or removed.\n"
40 " - - are selected by another feature\n"
46 "listed below and press <y> to build it in, <m> to make it a module or\n"
47 "<n> to remove it. You may press the <Space> key to cycle through the\n"
50 "A trailing \"--->\" designates a submenu, a trailing \"----\" an\n"
54 "----------------------------------------------------------------------\n"
[all …]
/kernel/linux/linux-6.6/drivers/platform/surface/
Dsurfacepro3_button.c1 // SPDX-License-Identifier: GPL-2.0-only
70 unsigned long pushed;
82 /* Power button press,release handle */ in surface_button_notify()
89 /* Home button press,release handle */ in surface_button_notify()
96 /* Volume up button press,release handle */ in surface_button_notify()
103 /* Volume down button press,release handle */ in surface_button_notify()
111 dev_warn_once(&device->dev, "Tablet mode is not supported\n"); in surface_button_notify()
114 dev_info_ratelimited(&device->dev, in surface_button_notify()
118 input = button->input; in surface_button_notify()
122 pm_wakeup_dev_event(&device->dev, 0, button->suspended); in surface_button_notify()
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/laptops/
Dthinkpad-acpi.rst9 - Borislav Deianov <borislav@users.sf.net>
10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br>
12 http://ibm-acpi.sf.net/
19 This driver used to be named ibm-acpi until kernel 2.6.21 and release
20 0.13-20070314. It used to be in the drivers/acpi tree, but it was
21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
25 The driver is named "thinkpad-acpi". In some places, like module
29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
30 long due to length limitations on some Linux kernel versions.
33 ------
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/laptops/
Dthinkpad-acpi.rst9 - Borislav Deianov <borislav@users.sf.net>
10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br>
12 http://ibm-acpi.sf.net/
19 This driver used to be named ibm-acpi until kernel 2.6.21 and release
20 0.13-20070314. It used to be in the drivers/acpi tree, but it was
21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
25 The driver is named "thinkpad-acpi". In some places, like module
29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
30 long due to length limitations on some Linux kernel versions.
33 ------
[all …]
/kernel/linux/linux-6.6/drivers/iio/pressure/
Dmprls0025pa.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MPRLS0025PA - Honeywell MicroPressure pressure sensor series driver
5 * Copyright (c) Andreas Klinger <ak@it-klinger.de>
8 * https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/
9 * products/sensors/pressure-sensors/board-mount-pressure-sensors/
10 * micropressure-mpr-series/documents/
11 * sps-siot-mpr-series-datasheet-32332628-ciid-172626.pdf
13 * 7-bit I2C default slave address: 0x18
46 * pressure = (press_cnt - outputmin) * scale + pmin
48 * * pressure - measured pressure in Pascal
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dwcd-mbhc-v2.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
14 #include "wcd-mbhc-v2.h"
53 /* Delayed work to report long button press */
68 unsigned long event_state;
69 unsigned long jiffies_atreport;
72 /* Holds type of Headset - Mono/Stereo */
74 /* Holds mbhc detection method - ADC/Legacy */
81 if (!mbhc->fields[field].reg) in wcd_mbhc_write_field()
84 return snd_soc_component_write_field(mbhc->component, in wcd_mbhc_write_field()
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-lpc32xx/
Dpm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-lpc32xx/pm.c
15 * direct-run, and halt modes. When switching between halt and run modes,
16 * the CPU transistions through direct-run mode. For Linux, direct-run
17 * mode is not used in normal operation. Halt mode is used when the
20 * Run mode:
23 * the HCLK_PLL rate. Linux runs in this mode.
25 * Direct-run mode:
28 * source or the frequency of the main oscillator. In this mode, the
31 * Halt mode:
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-lpc32xx/
Dpm.c2 * arch/arm/mach-lpc32xx/pm.c
17 * direct-run, and halt modes. When switching between halt and run modes,
18 * the CPU transistions through direct-run mode. For Linux, direct-run
19 * mode is not used in normal operation. Halt mode is used when the
22 * Run mode:
25 * the HCLK_PLL rate. Linux runs in this mode.
27 * Direct-run mode:
30 * source or the frequency of the main oscillator. In this mode, the
33 * Halt mode:
37 * system event (ie, GPIO state change, RTC match, key press, etc.) will
[all …]
/kernel/linux/linux-6.6/Documentation/input/devices/
Datarikbd.rst12 provides a convenient connection point for a mouse and switch-type joysticks.
13 The ikbd processor also maintains a time-of-day clock with one second
18 The ikbd communicates with the main processor over a high speed bi-directional
28 keyboard scan codes for each key press and release. The key scan make (key
41 0xF8-0xFB relative mouse position records (lsbs determined by
43 0xFC time-of-day
49 The two shift keys return different scan codes in this mode. The ENTER key
67 ---------------------------
69 In relative position mode, the ikbd will return relative mouse position
81 (regardless of keyboard mode)::
[all …]
/kernel/linux/linux-5.10/Documentation/input/devices/
Datarikbd.rst12 provides a convenient connection point for a mouse and switch-type joysticks.
13 The ikbd processor also maintains a time-of-day clock with one second
18 The ikbd communicates with the main processor over a high speed bi-directional
28 keyboard scan codes for each key press and release. The key scan make (key
41 0xF8-0xFB relative mouse position records (lsbs determined by
43 0xFC time-of-day
49 The two shift keys return different scan codes in this mode. The ENTER key
67 ---------------------------
69 In relative position mode, the ikbd will return relative mouse position
81 (regardless of keyboard mode)::
[all …]
/kernel/linux/linux-6.6/Documentation/core-api/
Ddebugging-via-ohci1394.rst2 Using physical DMA provided by OHCI-1394 FireWire controllers for debugging
6 ------------
9 to the OHCI-1394 specification which defines the controller to be a PCI
12 PCI-Bus master DMA after applying filters defined by the OHCI-1394 driver.
15 ask the OHCI-1394 controller to perform read and write requests on
28 more common hardware such as x86, x86-64 and PowerPC.
34 Together with a early initialization of the OHCI-1394 controller for debugging,
35 this facility proved most useful for examining long debugs logs in the printk
41 -------
43 The firewire-ohci driver in drivers/firewire uses filtered physical
[all …]
/kernel/linux/linux-5.10/Documentation/core-api/
Ddebugging-via-ohci1394.rst2 Using physical DMA provided by OHCI-1394 FireWire controllers for debugging
6 ------------
9 to the OHCI-1394 specification which defines the controller to be a PCI
12 PCI-Bus master DMA after applying filters defined by the OHCI-1394 driver.
15 ask the OHCI-1394 controller to perform read and write requests on
28 more common hardware such as x86, x86-64 and PowerPC.
34 Together with a early initialization of the OHCI-1394 controller for debugging,
35 this facility proved most useful for examining long debugs logs in the printk
41 -------
43 The firewire-ohci driver in drivers/firewire uses filtered physical
[all …]

1234567