Home
last modified time | relevance | path

Searched +full:trackpad +full:- +full:3 +full:x (Results 1 – 25 of 57) sorted by relevance

123

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
Diqs626a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
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":
37 azoteq,suspend-mode:
[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#
10 - Jeff LaBundy <jeff@labundy.com>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
29 irq-gpios:
32 Specifies the GPIO connected to the device's active-low RDY output.
[all …]
/kernel/linux/linux-6.6/drivers/input/mouse/
Dcypress_ps2.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Cypress Trackpad PS/2 mouse driver
31 struct cytp_data *cytp = psmouse->private; in cypress_set_packet_size()
32 cytp->pkt_size = n; in cypress_set_packet_size()
40 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_sendbyte()
44 "sending command 0x%02x failed, resp 0x%02x\n", in cypress_ps2_sendbyte()
45 value & 0xff, ps2dev->nak); in cypress_ps2_sendbyte()
46 if (ps2dev->nak == CYTP_PS2_RETRY) in cypress_ps2_sendbyte()
53 psmouse_dbg(psmouse, "sending command 0x%02x succeeded, resp 0xfa\n", in cypress_ps2_sendbyte()
63 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_ext_cmd()
[all …]
Dcypress_ps2.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 #define COMPOSIT(x, s) (((x) & CMD_BITS_MASK) << (s)) argument
27 #define CYTP_CMD_SET_MOUSE_SENSITIVITY(s) ENCODE_CMD(1, 3, ((s) >> 2), (s))
28 #define CYTP_CMD_MOUSE_SENSITIVITY_MASK ENCODE_CMD(1, 3, 0, 0)
30 #define CYTP_CMD_REQUEST_RECALIBRATION ENCODE_CMD(2, 0, 0, 3)
32 #define DECODE_CMD_AA(x) (((x) >> 6) & CMD_BITS_MASK) argument
33 #define DECODE_CMD_BB(x) (((x) >> 4) & CMD_BITS_MASK) argument
34 #define DECODE_CMD_CC(x) (((x) >> 2) & CMD_BITS_MASK) argument
35 #define DECODE_CMD_DD(x) ((x) & CMD_BITS_MASK) argument
37 /* Cypress trackpad working mode. */
[all …]
Dcyapa.h2 * Cypress APA trackpad with I2C interface
6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc.
18 /* APA trackpad firmware generation number. */
20 #define CYAPA_GEN3 0x03 /* support MT-protocol B with tracking ID. */
21 #define CYAPA_GEN5 0x05 /* support TrueTouch GEN5 trackpad device. */
22 #define CYAPA_GEN6 0x06 /* support TrueTouch GEN6 trackpad device. */
24 #define CYAPA_NAME "Cypress APA Trackpad (cyapa)"
36 /* Commands for read/write registers of Cypress trackpad */
56 #define BL_STATUS_SIZE 3 /* Length of gen3 bootloader status registers */
63 * bit 6 - 4: Reserved
[all …]
Dbcm5974.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Scott Shawcroft as part of the touchd user-space driver project:
13 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
16 * Copyright (C) 2005 Frank Arnold (frank@scirocco-5v-turbo.de)
18 * Copyright (C) 2005 Michael Hanselmann (linux-kernel@hansmi.ch)
170 u8 rel_x; /* relative x coordinate */
174 /* trackpad header types */
176 TYPE1, /* plain trackpad */
177 TYPE2, /* button integrated in trackpad */
182 /* trackpad finger data offsets, le16-aligned */
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
25 includes the standard 2 or 3-button PS/2 mouse, as well as PS/2
99 Say Y here if you have a Cypress PS/2 Trackpad connected to
109 Say Y here if you have a Fujitsu B-series Lifebook PS/2
171 Say Y here if you have an OLPC XO-1 laptop (with built-in
193 this option, you remove the xf86-input-vmmouse user-space driver
194 or upgrade it to at least xf86-input-vmmouse 13.1.0, which doesn't
195 load in the presence of an in-kernel vmmouse driver.
207 Say Y here if you have a serial (RS-232, COM port) mouse connected
223 These are the touchpads that can be found on post-February 2005
[all …]
Dcyapa_gen5.c2 * Cypress APA trackpad with I2C interface
6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc.
21 #include <linux/crc-itu-t.h>
33 #define CYAPA_TSG_IMG_MAX_RECORDS (CYAPA_TSG_IMG_END_ROW_NUM - \
82 #define RECORD_EVENT_LIFTOFF 3
141 * Bit 7 - 3: reserved
142 * Bit 2 - 0: touch type;
146 * 3 - 15 : reserved.
154 * Bit 6 - 5: indicates an event associated with this touch instance
158 * 3 : liftoff (record reports last known coordinates)
[all …]
Dcyapa_gen6.c2 * Cypress APA trackpad with I2C interface
21 #include <linux/crc-itu-t.h>
105 return error ? error : -EIO; in cyapa_get_pip_fixed_info()
107 pip_info->family_id = resp_data[8]; in cyapa_get_pip_fixed_info()
108 pip_info->silicon_id_low = resp_data[10]; in cyapa_get_pip_fixed_info()
109 pip_info->silicon_id_high = resp_data[11]; in cyapa_get_pip_fixed_info()
121 return error ? error : -EIO; in cyapa_get_pip_fixed_info()
126 return -EINVAL; in cyapa_get_pip_fixed_info()
128 pip_info->family_id = resp_data[19]; in cyapa_get_pip_fixed_info()
129 pip_info->silicon_id_low = resp_data[21]; in cyapa_get_pip_fixed_info()
[all …]
Dcyapa.c2 * Cypress APA trackpad with I2C interface
9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc.
10 * Copyright (C) 2011-2012 Google, Inc.
36 #define CYAPA_ADAPTER_FUNC_BOTH 3
46 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_BL) in cyapa_is_pip_bl_mode()
49 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_BL) in cyapa_is_pip_bl_mode()
57 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_APP) in cyapa_is_pip_app_mode()
60 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_APP) in cyapa_is_pip_app_mode()
71 if (cyapa->gen == CYAPA_GEN3 && in cyapa_is_bootloader_mode()
72 cyapa->state >= CYAPA_STATE_BL_BUSY && in cyapa_is_bootloader_mode()
[all …]
/kernel/linux/linux-5.10/drivers/input/mouse/
Dcypress_ps2.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Cypress Trackpad PS/2 mouse driver
31 struct cytp_data *cytp = psmouse->private; in cypress_set_packet_size()
32 cytp->pkt_size = n; in cypress_set_packet_size()
40 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_sendbyte()
44 "sending command 0x%02x failed, resp 0x%02x\n", in cypress_ps2_sendbyte()
45 value & 0xff, ps2dev->nak); in cypress_ps2_sendbyte()
46 if (ps2dev->nak == CYTP_PS2_RETRY) in cypress_ps2_sendbyte()
53 psmouse_dbg(psmouse, "sending command 0x%02x succeeded, resp 0xfa\n", in cypress_ps2_sendbyte()
63 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_ext_cmd()
[all …]
Dcypress_ps2.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 #define COMPOSIT(x, s) (((x) & CMD_BITS_MASK) << (s)) argument
27 #define CYTP_CMD_SET_MOUSE_SENSITIVITY(s) ENCODE_CMD(1, 3, ((s) >> 2), (s))
28 #define CYTP_CMD_MOUSE_SENSITIVITY_MASK ENCODE_CMD(1, 3, 0, 0)
30 #define CYTP_CMD_REQUEST_RECALIBRATION ENCODE_CMD(2, 0, 0, 3)
32 #define DECODE_CMD_AA(x) (((x) >> 6) & CMD_BITS_MASK) argument
33 #define DECODE_CMD_BB(x) (((x) >> 4) & CMD_BITS_MASK) argument
34 #define DECODE_CMD_CC(x) (((x) >> 2) & CMD_BITS_MASK) argument
35 #define DECODE_CMD_DD(x) ((x) & CMD_BITS_MASK) argument
37 /* Cypress trackpad working mode. */
[all …]
Dcyapa.h2 * Cypress APA trackpad with I2C interface
6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc.
18 /* APA trackpad firmware generation number. */
20 #define CYAPA_GEN3 0x03 /* support MT-protocol B with tracking ID. */
21 #define CYAPA_GEN5 0x05 /* support TrueTouch GEN5 trackpad device. */
22 #define CYAPA_GEN6 0x06 /* support TrueTouch GEN6 trackpad device. */
24 #define CYAPA_NAME "Cypress APA Trackpad (cyapa)"
36 /* Commands for read/write registers of Cypress trackpad */
56 #define BL_STATUS_SIZE 3 /* Length of gen3 bootloader status registers */
63 * bit 6 - 4: Reserved
[all …]
Dbcm5974.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Scott Shawcroft as part of the touchd user-space driver project:
13 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
16 * Copyright (C) 2005 Frank Arnold (frank@scirocco-5v-turbo.de)
18 * Copyright (C) 2005 Michael Hanselmann (linux-kernel@hansmi.ch)
170 u8 rel_x; /* relative x coordinate */
174 /* trackpad header types */
176 TYPE1, /* plain trackpad */
177 TYPE2, /* button integrated in trackpad */
182 /* trackpad finger data offsets, le16-aligned */
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
25 includes the standard 2 or 3-button PS/2 mouse, as well as PS/2
99 Say Y here if you have a Cypress PS/2 Trackpad connected to
109 Say Y here if you have a Fujitsu B-series Lifebook PS/2
171 Say Y here if you have an OLPC XO-1 laptop (with built-in
193 this option, you remove the xf86-input-vmmouse user-space driver
194 or upgrade it to at least xf86-input-vmmouse 13.1.0, which doesn't
195 load in the presence of an in-kernel vmmouse driver.
207 Say Y here if you have a serial (RS-232, COM port) mouse connected
223 These are the touchpads that can be found on post-February 2005
[all …]
Dcyapa_gen5.c2 * Cypress APA trackpad with I2C interface
6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc.
21 #include <linux/crc-itu-t.h>
33 #define CYAPA_TSG_IMG_MAX_RECORDS (CYAPA_TSG_IMG_END_ROW_NUM - \
82 #define RECORD_EVENT_LIFTOFF 3
141 * Bit 7 - 3: reserved
142 * Bit 2 - 0: touch type;
146 * 3 - 15 : reserved.
154 * Bit 6 - 5: indicates an event associated with this touch instance
158 * 3 : liftoff (record reports last known coordinates)
[all …]
Dcyapa_gen6.c2 * Cypress APA trackpad with I2C interface
21 #include <linux/crc-itu-t.h>
105 return error ? error : -EIO; in cyapa_get_pip_fixed_info()
107 pip_info->family_id = resp_data[8]; in cyapa_get_pip_fixed_info()
108 pip_info->silicon_id_low = resp_data[10]; in cyapa_get_pip_fixed_info()
109 pip_info->silicon_id_high = resp_data[11]; in cyapa_get_pip_fixed_info()
121 return error ? error : -EIO; in cyapa_get_pip_fixed_info()
126 return -EINVAL; in cyapa_get_pip_fixed_info()
128 pip_info->family_id = resp_data[19]; in cyapa_get_pip_fixed_info()
129 pip_info->silicon_id_low = resp_data[21]; in cyapa_get_pip_fixed_info()
[all …]
Dcyapa.c2 * Cypress APA trackpad with I2C interface
9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc.
10 * Copyright (C) 2011-2012 Google, Inc.
36 #define CYAPA_ADAPTER_FUNC_BOTH 3
46 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_BL) in cyapa_is_pip_bl_mode()
49 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_BL) in cyapa_is_pip_bl_mode()
57 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_APP) in cyapa_is_pip_app_mode()
60 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_APP) in cyapa_is_pip_app_mode()
71 if (cyapa->gen == CYAPA_GEN3 && in cyapa_is_bootloader_mode()
72 cyapa->state >= CYAPA_STATE_BL_BUSY && in cyapa_is_bootloader_mode()
[all …]
Dcyapa_gen3.c2 * Cypress APA trackpad with I2C interface
9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc.
10 * Copyright (C) 2011-2012 Google, Inc.
28 #define GEN3_FINGER_NUM(x) (((x) >> 4) & 0x07) argument
59 * CYAPA trackpad device states.
60 * Used in register 0x00, bit1-0, DeviceStatus field.
87 * high bits or x/y position value
88 * bit 7 - 4: high 4 bits of x position value
89 * bit 3 - 0: high 4 bits of y position value
92 u8 x_lo; /* low 8 bits of x position value. */
[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#
7 title: Azoteq IQS7210A/7211A/E Trackpad/Touchscreen Controller
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
[all …]
/kernel/linux/linux-6.6/drivers/input/misc/
Diqs626a.c1 // SPDX-License-Identifier: GPL-2.0+
8 * inductive keys as well as Hall-effect switches, and one for a trackpad that
45 #define IQS626_SYS_SETTINGS_PWR_MODE_MAX 3
58 #define IQS626_MISC_A_ATI_LP_ONLY BIT(3)
63 #define IQS626_EVENT_MASK_GESTURE BIT(3)
76 #define IQS626_MISC_B_RESEED_UI_SEL_MAX 3
79 #define IQS626_MISC_B_TPx_SWIPE BIT(3)
90 #define IQS626_CHx_ENG_0_DUAL_DIR BIT(3)
93 #define IQS626_CHx_ENG_0_ATI_MODE_MAX 3
99 #define IQS626_CHx_ENG_1_PROJ_BIAS_MAX 3
[all …]
/kernel/linux/linux-6.6/drivers/platform/chrome/
Dchromeos_laptop.c1 // SPDX-License-Identifier: GPL-2.0+
85 const unsigned short addr_list[] = { info->addr, I2C_CLIENT_END }; in chromes_laptop_instantiate_i2c_device()
96 I2C_BOARD_INFO("dummy", info->addr), in chromes_laptop_instantiate_i2c_device()
106 pr_debug("%d-%02x is probed at %02x\n", in chromes_laptop_instantiate_i2c_device()
107 adapter->nr, info->addr, dummy->addr); in chromes_laptop_instantiate_i2c_device()
115 pr_debug("failed to register device %d-%02x\n", in chromes_laptop_instantiate_i2c_device()
116 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device()
118 pr_debug("added i2c device %d-%02x\n", in chromes_laptop_instantiate_i2c_device()
119 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device()
141 for (i = 0; i < cros_laptop->num_i2c_peripherals; i++) { in chromeos_laptop_check_adapter()
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dchromeos_laptop.c1 // SPDX-License-Identifier: GPL-2.0+
82 const unsigned short addr_list[] = { info->addr, I2C_CLIENT_END }; in chromes_laptop_instantiate_i2c_device()
93 I2C_BOARD_INFO("dummy", info->addr), in chromes_laptop_instantiate_i2c_device()
103 pr_debug("%d-%02x is probed at %02x\n", in chromes_laptop_instantiate_i2c_device()
104 adapter->nr, info->addr, dummy->addr); in chromes_laptop_instantiate_i2c_device()
112 pr_debug("failed to register device %d-%02x\n", in chromes_laptop_instantiate_i2c_device()
113 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device()
115 pr_debug("added i2c device %d-%02x\n", in chromes_laptop_instantiate_i2c_device()
116 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device()
138 for (i = 0; i < cros_laptop->num_i2c_peripherals; i++) { in chromeos_laptop_check_adapter()
[all …]
/kernel/linux/linux-6.6/drivers/hid/
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 * to be some kind of bit mask -- 0x20 may be a near-field reading,
75 /* Number of high-resolution events for each low-resolution detent. */
84 #define MOUSE_MIN_X -1100
86 #define MOUSE_RES_X ((MOUSE_MAX_X - MOUSE_MIN_X) / (MOUSE_DIMENSION_X / 100))
88 #define MOUSE_MIN_Y -1589
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-magicmouse.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 #include "hid-ids.h"
26 static int middle_button_start = -350;
38 return -EINVAL; in param_set_scroll_speed()
51 MODULE_PARM_DESC(report_undeciphered, "Report undeciphered multi-touch state field using a MSC_RAW …
60 * to be some kind of bit mask -- 0x20 may be a near-field reading,
74 #define MOUSE_MIN_X -1100
76 #define MOUSE_RES_X ((MOUSE_MAX_X - MOUSE_MIN_X) / (MOUSE_DIMENSION_X / 100))
78 #define MOUSE_MIN_Y -1589
80 #define MOUSE_RES_Y ((MOUSE_MAX_Y - MOUSE_MIN_Y) / (MOUSE_DIMENSION_Y / 100))
[all …]

123