Lines Matching refs:mt
498 etd->mt[0].x = ((packet[1] & 0x0f) << 8) | packet[2]; in elantech_report_absolute_v3()
503 etd->mt[0].y = etd->y_max - in elantech_report_absolute_v3()
512 x1 = etd->mt[0].x; in elantech_report_absolute_v3()
513 y1 = etd->mt[0].y; in elantech_report_absolute_v3()
595 etd->mt[id].x = ((packet[1] & 0x0f) << 8) | packet[2]; in process_packet_head_v4()
596 etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in process_packet_head_v4()
603 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); in process_packet_head_v4()
604 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); in process_packet_head_v4()
637 etd->mt[id].x += delta_x1 * weight; in process_packet_motion_v4()
638 etd->mt[id].y -= delta_y1 * weight; in process_packet_motion_v4()
640 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); in process_packet_motion_v4()
641 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); in process_packet_motion_v4()
644 etd->mt[sid].x += delta_x2 * weight; in process_packet_motion_v4()
645 etd->mt[sid].y -= delta_y2 * weight; in process_packet_motion_v4()
647 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[sid].x); in process_packet_motion_v4()
648 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[sid].y); in process_packet_motion_v4()