Lines Matching +full:trackpad +full:- +full:3 +full:x
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. */
38 #define CYTP_BIT_ABS_PRESSURE (1 << 3)
56 #define SCROLL_WIDTH_WIDE 3
67 #define CYTP_PS2_CMD_TRIES 3
119 /* bits of first byte response of E9h-Status Request command. */
131 int x; member
136 /* The structure of Cypress Trackpad event data. */
143 unsigned int tap:1; /* multi-finger tap detected. */
146 /* The structure of Cypress Trackpad device private data. */
155 int tp_width; /* X direction physical size in mm. */
157 int tp_max_abs_x; /* Max X absolute units that can be reported. */
160 int tp_res_x; /* X resolution in units/mm. */