Lines Matching refs:x_max
1171 x_max = info->x_max, y_max = info->y_max, in elantech_set_input_params() local
1197 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1208 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1217 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1225 input_set_abs_params(dev, ABS_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1237 input_set_abs_params(dev, ABS_MT_POSITION_X, x_min, x_max, 0, 0); in elantech_set_input_params()
1820 info->x_max = ETP_XMAX_V1; in elantech_query_info()
1830 info->x_max = ETP_XMAX_V2; in elantech_query_info()
1848 info->x_max = (info->capabilities[1] - i) * param[1] / 2; in elantech_query_info()
1851 info->x_max = 819; in elantech_query_info()
1854 info->x_max = 900; in elantech_query_info()
1857 info->x_max = (info->capabilities[1] - i) * 64; in elantech_query_info()
1867 info->x_max = (0x0f & param[0]) << 8 | param[1]; in elantech_query_info()
1875 info->x_max = (0x0f & param[0]) << 8 | param[1]; in elantech_query_info()
1878 if ((traces < 2) || (traces > info->x_max)) in elantech_query_info()
1881 info->width = info->x_max / (traces - 1); in elantech_query_info()
1940 info->x_max + 1); in elantech_create_smbus()
1949 (info->x_max + 1) / info->x_res); in elantech_create_smbus()