Home
last modified time | relevance | path

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

12345678910>>...41

/linux-6.8/drivers/net/wireguard/
Dallowedips.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
26 node->cidr = cidr; in copy_and_assign_cidr()
27 node->bit_at_a = cidr / 8U; in copy_and_assign_cidr()
29 node->bit_at_a ^= (bits / 8U - 1U) % 8U; in copy_and_assign_cidr()
31 node->bit_at_b = 7U - (cidr % 8U); in copy_and_assign_cidr()
32 node->bitlen = bits; in copy_and_assign_cidr()
33 memcpy(node->bits, src, bits / 8U); in copy_and_assign_cidr()
36 static inline u8 choose(struct allowedips_node *node, const u8 *key) in choose() argument
38 return (key[node->bit_at_a] >> node->bit_at_b) & 1; in choose()
[all …]
/linux-6.8/Documentation/userspace-api/media/rc/
Drc-tables.rst1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
20 layer. This means that the IR key strokes will look like normal keyboard
21 key strokes (if CONFIG_INPUT_KEYBOARD is enabled). Using the event
30 .. flat-table:: IR default keymapping
31 :header-rows: 0
32 :stub-columns: 0
36 - .. row 1
38 - Key code
40 - Meaning
42 - Key examples on IR
[all …]
/linux-6.8/drivers/input/keyboard/
Dipaq-micro-keys.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * h3600 atmel micro companion support, key subdevice
21 #include <linux/mfd/ipaq-micro.h>
38 KEY_DOWN, /* 9: Down */
44 int key, down; in micro_key_receive() local
46 down = 0x80 & msg[0]; in micro_key_receive()
47 key = 0x7f & msg[0]; in micro_key_receive()
49 if (key < ARRAY_SIZE(micro_keycodes)) { in micro_key_receive()
50 input_report_key(keys->input, keys->codes[key], down); in micro_key_receive()
51 input_sync(keys->input); in micro_key_receive()
[all …]
Ddlink-dir685-touchkeys.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * D-Link DIR-685 router I2C-based Touchkeys input driver
6 * This is a one-off touchkey controller based on the Cypress Semiconductor
30 const int num_bits = min_t(int, ARRAY_SIZE(tk->codes), 16); in dir685_tk_irq_thread()
33 unsigned long key; in dir685_tk_irq_thread() local
38 err = i2c_master_recv(tk->client, buf, sizeof(buf)); in dir685_tk_irq_thread()
40 dev_err(tk->dev, "short read %d\n", err); in dir685_tk_irq_thread()
44 dev_dbg(tk->dev, "IN: %*ph\n", (int)sizeof(buf), buf); in dir685_tk_irq_thread()
45 key = be16_to_cpup((__be16 *) &buf[4]); in dir685_tk_irq_thread()
48 changed = tk->cur_key ^ key; in dir685_tk_irq_thread()
[all …]
/linux-6.8/arch/arm/boot/dts/qcom/
Dqcom-apq8064-sony-xperia-lagan-yuga.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/mfd/qcom-rpm.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 #include "qcom-apq8064-v2.0.dtsi"
13 compatible = "sony,xperia-yuga", "qcom,apq8064";
14 chassis-type = "handset";
21 stdout-path = "serial0:115200n8";
24 gpio-keys {
[all …]
/linux-6.8/drivers/accessibility/speakup/
DDefaultKeyAssignments3 anything you want but that will take some familiarity with key
6 We have remapped the insert or zero key on the keypad to act as a
7 shift key. Well, actually as an altgr key. So in the following list
8 InsKeyPad-period means hold down the insert key like a shift key and
11 KeyPad-8 Say current Line
12 InsKeyPad-8 say from top of screen to reading cursor.
13 KeyPad-7 Say Previous Line (UP one line)
14 KeyPad-9 Say Next Line (down one line)
15 KeyPad-5 Say Current Word
16 InsKeyPad-5 Spell Current Word
[all …]
/linux-6.8/arch/arm/boot/dts/samsung/
Ds5pv210-galaxys.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include "s5pv210-aries.dtsi"
9 model = "Samsung Galaxy S1 (GT-I9000) based on S5PV210";
11 chassis-type = "handset";
14 stdout-path = &uart2;
17 nand_pwrseq: nand-pwrseq {
18 compatible = "mmc-pwrseq-simple";
[all …]
Ds5pv210-fascinate4g.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include "s5pv210-aries.dtsi"
9 model = "Samsung Galaxy S Fascinate 4G (SGH-T959P) based on S5PV210";
11 chassis-type = "handset";
14 stdout-path = &uart2;
17 gpio-keys {
18 compatible = "gpio-keys";
[all …]
/linux-6.8/drivers/hid/
Dhid-creative-sb0540.c1 // SPDX-License-Identifier: GPL-2.0
12 #include "hid-ids.h"
22 KEY_RESERVED, /* 24bit wheel down */
25 KEY_RESERVED, /* CMSS wheel Down */
28 KEY_RESERVED, /* EAX wheel down */
31 KEY_RESERVED, /* 3D Midi wheel down */
131 << (bits - 1 - i); in reverse()
142 return creative_sb0540->keymap[i]; in get_key()
154 int key; in creative_sb0540_raw_event() local
170 key = get_key(creative_sb0540, main_code); in creative_sb0540_raw_event()
[all …]
/linux-6.8/drivers/macintosh/
Dvia-pmu-event.c2 * via-pmu event device for reporting some events that come through the PMU
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 #include "via-pmu-event.h"
36 return -ENODEV; in via_pmu_event_init()
40 return -ENOMEM; in via_pmu_event_init()
42 pmu_input_dev->name = "PMU"; in via_pmu_event_init()
43 pmu_input_dev->id.bustype = BUS_HOST; in via_pmu_event_init()
44 pmu_input_dev->id.vendor = 0x0001; in via_pmu_event_init()
45 pmu_input_dev->id.product = 0x0001; in via_pmu_event_init()
46 pmu_input_dev->id.version = 0x0100; in via_pmu_event_init()
[all …]
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-6.8/Documentation/devicetree/bindings/input/
Dgpio-keys.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
15 - gpio-keys
16 - gpio-keys-polled
23 poll-interval: true
26 …"^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switc…
35 - items:
[all …]
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
26 compatible = "dlg,da9063-onkey";
27 dlg,disable-key-power;
35 compatible = "dlg,da9062-onkey";
36 dlg,disable-key-power;
[all …]
/linux-6.8/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_tunnel_ipip.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Test devlink-trap tunnel exceptions functionality over mlxsw.
8 # +-------------------------+
12 # +-------------------|-----+
14 # +-------------------|-----+
26 # +--|----------------------+
28 # +--|----------------------+
32 # +-------------------------+
81 ip link set dev $rp1 down
84 ip link set dev g1 down
[all …]
Ddevlink_trap_tunnel_ipip6.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Test devlink-trap tunnel exceptions functionality over mlxsw.
8 # +-------------------------+
12 # +-------------------|-----+
14 # +-------------------|-----+
26 # +--|----------------------+
28 # +--|----------------------+
32 # +-------------------------+
83 ip link set dev $rp1 down
86 ip link set dev g1 down
[all …]
/linux-6.8/arch/arm64/boot/dts/exynos/
Dexynosautov9-sadk.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
16 compatible = "samsung,exynosautov9-sadk", "samsung,exynosautov9";
18 #address-cells = <2>;
19 #size-cells = <2>;
26 stdout-path = &serial_0;
36 gpio-keys {
37 compatible = "gpio-keys";
[all …]
Dexynos5433-tm2-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
11 /dts-v1/;
13 #include <dt-bindings/clock/samsung,s2mps11.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/interrupt-controller/irq.h>
17 #include <dt-bindings/sound/samsung-i2s.h>
48 stdout-path = &serial_1;
56 gpio-keys {
57 compatible = "gpio-keys";
[all …]
/linux-6.8/scripts/kconfig/
Dnconf.c1 // SPDX-License-Identifier: GPL-2.0
15 #include "mnconf-common.h"
21 "------------\n"
32 "------------\n"
34 "build. Kernel features can either be built-in, modularized, or removed.\n"
41 " - - are selected by another feature\n"
48 "<n> to remove it. You may press the <Space> key to cycle through the\n"
51 "A trailing \"--->\" designates a submenu, a trailing \"----\" an\n"
55 "----------------------------------------------------------------------\n"
57 "Linewise down <Down> <j>\n"
[all …]
/linux-6.8/arch/arm/boot/dts/nxp/imx/
Dimx53-ard.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
7 /dts-v1/;
8 #include <dt-bindings/input/input.h>
13 compatible = "fsl,imx53-ard", "fsl,imx53";
20 eim-cs1@f4000000 {
21 #address-cells = <1>;
22 #size-cells = <1>;
23 compatible = "fsl,eim-bus", "simple-bus";
30 phy-mode = "mii";
31 interrupt-parent = <&gpio2>;
[all …]
/linux-6.8/scripts/kconfig/lxdialog/
Dmenubox.c1 // SPDX-License-Identifier: GPL-2.0+
3 * menubox.c -- implements the menu box
12 * [ 1998-06-13 ]
14 * *) A bugfix for the Page-Down problem
16 * *) Formerly when I used Page Down and Page Up, the cursor would be set
22 * lxdialog is re-invoked by the Menuconfig shell script, can't
27 * one, but it would be nice if Menuconfig could make another "rm -f"
28 * just to be sure. Just try it out - you will recognise a difference!
30 * [ 1998-06-14 ]
32 * *) Now lxdialog is crash-safe against broken "lxdialog.scrltmp" files
[all …]
/linux-6.8/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.8/arch/arm/boot/dts/ti/omap/
Dam3517-evm-ui.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2018 Logic PD, Inc - https://www.logicpd.com/
6 #include <dt-bindings/input/input.h>
10 compatible = "simple-audio-card";
11 simple-audio-card,name = "tlv320aic23-hifi";
13 simple-audio-card,widgets =
18 simple-audio-card,routing =
25 simple-audio-card,format = "i2s";
26 simple-audio-card,bitclock-master = <&sound_master>;
27 simple-audio-card,frame-master = <&sound_master>;
[all …]
/linux-6.8/drivers/input/misc/
Dpmic8xxx-pwrkey.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
71 * struct pmic8xxx_pwrkey - pmic8xxx pwrkey information
72 * @key_press_irq: key press irq number
107 enable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_suspend()
117 disable_irq_wake(pwrkey->key_press_irq); in pmic8xxx_pwrkey_resume()
132 if (pwrkey->shutdown_fn) { in pmic8xxx_pwrkey_shutdown()
133 error = pwrkey->shutdown_fn(pwrkey, reset); in pmic8xxx_pwrkey_shutdown()
149 regmap_update_bits(pwrkey->regmap, PON_CNTL_1, mask, val); in pmic8xxx_pwrkey_shutdown()
154 * in the master enable register. Also set it's pull down enable bit.
[all …]
/linux-6.8/arch/arm/mach-omap1/
Dboard-ams-delta.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-ams-delta.c
5 * Modified from board-generic.c
19 #include <linux/mtd/nand-gpio.h>
29 #include <linux/platform_data/gpio-omap.h>
30 #include <linux/soc/ti/omap1-mux.h>
33 #include <asm/mach-types.h>
37 #include <linux/platform_data/keypad-omap.h>
41 #include "ams-delta-fiq.h"
42 #include "board-ams-delta.h"
[all …]
/linux-6.8/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
27 The keyboard always returns key make/break scan codes. The ikbd generates
28 keyboard scan codes for each key press and release. The key scan make (key
30 ISO key position in the scan code table should exist even if no keyswitch
31 exists in that position on a particular keyboard. The break code for each 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
[all …]

12345678910>>...41