Lines Matching refs:y_max
363 etd->y_max - (((packet[1] & 0x03) << 8) | packet[3])); in elantech_report_absolute_v1()
438 y1 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v2()
453 y1 = etd->y_max - in elantech_report_absolute_v2()
461 y2 = etd->y_max - in elantech_report_absolute_v2()
582 y1 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v3()
596 etd->mt[0].y = etd->y_max - in elantech_report_absolute_v3()
608 y2 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v3()
684 etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in process_packet_head_v4()
1170 x_max = info->x_max, y_max = info->y_max, in elantech_set_input_params() local
1197 input_set_abs_params(dev, ABS_Y, y_min, y_max, 0, 0); in elantech_set_input_params()
1208 input_set_abs_params(dev, ABS_Y, y_min, y_max, 0, 0); in elantech_set_input_params()
1217 input_set_abs_params(dev, ABS_MT_POSITION_Y, y_min, y_max, 0, 0); in elantech_set_input_params()
1225 input_set_abs_params(dev, ABS_Y, y_min, y_max, 0, 0); in elantech_set_input_params()
1237 input_set_abs_params(dev, ABS_MT_POSITION_Y, y_min, y_max, 0, 0); in elantech_set_input_params()
1256 etd->y_max = y_max; in elantech_set_input_params()
1789 info->y_max = ETP_YMAX_V1; in elantech_query_info()
1799 info->y_max = ETP_YMAX_V2; in elantech_query_info()
1817 info->y_max = (info->capabilities[2] - i) * param[2] / 2; in elantech_query_info()
1820 info->y_max = 405; in elantech_query_info()
1823 info->y_max = 500; in elantech_query_info()
1826 info->y_max = (info->capabilities[2] - i) * 64; in elantech_query_info()
1836 info->y_max = (0xf0 & param[0]) << 4 | param[2]; in elantech_query_info()
1844 info->y_max = (0xf0 & param[0]) << 4 | param[2]; in elantech_query_info()
1856 if ((traces >= 2) && (traces <= info->y_max)) in elantech_query_info()
1910 info->y_max + 1); in elantech_create_smbus()
1920 (info->y_max + 1) / info->y_res); in elantech_create_smbus()