Lines Matching refs:y_max

322 			etd->y_max - (((packet[1] & 0x03) << 8) | packet[3]));  in elantech_report_absolute_v1()
397 y1 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v2()
412 y1 = etd->y_max - in elantech_report_absolute_v2()
420 y2 = etd->y_max - in elantech_report_absolute_v2()
528 y1 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v3()
542 etd->mt[0].y = etd->y_max - in elantech_report_absolute_v3()
554 y2 = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in elantech_report_absolute_v3()
630 etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in process_packet_head_v4()
1116 x_max = info->x_max, y_max = info->y_max, in elantech_set_input_params() local
1143 input_set_abs_params(dev, ABS_Y, y_min, y_max, 0, 0); in elantech_set_input_params()
1154 input_set_abs_params(dev, ABS_Y, y_min, y_max, 0, 0); in elantech_set_input_params()
1163 input_set_abs_params(dev, ABS_MT_POSITION_Y, y_min, y_max, 0, 0); in elantech_set_input_params()
1171 input_set_abs_params(dev, ABS_Y, y_min, y_max, 0, 0); in elantech_set_input_params()
1183 input_set_abs_params(dev, ABS_MT_POSITION_Y, y_min, y_max, 0, 0); in elantech_set_input_params()
1202 etd->y_max = y_max; in elantech_set_input_params()
1675 info->y_max = ETP_YMAX_V1; in elantech_query_info()
1685 info->y_max = ETP_YMAX_V2; in elantech_query_info()
1703 info->y_max = (info->capabilities[2] - i) * param[2] / 2; in elantech_query_info()
1706 info->y_max = 405; in elantech_query_info()
1709 info->y_max = 500; in elantech_query_info()
1712 info->y_max = (info->capabilities[2] - i) * 64; in elantech_query_info()
1722 info->y_max = (0xf0 & param[0]) << 4 | param[2]; in elantech_query_info()
1730 info->y_max = (0xf0 & param[0]) << 4 | param[2]; in elantech_query_info()
1742 if ((traces >= 2) && (traces <= info->y_max)) in elantech_query_info()
1798 info->y_max + 1); in elantech_create_smbus()
1808 (info->y_max + 1) / info->y_res); in elantech_create_smbus()