Lines Matching refs:mt
537 etd->mt[0].x = ((packet[1] & 0x0f) << 8) | packet[2]; in elantech_report_absolute_v3()
542 etd->mt[0].y = etd->y_max - in elantech_report_absolute_v3()
551 x1 = etd->mt[0].x; in elantech_report_absolute_v3()
552 y1 = etd->mt[0].y; in elantech_report_absolute_v3()
629 etd->mt[id].x = ((packet[1] & 0x0f) << 8) | packet[2]; in process_packet_head_v4()
630 etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in process_packet_head_v4()
637 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); in process_packet_head_v4()
638 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); in process_packet_head_v4()
671 etd->mt[id].x += delta_x1 * weight; in process_packet_motion_v4()
672 etd->mt[id].y -= delta_y1 * weight; in process_packet_motion_v4()
674 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); in process_packet_motion_v4()
675 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); in process_packet_motion_v4()
678 etd->mt[sid].x += delta_x2 * weight; in process_packet_motion_v4()
679 etd->mt[sid].y -= delta_y2 * weight; in process_packet_motion_v4()
681 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[sid].x); in process_packet_motion_v4()
682 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[sid].y); in process_packet_motion_v4()