Home
last modified time | relevance | path

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

1234567891011

/openbmc/linux/Documentation/devicetree/bindings/input/
H A 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 …]
H A Dda9062-onkey.txt11 - compatible: should be one of the following valid compatible string lines:
12 "dlg,da9061-onkey", "dlg,da9062-onkey"
13 "dlg,da9062-onkey"
14 "dlg,da9063-onkey"
18 - dlg,disable-key-power : Disable power-down using a long key-press. If this
19 entry exists the OnKey driver will remove support for the KEY_POWER key
20 press when triggered using a long press of the OnKey.
26 compatible = "dlg,da9063-onkey";
27 dlg,disable-key-power;
35 compatible = "dlg,da9062-onkey";
[all …]
H A 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 …]
H A 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 …]
/openbmc/linux/scripts/kconfig/
H A 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 …]
H A 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 …]
/openbmc/u-boot/scripts/kconfig/
H A Dnconf.c20 "------------\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"
66 "Start incremental, case-insensitive search for STRING in menu entries,\n"
[all …]
H A Dmconf.c2 * 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"
48 "----------\n"
[all …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A 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 …]
/openbmc/linux/drivers/platform/x86/intel/
H A Dvbtn.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/input/sparse-keymap.h>
38 { KE_KEY, 0xC0, { KEY_POWER } }, /* power key press */
39 { KE_IGNORE, 0xC1, { KEY_POWER } }, /* power key release */
40 { KE_KEY, 0xC2, { KEY_LEFTMETA } }, /* 'Windows' key press */
41 { KE_KEY, 0xC3, { KEY_LEFTMETA } }, /* 'Windows' key release */
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 …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A 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 …]
/openbmc/linux/Documentation/admin-guide/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/input/misc/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/hid/
H A 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 …]
/openbmc/linux/Documentation/admin-guide/laptops/
H A 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 …]
/openbmc/linux/drivers/media/pci/saa7134/
H A 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 …]
/openbmc/linux/scripts/kconfig/lxdialog/
H A 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 …]
/openbmc/u-boot/scripts/kconfig/lxdialog/
H A 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 …]
/openbmc/phosphor-buttons/
H A DREADME.md1 # phosphor-buttons
3 Phosphor-buttons has a collection of IO event handler interfaces for physical
8 its associated IO for event changes and emits signals that the button-handler
19 If the power is on, it depends on how long the press was and which options are
22 - Short press: Do a host power off
23 - Long press, as determined by the 'long-press-time-ms' meson option: Do a
28 The 'power-button-profile' meson option can be used to select custom power
33 - host_then_chassis_poweroff: When power is on, short presses are ignored and a
34 long press issues a host power off first and then a chassis power off if held
38 ### Multi-Host Buttons
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Ddlg,da9063.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Steve Twiss <stwiss.opensource@diasemi.com>
13 For device-tree bindings of other sub-modules refer to the binding documents
14 under the respective sub-system directories.
15 Using regulator-{uv,ov}-{warn,error,protection}-microvolt requires special
24 - dlg,da9063
25 - dlg,da9063l
33 interrupt-controller: true
[all …]
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/
H A Dpower-ctrl5 # On/off System by step moter to press power key
9 # shellcheck source=meta-facebook/meta-bletchley/recipes-bletchley/plat-tools/files/bletchley-commo…
10 source /usr/libexec/bletchley-common-functions
39 ACTION_AC_ON="ac-on"
40 ACTION_AC_OFF="ac-off"
42 ACTION_BOOT_MODE="boot-from-bootmode"
111 echo "Motor go forward to press Power key"
112 motor-ctrl "sled${sled_num}" f >/dev/null
114 motor-ctrl "sled${sled_num}" s >/dev/null
116 if [ "$(get_gpio "$GPIO_DETECT_PIN0")" -eq 0 ];then
[all …]
/openbmc/linux/tools/perf/ui/tui/
H A 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 …]
/openbmc/linux/drivers/input/
H A 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 …]

1234567891011