Home
last modified time | relevance | path

Searched +full:touch +full:- +full:max +full:- +full:y (Results 1 – 25 of 121) sorted by relevance

12345

/linux/Documentation/input/
H A 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
30 --------------
34 packet. Since these events are ignored by current single-touch (ST)
48 All drivers mark the end of a multi-touch transfer by calling the usual
67 the ABS_MT_TRACKING_ID of the associated slot. A non-negative tracking id
68 is interpreted as a contact, and the value -1 denotes an unused slot. A
[all …]
/linux/drivers/hid/
H A Dhid-udraw-ps3.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include "hid-ids.h"
21 * https://vvvv.org/contribution/udraw-hid
26 * - the touch area which works as a touchpad
27 * - the tablet area which works as a touchpad/drawing tablet
28 * - a joypad with a d-pad, and 7 buttons
29 * - an accelerometer device
46 * Accelerometer min/max values
47 * in order, X, Y and Z
51 int max; member
[all …]
H A Dhid-ntrig.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * HID driver for N-Trig touchscreens
5 * Copyright (c) 2008-2010 Rafi Rubin
6 * Copyright (c) 2009-2010 Stephane Chatty
19 #include "hid-ids.h"
25 MODULE_PARM_DESC(min_width, "Minimum touch contact width to accept.");
29 MODULE_PARM_DESC(min_height, "Minimum touch contact height to accept.");
33 MODULE_PARM_DESC(activate_slack, "Number of touch frames to ignore at "
34 "the start of touch input.");
39 "deactivating touch.");
[all …]
H A Dhid-magicmouse.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 #include "hid-ids.h"
27 static int middle_button_start = -350;
39 return -EINVAL; in param_set_scroll_speed()
52 MODULE_PARM_DESC(report_undeciphered, "Report undeciphered multi-touch state field using a MSC_RAW …
66 * 0x03 seem to indicate the aspect ratio of the touch, bits 0x70 seem
67 * to be some kind of bit mask -- 0x20 may be a near-field reading,
76 /* Number of high-resolution events for each low-resolution detent. */
82 /* Touch surface information. Dimension is in hundredths of a mm, min and max
85 #define MOUSE_MIN_X -1100
[all …]
H A Dhid-multitouch.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2010-2012 Stephane Chatty <chatty@enac.fr>
6 * Copyright (c) 2010-2013 Benjamin Tissoires <benjamin.tissoires@gmail.com>
7 * Copyright (c) 2010-2012 Ecole Nationale de l'Aviation Civile, France
8 * Copyright (c) 2012-2013 Red Hat, Inc
10 * This code is partly based on hid-egalax.c:
16 * This code is partly based on hid-3m-pct.c:
18 * Copyright (c) 2009-2010 Stephane Chatty <chatty@enac.fr>
27 * This driver is regularly tested thanks to the test suite in hid-tools[1].
31 * [1] https://gitlab.freedesktop.org/libevdev/hid-tools
[all …]
/linux/arch/arm/boot/dts/st/
H A Dste-href-stuib.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include <dt-bindings/interrupt-controller/irq.h>
10 compatible = "gpio-keys";
11 #address-cells = <1>;
12 #size-cells = <0>;
13 vdd-supply = <&ab8500_ldo_aux1_reg>;
14 pinctrl-names = "default";
15 pinctrl-0 = <&prox_stuib_mode>, <&hall_stuib_mode>;
33 stmpe1601: port-expander@40 {
[all …]
/linux/Documentation/devicetree/bindings/input/
H A 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 …]
/linux/drivers/input/touchscreen/
H A Dbu21013_ts.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2010
4 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson
140 * struct bu21013_ts - touch panel data structure
144 * @regulator: pointer to the Regulator used for touch screen
146 * @int_gpiod: touch interrupt GPIO line
148 * @touch_y_max: maximum Y coordinate reported by the device
151 * @y_flip: indicates that the driver should invert Y coordinate before
153 * @touch_stopped: touch stop flag
155 * Touch panel device data structure
[all …]
H A Dmms114.c1 // SPDX-License-Identifier: GPL-2.0
50 /* Touch type */
93 struct i2c_client *client = data->client; in __mms114_read_reg()
102 xfer[0].addr = client->addr; in __mms114_read_reg()
103 xfer[0].flags = client->flags & I2C_M_TEN; in __mms114_read_reg()
108 xfer[1].addr = client->addr; in __mms114_read_reg()
109 xfer[1].flags = (client->flags & I2C_M_TEN) | I2C_M_RD; in __mms114_read_reg()
113 error = i2c_transfer(client->adapter, xfer, 2); in __mms114_read_reg()
115 dev_err(&client->dev, in __mms114_read_reg()
117 return error < 0 ? error : -EIO; in __mms114_read_reg()
[all …]
H A Dpixcir_i2c_ts.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2010-2011 Pixcir, Inc.
20 #define PIXCIR_MAX_SLOTS 5 /* Max fingers supported by driver */
30 * active: max scan speed
31 * idle: lower scan speed with automatic transition to active on touch
49 * level on touch: interrupt level asserted during touch
50 * pulse on touch: interrupt pulse asserted during touch
65 * struct pixcir_i2c_chip_data - chip related data
66 * @max_fingers: Max number of fingers reported simultaneously by h/w
99 u8 touch; in pixcir_ts_parse() local
[all …]
H A Dstmpe-ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
46 #define STMPE_TS_NAME "stmpe-ts"
50 * struct stmpe_touch - stmpe811 touch screen controller state
57 * (0 -> 1 sample, 1 -> 2 samples, 2 -> 4 samples, 3 -> 8 samples)
58 * @touch_det_delay: Touch detect interrupt delay
59 * (0 -> 10 us, 1 -> 50 us, 2 -> 100 us, 3 -> 500 us,
60 * 4-> 1 ms, 5 -> 5 ms, 6 -> 10 ms, 7 -> 50 ms)
63 * (0 -> 10 us, 1 -> 100 us, 2 -> 500 us, 3 -> 1 ms,
64 * 4 -> 5 ms, 5 -> 10 ms, 6 for 50 ms, 7 -> 100 ms)
70 * (0 -> 20 mA typical 35 mA max, 1 -> 50 mA typical 80 mA max)
[all …]
H A Dnovatek-nvt-ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * on the Acer Iconia One 7 B1-750 tablet.
70 .addr = client->addr, in nvt_ts_read_data()
75 .addr = client->addr, in nvt_ts_read_data()
83 ret = i2c_transfer(client->adapter, msg, ARRAY_SIZE(msg)); in nvt_ts_read_data()
85 dev_err(&client->dev, "Error reading from 0x%02x: %d\n", reg, ret); in nvt_ts_read_data()
86 return (ret < 0) ? ret : -EIO; in nvt_ts_read_data()
95 struct device *dev = &data->client->dev; in nvt_ts_irq()
96 int i, error, slot, x, y; in nvt_ts_irq() local
98 u8 *touch; in nvt_ts_irq() local
[all …]
H A Dusbtouchscreen.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * - eGalax Touchkit
6 * includes eTurboTouch CT-410/510/700
7 * - 3M/Microtouch EX II series
8 * - ITM
9 * - PanJit TouchSet
10 * - eTurboTouch
11 * - Gunze AHL61
12 * - DMC TSC-10/25
13 * - IRTOUCHSYSTEMS/UNITOP
[all …]
H A Dilitek_ts_i2c.c1 // SPDX-License-Identifier: GPL-2.0
3 * ILITEK Touch IC driver for 23XX, 25XX and Lego series
98 struct i2c_client *client = ts->client; in ilitek_i2c_write_and_read()
101 .addr = client->addr, in ilitek_i2c_write_and_read()
107 .addr = client->addr, in ilitek_i2c_write_and_read()
115 error = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in ilitek_i2c_write_and_read()
120 error = i2c_transfer(client->adapter, msgs, 1); in ilitek_i2c_write_and_read()
128 error = i2c_transfer(client->adapter, msgs + 1, 1); in ilitek_i2c_write_and_read()
139 unsigned int x, unsigned int y) in ilitek_touch_down() argument
141 struct input_dev *input = ts->input_dev; in ilitek_touch_down()
[all …]
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dcypress,cy8ctma340.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
14 - Javier Martinez Canillas <javier@dowhile0.org>
15 - Linus Walleij <linus.walleij@linaro.org>
18 - $ref: touchscreen.yaml#
26 - const: cypress,cy8ctma340
27 - const: cypress,cy8ctst341
28 - const: cypress,cyttsp-spi
31 - const: cypress,cyttsp-i2c
[all …]
H A 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 …]
H A Dbu21029.txt1 * Rohm BU21029 Touch Screen Controller
4 - compatible : must be "rohm,bu21029"
5 - reg : i2c device address of the chip (0x40 or 0x41)
6 - interrupt-parent : the phandle for the gpio controller
7 - interrupts : (gpio) interrupt to which the chip is connected
8 - rohm,x-plate-ohms : x-plate resistance in Ohm
11 - reset-gpios : gpio pin to reset the chip (active low)
12 - touchscreen-size-x : horizontal resolution of touchscreen (in pixels)
13 - touchscreen-size-y : vertical resolution of touchscreen (in pixels)
14 - touchscreen-max-pressure: maximum pressure value
[all …]
H A Dmelfas,mms114.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 - $ref: touchscreen.yaml#
21 - enum:
22 - melfas,mms114
23 - melfas,mms134s
24 - melfas,mms136
25 - melfas,mms152
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6dl-plym2m.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/leds/common.h>
17 stdout-path = &uart4;
21 compatible = "pwm-backlight";
23 brightness-levels = <0 1000>;
24 num-interpolated-steps = <20>;
25 default-brightness-level = <19>;
26 power-supply = <&reg_12v0>;
[all …]
H A Dimx6dl-victgo.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 /dts-v1/;
9 #include "imx6qdl-vicut1.dtsi"
15 gpio-keys {
16 compatible = "gpio-keys";
17 pinctrl-names = "default";
18 pinctrl-0 = <&pinctrl_gpiokeys>;
21 key-power {
25 wakeup-source;
28 key-enter {
[all …]
H A Dimx6qdl-skov-cpu-revc.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 compatible = "resistive-adc-touch";
8 io-channels = <&adc_ts 1>, <&adc_ts 3>, <&adc_ts 4>, <&adc_ts 5>;
9 io-channel-names = "y", "z1", "z2", "x";
10 touchscreen-min-pressure = <65000>;
11 touchscreen-inverted-y;
12 touchscreen-swapped-x-y;
13 touchscreen-x-plate-ohms = <300>;
14 touchscreen-y-plate-ohms = <800>;
19 pinctrl-names = "default";
[all …]
/linux/drivers/input/
H A Dmousedev.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 1999-2002 Vojtech Pavlik
53 int x, y; member
76 unsigned long touch; member
119 #define fx(i) (mousedev->old_x[(mousedev->pkt_count - (i)) & 03])
120 #define fy(i) (mousedev->old_y[(mousedev->pkt_count - (i)) & 03])
134 if (mousedev->touch && mousedev->pkt_count >= 2) { in mousedev_touchpad_event()
135 size = input_abs_get_max(dev, ABS_X) - in mousedev_touchpad_event()
140 tmp = ((value - fx(2)) * 256 * FRACTION_DENOM) / size; in mousedev_touchpad_event()
141 tmp += mousedev->frac_dx; in mousedev_touchpad_event()
[all …]
/linux/tools/testing/selftests/wireguard/qemu/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
13 CBUILD := $(shell gcc -dumpmachine)
14 HOST_ARCH := $(firstword $(subst -, ,$(CBUILD)))
19 MIRROR := https://download.wireguard.com/qemu-test/distfiles/
21 KERNEL_BUILD_PATH := $(BUILD_PATH)/kernel$(if $(findstring yes,$(DEBUG_KERNEL)),-debug)
28 $(1)_NAME := $(2)-$$($(1)_VERSION)
36 mkdir -
[all...]
/linux/include/linux/spi/
H A Dads7846.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 bool swap_xy; /* swap x and y axes */
14 * capacitance on the X/Y drivers. If set to non-zero, two samples
20 /* If set to non-zero, after samples are taken this delay is applied
22 * is affected by the material used to build the touch layer.
33 u16 debounce_max; /* max number of additional readings
/linux/drivers/iio/adc/
H A Dat91_adc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
40 #define AT91_ADC_TSAMOD_TS_ONLY_MODE (1 << 0) /* Touch Screen Only Mode */
103 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */
106 #define AT91_ADC_TSMR_TSMODE (3 << 0) /* Touch Screen Mode */
137 (st->registers->channel_base + (ch * 4))
139 (readl_relaxed(st->reg_base + reg))
141 (writel_relaxed(val, st->reg_base + reg))
161 * struct at91_adc_trigger - description of triggers
174 * struct at91_adc_reg_desc - Various informations relative to registers
193 bool has_ts; /* Support touch screen */
[all …]

12345