Home
last modified time | relevance | path

Searched +full:button +full:- +full:191 (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/input/
Dallwinner,sun4i-a10-lradc-keys.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/input/allwinner,sun4i-a10-lradc-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 - const: allwinner,sun4i-a10-lradc-keys
17 - const: allwinner,sun8i-a83t-r-lradc
18 - items:
19 - enum:
[all …]
/linux-6.12.1/arch/arm/boot/dts/allwinner/
Dsun5i-a13-olinuxino.dts4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun5i-a13.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/input/input.h>
53 model = "Olimex A13-Olinuxino";
54 compatible = "olimex,a13-olinuxino", "allwinner,sun5i-a13";
61 stdout-path = "serial0:115200n8";
[all …]
Dsun5i-a10s-olinuxino-micro.dts4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun5i-a10s.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/input/input.h>
53 model = "Olimex A10s-Olinuxino Micro";
54 compatible = "olimex,a10s-olinuxino-micro", "allwinner,sun5i-a10s";
63 stdout-path = "serial0:115200n8";
[all …]
Dsun7i-a20-olinuxino-micro.dts4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun7i-a20.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/input/input.h>
51 #include <dt-bindings/interrupt-controller/irq.h>
54 model = "Olimex A20-Olinuxino Micro";
55 compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20";
[all …]
/linux-6.12.1/arch/arm64/boot/dts/rockchip/
Drk3399-sapphire-excavator.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include "rk3399-sapphire.dtsi"
10 model = "Excavator-RK3399 Board";
11 compatible = "rockchip,rk3399-sapphire-excavator", "rockchip,rk3399";
17 adc-keys {
18 compatible = "adc-keys";
19 io-channels = <&saradc 1>;
20 io-channel-names = "buttons";
21 keyup-threshold-microvolt = <1800000>;
[all …]
/linux-6.12.1/tools/testing/selftests/hid/tests/
Dtest_gamepad.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
32 def assert_button(self, button): argument
38 key = libevdev.evbit(uhdev.buttons_map[button])
40 buttons[button] = True
48 buttons[button] = False
57 """check for button reliability."""
64 """check for button reliability when pressing 2 buttons"""
143 self._test_joystick_press("left_stick", (191, 127))
153 self._test_joystick_press("left_stick", (127, 191))
[all …]
Dtest_mouse.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
18 # workaround https://gitlab.freedesktop.org/libevdev/python-libevdev/issues/6
48 :param buttons: a (l, r, m) tuple of bools for the button states,
94 :param buttons: a (l, r, m) tuple of bools for the button states,
114 0x05, 0x09, # ....Usage Page (Button) 14
128 0x15, 0x81, # ....Logical Minimum (-127) 42
157 x = max(-127, min(127, x))
158 y = max(-127, min(127, y))
170 0x05, 0x09, # .Usage Page (Button) 6
[all …]
Ddescriptors_wacom.py1 # SPDX-License-Identifier: GPL-2.0
11 0x05, 0x09, # . Usage Page (Button),
25 0x15, 0x81, # . Logical Minimum (-127),
77 0x35, 0xC0, # . Physical Minimum (-64),
79 0x15, 0xC0, # . Logical Minimum (-64),
87 0x36, 0x4C, 0xFF, # . Physical Minimum (-180),
89 0x16, 0x7C, 0xFC, # . Logical Minimum (-900),
110 0x17, 0x00, 0x00, 0x00, 0x80, # . Logical Minimum (-2147483648),
232 … # . Usage (0D33h), # !!! Errata: Missing Non-zero Physical Max
293 0x95, 0xBF, # . Report Count (191),
[all …]
/linux-6.12.1/arch/arm/boot/dts/rockchip/
Drk3288-evb.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/pwm/pwm.h>
13 adc-keys {
14 compatible = "adc-keys";
15 io-channels = <&saradc 1>;
16 io-channel-names = "buttons";
17 keyup-threshold-microvolt = <1800000>;
19 button-up {
22 press-threshold-microvolt = <100000>;
[all …]
/linux-6.12.1/drivers/hid/bpf/progs/
DHuion__Kamvas-Pro-19.bpf.c1 // SPDX-License-Identifier: GPL-2.0-only
25 * - the second button is reported through Secondary Tip Switch instead of Secondary Barrel Switch
26 * - the third button is reported through Invert, and we need some room to report it.
46 0x05, 0x09, // Usage Page (Button) /* inserted */
59 0x55, 0x0d, // Unit Exponent (-3) 48
75 0x15, 0xa6, // Logical Minimum (-90) 83
105 0x55, 0x0e, // Unit Exponent (-2) 141
128 0x75, 0x06, // Report Size (6) 191
143 0x55, 0x0e, // Unit Exponent (-2) 221
208 * This tablet reports the 3rd button through invert, but this conflict
[all …]
DXPPen__ArtistPro16Gen2.bpf.c1 // SPDX-License-Identifier: GPL-2.0-only
21 * - the device reports Eraser instead of using Secondary Barrel Switch
22 * - when the eraser button is pressed and the stylus is touching the tablet,
38 … // Usage (Eraser) 16 /* created over a padding bit at offset 29-33 */
58 0x55, 0x0d, // Unit Exponent (-3) 61
72 0x15, 0x81, // Logical Minimum (-127) 93
78 0x15, 0x81, // Logical Minimum (-127) 105
98 if (hctx->hid->product == PID_ARTIST_PRO14_GEN2) { in SEC()
150 151, 155, 158, 161, 165, 168, 171, 174, 177, 180, 183, 186, 188, 191, 194, 196,
189 __u8 angle = tilt > 0 ? tilt : -tilt; in compensate_coordinates_by_tilt()
[all …]
/linux-6.12.1/sound/usb/caiaq/
Dcontrol.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card); in control_info()
25 int pos = kcontrol->private_value; in control_info()
29 uinfo->count = 1; in control_info()
32 switch (cdev->chip.usb_id) { in control_info()
37 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info()
38 uinfo->value.integer.min = 0; in control_info()
39 uinfo->value.integer.max = 2; in control_info()
54 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info()
55 uinfo->value.integer.min = 0; in control_info()
[all …]
/linux-6.12.1/arch/arm/boot/dts/st/
Dste-snowball.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2011 ST-Ericsson AB
6 /dts-v1/;
7 #include "ste-db9500.dtsi"
8 #include "ste-href-ab8500.dtsi"
9 #include "ste-href-family-pinctrl.dtsi"
13 compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500";
21 compatible = "simple-battery";
22 battery-type = "lithium-ion-polymer";
25 thermal-zones {
[all …]
/linux-6.12.1/arch/arm/boot/dts/aspeed/
Daspeed-bmc-facebook-harma.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
11 compatible = "facebook,harma-bmc", "aspeed,ast2600";
32 stdout-path = &uart5;
40 iio-hwmon {
41 compatible = "iio-hwmon";
42 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
[all …]
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx53-ppd.dts4 * This file is dual-licensed: you can use it either under the terms
42 /dts-v1/;
45 #include <dt-bindings/input/input.h>
49 compatible = "ge,imx53-cpuvo", "fsl,imx53";
58 stdout-path = "serial0:115200n8";
67 cko2_11M: sgtl-clock-cko2 {
68 compatible = "fixed-clock";
69 #clock-cells = <0>;
70 clock-frequency = <11289600>;
73 achc_24M: achc-clock {
[all …]
Dimx6dl-qmx6.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 // Copyright 2018-2021 General Electric Company
7 // Copyright 2018-2021 Collabora
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/sound/fsl-imx-audmux.h>
20 compatible = "regulator-fixed";
21 regulator-name = "3P3V";
22 regulator-min-microvolt = <3300000>;
23 regulator-max-microvolt = <3300000>;
27 compatible = "i2c-mux-gpio";
[all …]
/linux-6.12.1/include/uapi/linux/
Dinput-event-codes.h1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
6 * This file is not only included from C-code but also from devicetree source
9 * Copyright (c) 1999-2002 Vojtech Pavlik
25 #define INPUT_PROP_BUTTONPAD 0x02 /* has button(s) under pad */
70 * AC - Application Control
71 * AL - Application Launch Button
72 * SC - System Control
272 #define KEY_F21 191
307 outputs (Monitor/LCD/TV-out/etc) */
512 #define KEY_FRAMEBACK 0x1b4 /* Consumer - transport controls */
[all …]
Dbpf.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
21 #define BPF_DW 0x18 /* double word (64-bit) */
23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */
24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */
32 #define BPF_TO_LE 0x00 /* convert to little-endian */
33 #define BPF_TO_BE 0x08 /* convert to big-endian */
52 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */
74 /* BPF has 10 general purpose 64-bit registers and stack frame. */
116 BPF_CGROUP_ITER_DESCENDANTS_PRE, /* walk descendants in pre-order. */
[all …]
/linux-6.12.1/include/dt-bindings/input/
Dlinux-event-codes.h1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
6 * This file is not only included from C-code but also from devicetree source
9 * Copyright (c) 1999-2002 Vojtech Pavlik
25 #define INPUT_PROP_BUTTONPAD 0x02 /* has button(s) under pad */
70 * AC - Application Control
71 * AL - Application Launch Button
72 * SC - System Control
272 #define KEY_F21 191
307 outputs (Monitor/LCD/TV-out/etc) */
512 #define KEY_FRAMEBACK 0x1b4 /* Consumer - transport controls */
[all …]
/linux-6.12.1/Documentation/admin-guide/
Ddevices.txt1 0 Unnamed devices (e.g. non-device mounts)
7 2 = /dev/kmem OBSOLETE - replaced by /proc/kcore
11 6 = /dev/core OBSOLETE - replaced by /proc/kcore
18 12 = /dev/oldmem OBSOLETE - replaced by /proc/vmcore
31 2 char Pseudo-TTY masters
37 Pseudo-tty's are named as follows:
40 the 1st through 16th series of 16 pseudo-ttys each, and
44 These are the old-style (BSD) PTY devices; Unix98
106 3 char Pseudo-TTY slaves
112 These are the old-style (BSD) PTY devices; Unix98
[all …]
/linux-6.12.1/drivers/hid/
Dhid-lg.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
7 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
8 * Copyright (c) 2006-2007 Jiri Kosina
25 #include "hid-ids.h"
26 #include "hid-lg.h"
27 #include "hid-lg4ff.h"
144 0x05, 0x09, /* Usage Page (Button), */
192 0x05, 0x09, /* Usage Page (Button), */
259 0x05, 0x09, /* Usage Page (Button), */
[all …]
Dhid-asus.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * HID driver for Asus notebook built-in keyboard.
12 * This module based on hid-ortek by
29 #include <linux/platform_data/x86/asus-wmi.h>
35 #include "hid-ids.h"
195 struct input_dev *input = drvdat->input; in asus_report_contact_down()
199 y = drvdat->tp->max_y - ((data[0] & CONTACT_Y_MSB_MASK) << 8 | data[2]); in asus_report_contact_down()
204 if (drvdat->tp->contact_size < 5) in asus_report_contact_down()
222 struct input_mt *mt = drvdat->input->mt; in asus_report_tool_width()
226 if (drvdat->tp->contact_size < 5) in asus_report_tool_width()
[all …]
/linux-6.12.1/sound/soc/codecs/
Dwm5100.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm5100.c -- WM5100 ALSA SoC Audio driver
5 * Copyright 2011-2 Wolfson Microelectronics plc
130 dev_err(component->dev, "Unsupported sample rate: %dHz\n", rate); in wm5100_alloc_sr()
131 return -EINVAL; in wm5100_alloc_sr()
135 if ((wm5100->sysclk % rate) == 0) { in wm5100_alloc_sr()
137 sr_free = -1; in wm5100_alloc_sr()
139 if (!wm5100->sr_ref[i] && sr_free == -1) { in wm5100_alloc_sr()
149 wm5100->sr_ref[i]++; in wm5100_alloc_sr()
150 dev_dbg(component->dev, "SR %dHz, slot %d, ref %d\n", in wm5100_alloc_sr()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/ti/
Dk3-am62-verdin.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/net/ti-dp83867.h>
18 stdout-path = "serial2:115200n8";
46 compatible = "gpio-usb-b-connector", "usb-b-connector";
47 pinctrl-names = "default";
[all …]
/linux-6.12.1/tools/include/uapi/linux/
Dbpf.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
21 #define BPF_DW 0x18 /* double word (64-bit) */
23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */
24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */
32 #define BPF_TO_LE 0x00 /* convert to little-endian */
33 #define BPF_TO_BE 0x08 /* convert to big-endian */
52 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */
74 /* BPF has 10 general purpose 64-bit registers and stack frame. */
116 BPF_CGROUP_ITER_DESCENDANTS_PRE, /* walk descendants in pre-order. */
[all …]