Home
last modified time | relevance | path

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

12345678910>>...41

/linux-6.14.4/drivers/net/wireguard/
Dallowedips.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. 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.14.4/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.14.4/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 …]
/linux-6.14.4/tools/testing/selftests/drivers/net/
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-6.14.4/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 …]
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-6.14.4/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.14.4/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.14.4/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.14.4/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.14.4/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 <[email protected]>
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 …]
/linux-6.14.4/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.14.4/arch/arm64/boot/dts/allwinner/
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-6.14.4/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.14.4/scripts/kconfig/
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-6.14.4/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.14.4/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.14.4/Documentation/admin-guide/laptops/
Dthinkpad-acpi.rst9 - Borislav Deianov <[email protected]>
10 - Henrique de Moraes Holschuh <[email protected]>
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.14.4/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.14.4/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.14.4/kernel/debug/kdb/
Dkdb_keyboard.c7 * Copyright (c) 1999-2006 Silicon Graphics, Inc. All Rights Reserved.
28 #define CTRL(c) ((c) - 64)
41 static int shift_lock; /* CAPS LOCK state (0-off, 1-on) */ in kdb_get_kbd_char()
49 return -1; in kdb_get_kbd_char()
54 return -1; in kdb_get_kbd_char()
66 return -1; in kdb_get_kbd_char()
71 * keep the shift state so long as the key is in kdb_get_kbd_char()
72 * held down). in kdb_get_kbd_char()
77 * Next key may use shift table in kdb_get_kbd_char()
83 return -1; in kdb_get_kbd_char()
[all …]

12345678910>>...41