Home
last modified time | relevance | path

Searched +full:key +full:- +full:press (Results 1 – 25 of 182) sorted by relevance

12345678

/linux-6.12.1/Documentation/devicetree/bindings/input/
Dadc-keys.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/input/adc-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexandre Belloni <alexandre.belloni@bootlin.com>
13 - $ref: input.yaml#
17 const: adc-keys
19 io-channels:
22 io-channel-names:
25 keyup-threshold-microvolt:
[all …]
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#
16 There are two key functions provided by MT6397, MT6323 and other MediaTek
18 The key functions are defined as the subnode of the function node provided
19 by the PMIC that is defined as a Multi-Function Device (MFD).
27 - mediatek,mt6323-keys
[all …]
Ddlg,da9062-onkey.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/dlg,da9062-onkey.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Biju Das <biju.das.jz@bp.renesas.com>
21 - enum:
22 - dlg,da9062-onkey
23 - dlg,da9063-onkey
24 - items:
25 - const: dlg,da9061-onkey
[all …]
Domap-keypad.txt3 TI's Keypad controller is used to interface a SoC with a matrix-type
5 A key can be placed at each intersection of a unique row and a unique column.
6 The keypad controller can sense a key-press and key-release and report the
9 This binding is based on the matrix-keymap binding with the following
12 keypad,num-rows and keypad,num-columns are required.
15 - compatible: should be one of the following
16 - "ti,omap4-keypad": For controllers compatible with omap4 keypad
20 - linux,keypad-no-autorepeat: do no enable autorepeat feature.
24 compatible = "ti,omap4-keypad";
25 keypad,num-rows = <2>;
[all …]
Dtwl4030-keypad.txt3 TWL4030's Keypad controller is used to interface a SoC with a matrix-type
5 A key can be placed at each intersection of a unique row and a unique column.
6 The keypad controller can sense a key-press and key-release and report the
9 This binding is based on the matrix-keymap binding with the following
12 * keypad,num-rows and keypad,num-columns are required.
15 - compatible: should be one of the following
16 - "ti,twl4030-keypad": For controllers compatible with twl4030 keypad
18 - interrupt: should be one of the following
19 - <1>: For controllers compatible with twl4030 keypad controller.
23 compatible = "ti,twl4030-keypad";
[all …]
/linux-6.12.1/scripts/kconfig/
Dnconf.c1 // SPDX-License-Identifier: GPL-2.0
17 #include "mnconf-common.h"
23 "------------\n"
30 " of <?> <h>, or if in a data entry window then press <F1>.\n"
34 "------------\n"
36 "build. Kernel features can either be built-in, modularized, or removed.\n"
43 " - - are selected by another feature\n"
49 "listed below and press <y> to build it in, <m> to make it a module or\n"
50 "<n> to remove it. You may press the <Space> key to cycle through the\n"
53 "A trailing \"--->\" designates a submenu, a trailing \"----\" an\n"
[all …]
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>
26 #include "mnconf-common.h"
30 "--------\n"
32 "Features can either be built-in, modularized, or ignored. Parameters\n"
39 " - - are selected by other feature,\n"
44 "keys and press <Y> to build it in, <M> to make it a module or\n"
45 "<N> to remove it. You may also press the <Space Bar> to cycle\n"
[all …]
/linux-6.12.1/Documentation/admin-guide/
Dsysrq.rst1 Linux Magic System Request Key Hacks
6 What is the magic SysRq key?
9 It is a 'magical' key combo you can hit which the kernel will respond to
12 How do I enable the magic SysRq key?
15 You need to say "yes" to 'Magic SysRq key (CONFIG_MAGIC_SYSRQ)' when
18 the SysRq key. The default value in this file is set by the
22 - 0 - disable sysrq completely
23 - 1 - enable all functions of sysrq
24 - >1 - bitmask of allowed sysrq functions (see below for detailed function
27 2 = 0x2 - enable control of console logging level
[all …]
Dspkguide.txt16 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
25 http://linux-speakup.org/. Speakup is a set of patches to the standard
72 acntsa -- Accent SA
73 acntpc -- Accent PC
74 apollo -- Apollo
75 audptr -- Audapter
76 bns -- Braille 'n Speak
77 dectlk -- DecTalk Express (old and new, db9 serial only)
78 decext -- DecTalk (old) External
79 dtlk -- DoubleTalk PC
[all …]
/linux-6.12.1/drivers/platform/x86/intel/
Dvbtn.c1 // SPDX-License-Identifier: GPL-2.0+
13 #include <linux/input/sparse-keymap.h>
41 { KE_KEY, 0xC0, { KEY_POWER } }, /* power key press */
42 { KE_IGNORE, 0xC1, { KEY_POWER } }, /* power key release */
43 { KE_KEY, 0xC2, { KEY_LEFTMETA } }, /* 'Windows' key press */
44 { KE_KEY, 0xC3, { KEY_LEFTMETA } }, /* 'Windows' key release */
45 { KE_KEY, 0xC4, { KEY_VOLUMEUP } }, /* volume-up key press */
46 { KE_IGNORE, 0xC5, { KEY_VOLUMEUP } }, /* volume-up key release */
47 { KE_KEY, 0xC6, { KEY_VOLUMEDOWN } }, /* volume-down key press */
48 { KE_IGNORE, 0xC7, { KEY_VOLUMEDOWN } }, /* volume-down key release */
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dti,ts3a227e.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Dylan Reid <dgreid@chromium.org>
14 The TS3A227E detect headsets of 3-ring and 4-ring standards and
16 handles key press detection in accordance with the Android audio
22 - ti,ts3a227e
34 - 0 # 2.1 V
35 - 1 # 2.2 V
36 - 2 # 2.3 V
[all …]
/linux-6.12.1/arch/arm64/boot/dts/rockchip/
Drk3308-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/input/input.h>
13 compatible = "rockchip,rk3308-evb", "rockchip,rk3308";
16 stdout-path = "serial4:1500000n8";
19 adc-keys0 {
20 compatible = "adc-keys";
21 io-channels = <&saradc 0>;
22 io-channel-names = "buttons";
23 poll-interval = <100>;
[all …]
/linux-6.12.1/drivers/input/misc/
Datc260x-onkey.c1 // SPDX-License-Identifier: GPL-2.0+
17 /* <2s for short press, >2s for long press */
80 reg_bm = onkey->params->long_int_pnd_bm | in atc2603x_onkey_hw_init()
81 onkey->params->short_int_pnd_bm | in atc2603x_onkey_hw_init()
82 onkey->params->kdwn_int_pnd_bm | in atc2603x_onkey_hw_init()
83 onkey->params->press_int_en_bm | in atc2603x_onkey_hw_init()
84 onkey->params->kdwn_int_en_bm; in atc2603x_onkey_hw_init()
87 reg_bm |= onkey->params->press_time_bm; in atc2603x_onkey_hw_init()
90 reg_bm |= onkey->params->reset_en_bm; in atc2603x_onkey_hw_init()
92 reg_bm |= onkey->params->reset_en_bm | in atc2603x_onkey_hw_init()
[all …]
Drt5120-pwrkey.c1 // SPDX-License-Identifier: GPL-2.0-only
30 error = regmap_read(priv->regmap, RT5120_REG_INTSTAT, &stat); in rt5120_pwrkey_handler()
34 input_report_key(priv->input, KEY_POWER, in rt5120_pwrkey_handler()
36 input_sync(priv->input); in rt5120_pwrkey_handler()
44 struct device *dev = &pdev->dev; in rt5120_pwrkey_probe()
50 return -ENOMEM; in rt5120_pwrkey_probe()
52 priv->regmap = dev_get_regmap(dev->parent, NULL); in rt5120_pwrkey_probe()
53 if (!priv->regmap) { in rt5120_pwrkey_probe()
55 return -ENODEV; in rt5120_pwrkey_probe()
58 press_irq = platform_get_irq_byname(pdev, "pwrkey-press"); in rt5120_pwrkey_probe()
[all …]
Dpalmas-pwrbutton.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2012-2014 Texas Instruments Incorporated - http://www.ti.com/
26 * struct palmas_pwron - Palmas power on data
29 * @input_work: work for detecting release of key
40 * struct palmas_pwron_config - configuration of palmas power on
41 * @long_press_time_val: value for long press h/w shutdown event
50 * palmas_power_button_work() - Detects the button release event
58 struct input_dev *input_dev = pwron->input_dev; in palmas_power_button_work()
62 error = palmas_read(pwron->palmas, PALMAS_INTERRUPT_BASE, in palmas_power_button_work()
65 dev_err(input_dev->dev.parent, in palmas_power_button_work()
[all …]
/linux-6.12.1/drivers/hid/
Dhid-icade.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include "hid-ids.h"
48 * < copy of hid_keyboard[] from hid-input.c >
53 * int press;
86 * usage_for_key (int key)
90 * if (hid_keyboard[i] == key)
101 * for (trans = icade_keys; trans->from; trans++) {
102 * int usage = usage_for_key (trans->from);
109 * printf ("\tu8 press:1;\n");
113 * for (trans = icade_keys; trans->from; trans++) {
[all …]
/linux-6.12.1/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
33 ------
38 - Fn key combinations
[all …]
/linux-6.12.1/drivers/media/pci/saa7134/
Dsaa7134-input.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 #include "saa7134-reg.h"
36 printk(KERN_DEBUG pr_fmt("ir %s: " fmt), ir->rc->device_name, \
43 /* -------------------- GPIO generic keycode builder -------------------- */
47 struct saa7134_card_ir *ir = dev->remote; in build_key()
51 switch (dev->board) { in build_key()
62 if (ir->polling) { in build_key()
63 if (ir->last_gpio == gpio) in build_key()
65 ir->last_gpio = gpio; in build_key()
68 data = ir_extract_bits(gpio, ir->mask_keycode); in build_key()
[all …]
/linux-6.12.1/scripts/kconfig/lxdialog/
Dchecklist.c1 // SPDX-License-Identifier: GPL-2.0+
3 * checklist.c -- implements the checklist box
6 * Stuart Herbert - S.Herbert@sheffield.ac.uk: radiolist extension
7 * Alessandro Rubini - rubini@ipvvis.unipv.it: merged the two
23 strncpy(list_item, item_str(), list_width - item_x); in print_item()
24 list_item[list_width - item_x] = '\0'; in print_item()
60 waddstr(win, "(-)"); in print_arrows()
72 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows()
90 int x = width / 2 - 11; in print_buttons()
91 int y = height - 2; in print_buttons()
[all …]
/linux-6.12.1/tools/perf/ui/tui/
Dutil.c1 // SPDX-License-Identifier: GPL-2.0
23 ui_browser__write_nstring(browser, *arg, browser->width); in ui_browser__argv_write()
28 int key; in popup_menu__run() local
30 if (ui_browser__show(menu, " ", "ESC: exit, ENTER|->: Select option") < 0) in popup_menu__run()
31 return -1; in popup_menu__run()
34 key = ui_browser__run(menu, 0); in popup_menu__run()
36 switch (key) { in popup_menu__run()
39 key = menu->index; in popup_menu__run()
45 key = -1; in popup_menu__run()
49 *keyp = key; in popup_menu__run()
[all …]
/linux-6.12.1/drivers/input/
Dsparse-keymap.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/input/sparse-keymap.h>
25 struct key_entry *key; in sparse_keymap_get_key_index() local
28 for (key = dev->keycode; key->type != KE_END; key++) { in sparse_keymap_get_key_index()
29 if (key->type == KE_KEY) { in sparse_keymap_get_key_index()
30 if (key == k) in sparse_keymap_get_key_index()
42 struct key_entry *key; in sparse_keymap_entry_by_index() local
45 for (key = dev->keycode; key->type != KE_END; key++) in sparse_keymap_entry_by_index()
46 if (key->type == KE_KEY) in sparse_keymap_entry_by_index()
48 return key; in sparse_keymap_entry_by_index()
[all …]
/linux-6.12.1/arch/arm/boot/dts/rockchip/
Drk3288-evb.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/pwm/pwm.h>
13 adc-keys {
14 compatible = "adc-keys";
15 io-channels = <&saradc 1>;
16 io-channel-names = "buttons";
17 keyup-threshold-microvolt = <1800000>;
19 button-up {
22 press-threshold-microvolt = <100000>;
[all …]
/linux-6.12.1/arch/mips/boot/dts/ingenic/
Drs90.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/iio/adc/ingenic,adc.h>
8 #include <dt-bindings/input/linux-event-codes.h>
12 model = "RS-90";
19 reserved-memory {
20 #address-cells = <1>;
21 #size-cells = <1>;
24 vmem: video-memory@1f00000 {
[all …]
/linux-6.12.1/Documentation/input/
Duinput.rst12 that will be delivered to userspace and in-kernel consumers.
28 create uinput devices and send events. libevdev is less error-prone than
38 ---------------
41 send a key event. All default imports and error handlers were removed for
44 .. code-block:: c
71 * created, to pass key events, in this case the space key.
94 /* Key press, report the event, send key release, and report again */
113 ---------------
118 .. code-block:: c
158 while (i--) {
[all …]
/linux-6.12.1/drivers/input/keyboard/
Dmax7359_keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max7359_keypad.c - MAX7359 Key Switch Controller Driver
10 * Datasheet: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/5456
57 /* matrix key code map */
69 dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n", in max7359_write_reg()
79 dev_err(&client->dev, "%s: reg 0x%x, err %d\n", in max7359_read_reg()
84 /* runs in an IRQ thread -- can (and will!) sleep */
88 struct input_dev *input_dev = keypad->input_dev; in max7359_interrupt()
91 val = max7359_read_reg(keypad->client, MAX7359_REG_KEYFIFO); in max7359_interrupt()
98 dev_dbg(&keypad->client->dev, in max7359_interrupt()
[all …]

12345678