Lines Matching refs:mt
494 etd->mt[0].x = ((packet[1] & 0x0f) << 8) | packet[2]; in elantech_report_absolute_v3()
499 etd->mt[0].y = etd->y_max - in elantech_report_absolute_v3()
508 x1 = etd->mt[0].x; in elantech_report_absolute_v3()
509 y1 = etd->mt[0].y; in elantech_report_absolute_v3()
586 etd->mt[id].x = ((packet[1] & 0x0f) << 8) | packet[2]; in process_packet_head_v4()
587 etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in process_packet_head_v4()
594 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); in process_packet_head_v4()
595 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); in process_packet_head_v4()
628 etd->mt[id].x += delta_x1 * weight; in process_packet_motion_v4()
629 etd->mt[id].y -= delta_y1 * weight; in process_packet_motion_v4()
631 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); in process_packet_motion_v4()
632 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); in process_packet_motion_v4()
635 etd->mt[sid].x += delta_x2 * weight; in process_packet_motion_v4()
636 etd->mt[sid].y -= delta_y2 * weight; in process_packet_motion_v4()
638 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[sid].x); in process_packet_motion_v4()
639 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[sid].y); in process_packet_motion_v4()