Home
last modified time | relevance | path

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

12345678910>>...35

/linux/drivers/net/wireguard/
H A 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/Documentation/userspace-api/media/rc/
H A 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/tools/testing/selftests/drivers/net/
H A Dstats.py2 # SPDX-License-Identifier: GPL-2.0
20 def check_pause(cfg) -> None:
24 ethnl.pause_get({"header": {"dev-index": cfg.ifindex}})
30 data = ethnl.pause_get({"header": {"dev-index": cfg.ifindex,
35 def check_fec(cfg) -> None:
39 ethnl.fec_get({"header": {"dev-index": cfg.ifindex}})
45 data = ethnl.fec_get({"header": {"dev-index": cfg.ifindex,
50 def pkt_byte_sum(cfg) -> None:
65 for key in ['tx-packets', 'tx-bytes', 'rx-packets', 'rx-bytes']:
66 ksft_in(key, qstat, "Drivers should always report basic keys")
[all …]
/linux/drivers/input/keyboard/
H A 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 …]
/linux/arch/arm/boot/dts/qcom/
H A 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 …]
H A Dqcom-msm8960-samsung-expressatt.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/reset/qcom,gcc-msm8960.h>
5 #include "qcom-msm8960.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
9 #include <dt-bindings/input/gpio-keys.h>
12 model = "Samsung Galaxy Express SGH-I437";
14 chassis-type = "handset";
23 stdout-path = "serial0:115200n8";
[all …]
/linux/arch/arm/boot/dts/samsung/
H A 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 …]
H A 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/drivers/accessibility/speakup/
H A 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/drivers/hid/
H A 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 …]
H A Dhid-appleir.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Ported to recent 2.6 kernel versions by Greg Kroah-Hartman <gregkh@suse.de>
11 * Copyright (C) 2008 Greg Kroah-Hartman <greg@kroah.com>
21 #include "hid-ids.h"
34 * 25 87 ee 83 0c -
39 * 26 00 00 00 00 for key repeat
45 * 25 87 ee ca 0d -
50 * 26 00 00 00 00 for key repeat
53 * sent after a key is release, which I interpret
61 * 25 87 ee 47 0d -
[all …]
/linux/Documentation/devicetree/bindings/input/
H A 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 …]
H A Dpxa27x-keypad.txt4 - compatible : should be "marvell,pxa27x-keypad"
5 - reg : Address and length of the register set for the device
6 - interrupts : The interrupt for the keypad controller
7 - marvell,debounce-interval : How long time the key will be
9 is debounce interval for direct key and bit[15:0] is debounce
10 interval for matrix key. The value is in binary number of 2ms
13 Please refer to matrix-keymap.txt
16 - marvell,direct-key-count : How many direct keyes are used.
17 - marvell,direct-key-mask : The mask indicates which keyes
18 are used. If bit[X] of the mask is set, the direct key X
[all …]
/linux/drivers/macintosh/
H A 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 …]
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 …]
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-2024.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
6 /dts-v1/;
8 #include "sun50i-h616.dtsi"
9 #include "sun50i-h616-cpu-opp.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/leds/common.h>
17 chassis-type = "handset";
18 compatible = "anbernic,rg35xx-2024", "allwinner,sun50i-h700";
[all …]
/linux/arch/arm64/boot/dts/exynos/
H A 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 …]
H A 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/scripts/kconfig/
H A Dnconf.c1 // SPDX-License-Identifier: GPL-2.0
17 #include "mnconf-common.h"
23 "------------\n"
34 "------------\n"
36 "build. Kernel features can either be built-in, modularized, or removed.\n"
43 " - - are selected by another feature\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"
57 "----------------------------------------------------------------------\n"
59 "Linewise down <Down> <j>\n"
[all …]
/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 …]
/linux/scripts/kconfig/lxdialog/
H A 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/arch/arm/boot/dts/ti/omap/
H A 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/drivers/input/misc/
H A 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/Documentation/input/devices/
H A 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 …]
/linux/arch/arm/mach-omap1/
H A 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 …]

12345678910>>...35