| /linux/Documentation/devicetree/bindings/input/ |
| H A D | iqs626a.yaml | 1 # 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 …]
|
| H A D | azoteq,iqs7222.yaml | 1 # 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 …]
|
| /linux/drivers/input/mouse/ |
| H A D | cypress_ps2.c | 1 // 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() 46 "sending command 0x%02x failed, resp 0x%02x, error %d\n", in cypress_ps2_sendbyte() 47 cmd, ps2dev->nak, error); in cypress_ps2_sendbyte() 52 psmouse_dbg(psmouse, "sending command 0x%02x succeeded\n", cmd); in cypress_ps2_sendbyte() 60 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_ext_cmd() 73 if (rc == -EAGAIN) { in cypress_ps2_ext_cmd() [all …]
|
| H A D | cypress_ps2.h | 1 /* 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 …]
|
| H A D | cyapa.h | 2 * 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 …]
|
| H A D | bcm5974.c | 1 // 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 …]
|
| H A D | Kconfig | 1 # 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 …]
|
| H A D | cyapa_gen5.c | 2 * 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 …]
|
| H A D | cyapa_gen6.c | 2 * 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 …]
|
| H A D | cyapa_gen3.c | 2 * 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 …]
|
| H A D | trackpoint.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 * Power-on Reset: Resets all trackpoint parameters, including RAM values, 31 * Returns zero on success, non-zero on failure. 42 /* Check for success response -- 0xAA00 */ in trackpoint_power_on_reset() 44 return -ENODEV; in trackpoint_power_on_reset() 61 u8 param[3] = { TP_WRITE_MEM, loc, val }; in trackpoint_write() 63 return ps2_command(ps2dev, param, MAKE_PS2_CMD(3, 0, TP_COMMAND)); in trackpoint_write() 68 u8 param[3] = { TP_TOGGLE, loc, mask }; in trackpoint_toggle_bit() 72 return -EINVAL; in trackpoint_toggle_bit() 74 return ps2_command(ps2dev, param, MAKE_PS2_CMD(3, 0, TP_COMMAND)); in trackpoint_toggle_bit() [all …]
|
| H A D | appletouch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Apple USB Touchpad (for post-February 2005 PowerBooks and MacBooks) driver 5 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com) 6 * Copyright (C) 2005-2008 Johannes Berg (johannes@sipsolutions.net) 7 * Copyright (C) 2005-2008 Stelian Pop (stelian@popies.net) 8 * Copyright (C) 2005 Frank Arnold (frank@scirocco-5v-turbo.de) 10 * Copyright (C) 2005 Michael Hanselmann (linux-kernel@hansmi.ch) 12 * Copyright (C) 2007-2008 Sven Anders (anders@anduras.de) 26 * 0 <= x <= (xsensors - 1) * xfact 27 * 0 <= y <= (ysensors - 1) * yfact [all …]
|
| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | azoteq,iqs7211.yaml | 1 # 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 …]
|
| /linux/drivers/input/misc/ |
| H A D | iqs626a.c | 1 // 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 …]
|
| H A D | iqs7222.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 #define IQS7222_SYS_STATUS_RESET BIT(3) 71 #define IQS7222_MAX_COLS_CYCLE 3 72 #define IQS7222_MAX_COLS_GLBL 3 73 #define IQS7222_MAX_COLS_BTN 3 78 #define IQS7222_MAX_COLS_GPIO 3 116 [IQS7222_REG_GRP_CYCLE] = "cycle-%d", 117 [IQS7222_REG_GRP_CHAN] = "channel-%d", 118 [IQS7222_REG_GRP_SLDR] = "slider-%d", 119 [IQS7222_REG_GRP_TPAD] = "trackpad", [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-magicmouse.c | 1 // 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 … 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. */ 85 #define MOUSE_MIN_X -1100 87 #define MOUSE_RES_X ((MOUSE_MAX_X - MOUSE_MIN_X) / (MOUSE_DIMENSION_X / 100)) 89 #define MOUSE_MIN_Y -1589 [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 22 most commonly used to refer to the USB-HID specification, but other 27 removed from the HID bus by the transport-layer drivers, such as 58 to work on raw hid events when they want to, and avoid using transport-specific 64 tristate "User-space I/O driver support for HID subsystem" 67 Say Y here if you want to provide HID I/O Drivers from user-space. 68 This allows to write I/O drivers in user-space and feed the data from 71 user-space device. 73 This driver cannot be used to parse HID-reports in user-space and write 74 special HID-drivers. You should use hidraw for that. [all …]
|
| /linux/drivers/platform/chrome/ |
| H A D | chromeos_laptop.c | 1 // 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 …]
|
| /linux/drivers/macintosh/ |
| H A D | adbhid.c | 1 // SPDX-License-Identifier: GPL-2.0 19 * - Standard 1 button mouse 20 * - All standard Apple Extended protocol (handler ID 4) 21 * - mouseman and trackman mice & trackballs 22 * - PowerBook Trackpad (default setup: enable tapping) 23 * - MicroSpeed mouse & trackball (needs testing) 24 * - CH Products Trackball Pro (needs testing) 25 * - Contour Design (Contour Mouse) 26 * - Hunter digital (NoHandsMouse) 27 * - Kensignton TurboMouse 5 (needs testing) [all …]
|
| H A D | adb.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * - /sys/bus/adb to list the devices and infos 15 * - more /dev/adb to allow userland to receive the 16 * flow of auto-polling datas from a given device. 17 * - move bus probe to a kernel thread 119 printk("adb reply (%d)", req->reply_len); 120 for(i = 0; i < req->reply_len; i++) 121 printk(" %x", req->reply[i]); 151 * Send a "talk register 3" command to address i in adb_scan_bus() 162 adb_request(&req, NULL, ADBREQ_SYNC, 3, in adb_scan_bus() [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | iqs7211.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Azoteq IQS7210A/7211A/E Trackpad/Touchscreen Controller 52 * The following delay is used during instances that must wait for the open- 98 [IQS7211_REG_GRP_TP] = "trackpad", 124 .name = "event-prox", 131 .name = "event-touch", 132 .mask = BIT(3), 138 .name = "event-tap", 145 .name = "event-hold", 152 .name = "event-swipe-x-neg", [all …]
|
| H A D | iqs5xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Azoteq IQS550/572/525 Trackpad/Touchscreen Controller 7 * These devices require firmware exported from a PC-based configuration tool 11 * Link to PC-based configuration tool and datasheet: https://www.azoteq.com/ 48 #define IQS5XX_ALP_REATI BIT(3) 70 #define IQS5XX_CHKSM_LEN (IQS5XX_APP - IQS5XX_CHKSM) 71 #define IQS5XX_APP_LEN (IQS5XX_CSTM - IQS5XX_APP) 72 #define IQS5XX_CSTM_LEN (IQS5XX_PMAP_END + 1 - IQS5XX_CSTM) 73 #define IQS5XX_PMAP_LEN (IQS5XX_PMAP_END + 1 - IQS5XX_CHKSM) 90 #define IQS5XX_BL_ATTEMPTS 3 [all …]
|
| /linux/arch/arm/include/asm/hardware/ |
| H A D | sa1111.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * This file contains definitions for the SA-1111 Companion Chip. 8 * (Structure and naming borrowed from SA-1101.h, by Peter Danielsson.) 10 * Macro that calculates real address for registers in the SA-1111 37 #define SKCR_DOZE (1<<3) 50 * - The October 1999 errata (278260-007) says its bit 13, 1 to enable. 51 * - The Feb 2001 errata (278260-010) says that the previous errata 52 * (278260-009) is wrong, and its bit actually 12, fixed in spec 53 * 278242-003. 54 * - The SA1111 manual (278242) says bit 12, but 0 to enable. [all …]
|
| /linux/include/dt-bindings/input/ |
| H A D | linux-event-codes.h | 1 /* 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 61 #define SYN_DROPPED 3 71 * AC - Applicatio [all...] |
| /linux/include/uapi/linux/ |
| H A D | input-event-codes.h | 1 /* 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 61 #define SYN_DROPPED 3 71 * AC - Application Control 72 * AL - Application Launch Button 73 * SC - System Control 79 #define KEY_2 3 308 outputs (Monitor/LCD/TV-out/etc) */ 411 #define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */ [all …]
|