Lines Matching refs:x_max
1170 x_max = info->x_max, y_max = info->y_max, in elantech_set_input_params() local
1196 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1207 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1216 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1224 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1236 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1788 info->x_max = ETP_XMAX_V1; in elantech_query_info()
1798 info->x_max = ETP_XMAX_V2; in elantech_query_info()
1816 info->x_max = (info->capabilities[1] - i) * param[1] / 2; in elantech_query_info()
1819 info->x_max = 819; in elantech_query_info()
1822 info->x_max = 900; in elantech_query_info()
1825 info->x_max = (info->capabilities[1] - i) * 64; in elantech_query_info()
1835 info->x_max = (0x0f & param[0]) << 8 | param[1]; in elantech_query_info()
1843 info->x_max = (0x0f & param[0]) << 8 | param[1]; in elantech_query_info()
1846 if ((traces < 2) || (traces > info->x_max)) in elantech_query_info()
1849 info->width = info->x_max / (traces - 1); in elantech_query_info()
1908 info->x_max + 1); in elantech_create_smbus()
1917 (info->x_max + 1) / info->x_res); in elantech_create_smbus()