Lines Matching refs:mt
591 etd->mt[0].x = ((packet[1] & 0x0f) << 8) | packet[2]; in elantech_report_absolute_v3()
596 etd->mt[0].y = etd->y_max - in elantech_report_absolute_v3()
605 x1 = etd->mt[0].x; in elantech_report_absolute_v3()
606 y1 = etd->mt[0].y; in elantech_report_absolute_v3()
683 etd->mt[id].x = ((packet[1] & 0x0f) << 8) | packet[2]; in process_packet_head_v4()
684 etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in process_packet_head_v4()
691 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); in process_packet_head_v4()
692 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); in process_packet_head_v4()
725 etd->mt[id].x += delta_x1 * weight; in process_packet_motion_v4()
726 etd->mt[id].y -= delta_y1 * weight; in process_packet_motion_v4()
728 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); in process_packet_motion_v4()
729 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); in process_packet_motion_v4()
732 etd->mt[sid].x += delta_x2 * weight; in process_packet_motion_v4()
733 etd->mt[sid].y -= delta_y2 * weight; in process_packet_motion_v4()
735 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[sid].x); in process_packet_motion_v4()
736 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[sid].y); in process_packet_motion_v4()