| /kernel/linux/linux-5.10/drivers/net/wireguard/ |
| D | allowedips.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireguard/ |
| D | allowedips.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/rc/ |
| D | rc-tables.rst | 1 .. 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 …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/rc/ |
| D | rc-tables.rst | 1 .. SPDX-License-Identifier: 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/ |
| D | qcom-apq8064-sony-xperia-lagan-yuga.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-apq8064-v2.0.dtsi" 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/mfd/qcom-rpm.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 10 compatible = "sony,xperia-yuga", "qcom,apq8064"; 11 chassis-type = "handset"; 18 stdout-path = "serial0:115200n8"; 21 gpio-keys { [all …]
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| D | ipaq-micro-keys.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/input/keyboard/ |
| D | ipaq-micro-keys.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/accessibility/speakup/ |
| D | DefaultKeyAssignments | 3 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 …]
|
| /kernel/linux/linux-5.10/drivers/accessibility/speakup/ |
| D | DefaultKeyAssignments | 3 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/ |
| D | s5pv210-galaxys.dts | 1 // 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 …]
|
| D | s5pv210-fascinate4g.dts | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/hid/ |
| D | hid-creative-sb0540.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| D | hid-creative-sb0540.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | gpio-keys.yaml | 1 # 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… 37 description: Descriptive name of the key. [all …]
|
| /kernel/linux/linux-6.6/drivers/macintosh/ |
| D | via-pmu-event.c | 2 * 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 …]
|
| /kernel/linux/linux-5.10/drivers/macintosh/ |
| D | via-pmu-event.c | 2 * 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | da9063.txt | 3 DA9093 consists of a large and varied group of sub-devices (I2C Only): 6 ------ ------------ ----------- 7 da9063-regulator : : LDOs & BUCKs 8 da9063-onkey : : On Key 9 da9063-rtc : : Real-Time Clock (DA9063 only) 10 da9063-watchdog : : Watchdog 16 - compatible : Should be "dlg,da9063" or "dlg,da9063l" 17 - reg : Specifies the I2C slave address (this defaults to 0x58 but it can be 19 - interrupts : IRQ line information. 20 - interrupt-controller [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | adc-keys.txt | 2 ------------------------------------ 5 - compatible: "adc-keys" 6 - io-channels: Phandle to an ADC channel 7 - io-channel-names = "buttons"; 8 - keyup-threshold-microvolt: Voltage at which all the keys are considered up. 11 - poll-interval: Poll interval time in milliseconds 12 - autorepeat: Boolean, Enable auto repeat feature of Linux input 15 Each button (key) is represented as a sub-node of "adc-keys": 17 Required subnode-properties: 18 - label: Descriptive name of the key. [all …]
|
| D | gpio-keys.yaml | 1 # 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# 7 title: Device-Tree bindings for GPIO attached keys 10 - Rob Herring <robh@kernel.org> 15 - gpio-keys 16 - gpio-keys-polled 33 description: Descriptive name of the key. 36 description: Key / Axis code to emit. [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
| D | devlink_trap_tunnel_ipip.sh | 2 # 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 …]
|
| D | devlink_trap_tunnel_ipip6.sh | 2 # 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
| D | devlink_trap_tunnel_ipip.sh | 2 # 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 …]
|
| /kernel/linux/linux-6.6/scripts/kconfig/ |
| D | nconf.c | 1 // SPDX-License-Identifier: GPL-2.0 20 "------------\n" 31 "------------\n" 33 "build. Kernel features can either be built-in, modularized, or removed.\n" 40 " - - are selected by another feature\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" 56 "Linewise down <Down> <j>\n" 58 "Pagewise down <Page Down>\n" [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx53-ard.dts | 1 // 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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/exynos/ |
| D | exynos5433-tm2-common.dtsi | 1 // 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 …]
|