Lines Matching refs:x_max
1000 unsigned int *x_max, unsigned int *y_max, in elantech_set_range() argument
1011 *x_max = ETP_XMAX_V1; in elantech_set_range()
1021 *x_max = ETP_XMAX_V2; in elantech_set_range()
1039 *x_max = (etd->capabilities[1] - i) * param[1] / 2; in elantech_set_range()
1042 *x_max = 819; in elantech_set_range()
1045 *x_max = 900; in elantech_set_range()
1048 *x_max = (etd->capabilities[1] - i) * 64; in elantech_set_range()
1058 *x_max = (0x0f & param[0]) << 8 | param[1]; in elantech_set_range()
1066 *x_max = (0x0f & param[0]) << 8 | param[1]; in elantech_set_range()
1069 if ((traces < 2) || (traces > *x_max)) in elantech_set_range()
1072 *width = *x_max / (traces - 1); in elantech_set_range()
1183 unsigned int x_min = 0, y_min = 0, x_max = 0, y_max = 0, width = 0; in elantech_set_input_params() local
1186 if (elantech_set_range(psmouse, &x_min, &y_min, &x_max, &y_max, &width)) in elantech_set_input_params()
1212 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1223 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1232 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1247 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1259 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0); in elantech_set_input_params()