Home
last modified time | relevance | path

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

/linux/drivers/input/mouse/
H A Dcypress_ps2.c215 cytp->tp_max_abs_x = CYTP_ABS_MAX_X; in cypress_read_tp_metrics()
219 cytp->tp_res_x = cytp->tp_max_abs_x / cytp->tp_width; in cypress_read_tp_metrics()
228 cytp->tp_max_abs_x = (param[1] << 8) | param[0]; in cypress_read_tp_metrics()
237 !cytp->tp_max_abs_x || in cypress_read_tp_metrics()
238 cytp->tp_max_abs_x < cytp->tp_width || in cypress_read_tp_metrics()
243 cytp->tp_res_x = cytp->tp_max_abs_x / cytp->tp_width; in cypress_read_tp_metrics()
250 psmouse_dbg(psmouse, "cytp->tp_max_abs_x = %d\n", cytp->tp_max_abs_x); in cypress_read_tp_metrics()
335 input_set_abs_params(input, ABS_X, 0, cytp->tp_max_abs_x, 0, 0); in cypress_set_input_params()
342 input_set_abs_params(input, ABS_MT_POSITION_X, 0, cytp->tp_max_abs_x, 0, 0); in cypress_set_input_params()
H A Dcypress_ps2.h157 int tp_max_abs_x; /* Max X absolute units that can be reported. */ member