Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/input/mouse/
Dcypress_ps2.c257 cytp->tp_max_abs_x = CYTP_ABS_MAX_X; in cypress_read_tp_metrics()
261 cytp->tp_res_x = cytp->tp_max_abs_x / cytp->tp_width; in cypress_read_tp_metrics()
270 cytp->tp_max_abs_x = (param[1] << 8) | param[0]; in cypress_read_tp_metrics()
279 !cytp->tp_max_abs_x || in cypress_read_tp_metrics()
280 cytp->tp_max_abs_x < cytp->tp_width || in cypress_read_tp_metrics()
285 cytp->tp_res_x = cytp->tp_max_abs_x / cytp->tp_width; in cypress_read_tp_metrics()
292 psmouse_dbg(psmouse, "cytp->tp_max_abs_x = %d\n", cytp->tp_max_abs_x); in cypress_read_tp_metrics()
374 input_set_abs_params(input, ABS_X, 0, cytp->tp_max_abs_x, 0, 0); in cypress_set_input_params()
381 input_set_abs_params(input, ABS_MT_POSITION_X, 0, cytp->tp_max_abs_x, 0, 0); in cypress_set_input_params()
Dcypress_ps2.h163 int tp_max_abs_x; /* Max X absolute units that can be reported. */ member