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 …]
|