Home
last modified time | relevance | path

Searched +full:event +full:- +full:touch (Results 1 – 25 of 795) sorted by relevance

12345678910>>...32

/kernel/linux/linux-6.6/drivers/input/touchscreen/
Dda9034-ts.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Marvell International Ltd.
66 static inline int is_pen_down(struct da9034_touch *touch) in is_pen_down() argument
68 return da903x_query_status(touch->da9034_dev, DA9034_STATUS_PEN_DOWN); in is_pen_down()
71 static inline int detect_pen_down(struct da9034_touch *touch, int on) in detect_pen_down() argument
74 return da903x_set_bits(touch->da9034_dev, in detect_pen_down()
77 return da903x_clr_bits(touch->da9034_dev, in detect_pen_down()
81 static int read_tsi(struct da9034_touch *touch) in read_tsi() argument
86 ret = da903x_read(touch->da9034_dev, DA9034_TSI_X_MSB, &_x); in read_tsi()
90 ret = da903x_read(touch->da9034_dev, DA9034_TSI_Y_MSB, &_y); in read_tsi()
[all …]
Dchipone_icn8318.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 __u8 event; member
61 .addr = client->addr, in icn8318_read_touch_data()
66 .addr = client->addr, in icn8318_read_touch_data()
73 return i2c_transfer(client->adapter, msg, 2); in icn8318_read_touch_data()
76 static inline bool icn8318_touch_active(u8 event) in icn8318_touch_active() argument
78 return (event == ICN8318_EVENT_UPDATE1) || in icn8318_touch_active()
79 (event == ICN8318_EVENT_UPDATE2); in icn8318_touch_active()
85 struct device *dev = &data->client->dev; in icn8318_irq()
89 ret = icn8318_read_touch_data(data->client, &touch_data); in icn8318_irq()
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dda9034-ts.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Marvell International Ltd.
66 static inline int is_pen_down(struct da9034_touch *touch) in is_pen_down() argument
68 return da903x_query_status(touch->da9034_dev, DA9034_STATUS_PEN_DOWN); in is_pen_down()
71 static inline int detect_pen_down(struct da9034_touch *touch, int on) in detect_pen_down() argument
74 return da903x_set_bits(touch->da9034_dev, in detect_pen_down()
77 return da903x_clr_bits(touch->da9034_dev, in detect_pen_down()
81 static int read_tsi(struct da9034_touch *touch) in read_tsi() argument
86 ret = da903x_read(touch->da9034_dev, DA9034_TSI_X_MSB, &_x); in read_tsi()
90 ret = da903x_read(touch->da9034_dev, DA9034_TSI_Y_MSB, &_y); in read_tsi()
[all …]
Dchipone_icn8318.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 __u8 event; member
61 .addr = client->addr, in icn8318_read_touch_data()
66 .addr = client->addr, in icn8318_read_touch_data()
73 return i2c_transfer(client->adapter, msg, 2); in icn8318_read_touch_data()
76 static inline bool icn8318_touch_active(u8 event) in icn8318_touch_active() argument
78 return (event == ICN8318_EVENT_UPDATE1) || in icn8318_touch_active()
79 (event == ICN8318_EVENT_UPDATE2); in icn8318_touch_active()
85 struct device *dev = &data->client->dev; in icn8318_irq()
89 ret = icn8318_read_touch_data(data->client, &touch_data); in icn8318_irq()
[all …]
/kernel/linux/linux-6.6/Documentation/input/
Dmulti-touch-protocol.rst4 Multi-touch (MT) Protocol
7 :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se>
11 ------------
13 In order to utilize the full power of the new multi-touch and multi-user
16 document describes the multi-touch (MT) protocol which allows kernel
23 describes how to send updates for individual contacts via event slots.
30 --------------
34 packet. Since these events are ignored by current single-touch (ST)
40 event, which instructs the receiver to accept the data for the current
45 This generates an ABS_MT_SLOT event, which instructs the receiver to
[all …]
Devent-codes.rst1 .. _input-event-codes:
4 Input event codes
12 A single hardware event generates multiple input events. Each input event
13 contains the new value of a single data item. A special event type, EV_SYN, is
15 the same moment in time. In the following, the term "event" refers to a single
16 input event encompassing a type, code, and value.
19 of event codes have changed. However, the state is maintained within the Linux
22 event code values using the EVIOCG* ioctls defined in linux/input.h. The event
24 class/input/event*/device/capabilities/, and the properties of a device are
25 provided in class/input/event*/device/properties.
[all …]
/kernel/linux/linux-5.10/Documentation/input/
Dmulti-touch-protocol.rst4 Multi-touch (MT) Protocol
7 :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se>
11 ------------
13 In order to utilize the full power of the new multi-touch and multi-user
16 document describes the multi-touch (MT) protocol which allows kernel
23 describes how to send updates for individual contacts via event slots.
30 --------------
34 packet. Since these events are ignored by current single-touch (ST)
40 event, which instructs the receiver to accept the data for the current
45 This generates an ABS_MT_SLOT event, which instructs the receiver to
[all …]
Devent-codes.rst1 .. _input-event-codes:
4 Input event codes
12 A single hardware event generates multiple input events. Each input event
13 contains the new value of a single data item. A special event type, EV_SYN, is
15 the same moment in time. In the following, the term "event" refers to a single
16 input event encompassing a type, code, and value.
19 of event codes have changed. However, the state is maintained within the Linux
22 event code values using the EVIOCG* ioctls defined in linux/input.h. The event
24 class/input/event*/device/capabilities/, and the properties of a device are
25 provided in class/input/event*/device/properties.
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/
Dtest_sony.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
43 for x in range(-32000, 32000, 4000):
44 r = uhdev.event(accel=(x, None, None))
51 # to inverse calibration, followed by calibration by hid-sony.
52 assert x - 1 <= value <= x + 1
54 for y in range(-32000, 32000, 4000):
55 r = uhdev.event(accel=(None, y, None))
61 assert y - 1 <= value <= y + 1
63 for z in range(-32000, 32000, 4000):
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/touchscreen/
Dazoteq,iqs7211.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control-
14 lers employ projected-capacitance sensing and can track two contacts.
21 - azoteq,iqs7210a
22 - azoteq,iqs7211a
23 - azoteq,iqs7211e
28 irq-gpios:
[all …]
Dimx6ul_tsc.txt1 * Freescale i.MX6UL Touch Controller
4 - compatible: must be "fsl,imx6ul-tsc".
5 - reg: this touch controller address and the ADC2 address.
6 - interrupts: the interrupt of this touch controller and ADC2.
7 - clocks: the root clock of touch controller and ADC2.
8 - clock-names; must be "tsc" and "adc".
9 - xnur-gpio: the X- gpio this controller connect to.
10 This xnur-gpio returns to low once the finger leave the touch screen (The
11 last touch event the touch controller capture).
14 - measure-delay-time: the value of measure delay time.
[all …]
Dbu21013.txt1 * Rohm BU21013 Touch Screen
4 - compatible : "rohm,bu21013_tp"
5 - reg : I2C device address
6 - reset-gpios : GPIO pin enabling (selecting) chip (CS)
7 - interrupt-parent : the phandle for the gpio controller
8 - interrupts : (gpio) interrupt to which the chip is connected
11 - touch-gpios : GPIO pin registering a touch event
12 - <supply_name>-supply : Phandle to a regulator supply
13 - touchscreen-size-x : General touchscreen binding, see [1].
14 - touchscreen-size-y : General touchscreen binding, see [1].
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
Diqs269a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Azoteq IQS269A Capacitive Touch Controller
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
28 "#address-cells":
31 "#size-cells":
34 azoteq,hall-enable:
[all …]
Dazoteq,iqs7222.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Azoteq IQS7222A/B/C/D Capacitive Touch Controller
10 - Jeff LaBundy <jeff@labundy.com>
14 capacitive touch controllers that feature additional sensing capabilities.
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
[all …]
Diqs626a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Azoteq IQS626A Capacitive Touch Controller
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
19 - $ref: touchscreen/touchscreen.yaml#
31 "#address-cells":
34 "#size-cells":
[all …]
Diqs62x-keys.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 - $ref: input.yaml#
16 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors
17 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens-
23 further details and examples. Sensor hardware configuration (self-capacitive
24 vs. mutual-inductive, etc.) is selected based on the device's firmware.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Diqs269a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Azoteq IQS269A Capacitive Touch Controller
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
28 "#address-cells":
31 "#size-cells":
34 azoteq,hall-enable:
[all …]
Diqs62x-keys.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors
14 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens-
20 further details and examples. Sensor hardware configuration (self-capacitive
21 vs. mutual-inductive, etc.) is selected based on the device's firmware.
26 - azoteq,iqs620a-keys
[all …]
/kernel/linux/linux-6.6/include/xen/interface/io/
Dkbdif.h1 /* SPDX-License-Identifier: MIT */
3 * kbdif.h -- Xen virtual keyboard/mouse
17 * The two halves of a para-virtual driver utilize nodes within
31 *---------------------------- Features supported ----------------------------
37 * feature-disable-keyboard
43 * feature-disable-pointer
49 * feature-abs-pointer
55 * feature-multi-touch
58 * Backends, which support reporting of multi-touch events
61 * feature-raw-pointer
[all …]
/kernel/linux/linux-5.10/include/xen/interface/io/
Dkbdif.h2 * kbdif.h -- Xen virtual keyboard/mouse
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
34 * The two halves of a para-virtual driver utilize nodes within
48 *---------------------------- Features supported ----------------------------
54 * feature-disable-keyboard
60 * feature-disable-pointer
66 * feature-abs-pointer
72 * feature-multi-touch
75 * Backends, which support reporting of multi-touch events
78 * feature-raw-pointer
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/
Dimx6ul_tsc.txt1 * Freescale i.MX6UL Touch Controller
4 - compatible: must be "fsl,imx6ul-tsc".
5 - reg: this touch controller address and the ADC2 address.
6 - interrupts: the interrupt of this touch controller and ADC2.
7 - clocks: the root clock of touch controller and ADC2.
8 - clock-names; must be "tsc" and "adc".
9 - xnur-gpio: the X- gpio this controller connect to.
10 This xnur-gpio returns to low once the finger leave the touch screen (The
11 last touch event the touch controller capture).
14 - measure-delay-time: the value of measure delay time.
[all …]
Dbu21013.txt1 * Rohm BU21013 Touch Screen
4 - compatible : "rohm,bu21013_tp"
5 - reg : I2C device address
6 - reset-gpios : GPIO pin enabling (selecting) chip (CS)
7 - interrupt-parent : the phandle for the gpio controller
8 - interrupts : (gpio) interrupt to which the chip is connected
11 - touch-gpios : GPIO pin registering a touch event
12 - <supply_name>-supply : Phandle to a regulator supply
13 - touchscreen-size-x : General touchscreen binding, see [1].
14 - touchscreen-size-y : General touchscreen binding, see [1].
[all …]
Dst,stmfts.txt1 * ST-Microelectronics FingerTip touchscreen controller
3 The ST-Microelectronics FingerTip device provides a basic touchscreen
7 The driver supports also hovering as an absolute single touch event with x, y, z
11 - compatible : must be "st,stmfts"
12 - reg : I2C slave address, (e.g. 0x49)
13 - interrupts : interrupt specification
14 - avdd-supply : analogic power supply
15 - vdd-supply : power supply
16 - touchscreen-size-x : see touchscreen.txt
17 - touchscreen-size-y : see touchscreen.txt
[all …]
/kernel/linux/linux-5.10/tools/perf/tests/shell/
Dtest_arm_coresight.sh9 # SPDX-License-Identifier: GPL-2.0
16 perf list | grep -q 'cs_etm//' && return 0
18 # cs_etm event doesn't exist
26 rm -f ${perfdata}
27 rm -f ${file}
34 rm -f $file
35 perf record -o ${perfdata} -e cs_etm/@$1/u --per-thread \
36 -- taskset -c $2 touch $file
43 …# touch 6512 1 branches:u: ffffb220824c strcmp+0xc (/lib/aarch64-linux-gn…
44 …# touch 6512 1 branches:u: ffffb22082e0 strcmp+0xa0 (/lib/aarch64-linux-g…
[all …]
/kernel/linux/linux-6.6/tools/perf/tests/shell/
Dtest_arm_coresight.sh9 # SPDX-License-Identifier: GPL-2.0
15 perf list | grep -q 'cs_etm//' && return 0
17 # cs_etm event doesn't exist
28 rm -f ${perfdata}
29 rm -f ${file}
30 rm -f "${perfdata}.old"
31 trap - EXIT TERM INT
39 rm -f $file
40 perf record -o ${perfdata} -e cs_etm/@$1/u --per-thread \
41 -- taskset -c $2 touch $file > /dev/null 2>&1
[all …]

12345678910>>...32