Home
last modified time | relevance | path

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

/linux/drivers/input/mouse/
H A Dcypress_ps2.c216 cytp->tp_max_abs_y = CYTP_ABS_MAX_Y; in cypress_read_tp_metrics()
220 cytp->tp_res_y = cytp->tp_max_abs_y / cytp->tp_high; in cypress_read_tp_metrics()
229 cytp->tp_max_abs_y = (param[3] << 8) | param[2]; in cypress_read_tp_metrics()
239 !cytp->tp_max_abs_y || in cypress_read_tp_metrics()
240 cytp->tp_max_abs_y < cytp->tp_high) in cypress_read_tp_metrics()
244 cytp->tp_res_y = cytp->tp_max_abs_y / cytp->tp_high; in cypress_read_tp_metrics()
251 psmouse_dbg(psmouse, "cytp->tp_max_abs_y = %d\n", cytp->tp_max_abs_y); in cypress_read_tp_metrics()
336 input_set_abs_params(input, ABS_Y, 0, cytp->tp_max_abs_y, 0, 0); in cypress_set_input_params()
343 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, cytp->tp_max_abs_y, 0, 0); in cypress_set_input_params()
H A Dcypress_ps2.h158 int tp_max_abs_y; /* Max Y absolute units that can be reported. */ member