Home
last modified time | relevance | path

Searched refs:tp_max_abs_y (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/input/mouse/
Dcypress_ps2.c261 cytp->tp_max_abs_y = CYTP_ABS_MAX_Y; in cypress_read_tp_metrics()
265 cytp->tp_res_y = cytp->tp_max_abs_y / cytp->tp_high; in cypress_read_tp_metrics()
274 cytp->tp_max_abs_y = (param[3] << 8) | param[2]; in cypress_read_tp_metrics()
284 !cytp->tp_max_abs_y || in cypress_read_tp_metrics()
285 cytp->tp_max_abs_y < cytp->tp_high) in cypress_read_tp_metrics()
289 cytp->tp_res_y = cytp->tp_max_abs_y / cytp->tp_high; in cypress_read_tp_metrics()
296 psmouse_dbg(psmouse, "cytp->tp_max_abs_y = %d\n", cytp->tp_max_abs_y); in cypress_read_tp_metrics()
378 input_set_abs_params(input, ABS_Y, 0, cytp->tp_max_abs_y, 0, 0); in cypress_set_input_params()
385 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, cytp->tp_max_abs_y, 0, 0); in cypress_set_input_params()
Dcypress_ps2.h164 int tp_max_abs_y; /* Max Y absolute units that can be reported. */ member