Lines Matching refs:finger
257 struct mxt_finger finger[MXT_MAX_FINGER]; member
518 struct mxt_finger *finger = data->finger; in mxt_input_report() local
520 int status = finger[single_id].status; in mxt_input_report()
525 if (!finger[id].status) in mxt_input_report()
530 finger[id].status != MXT_RELEASE); in mxt_input_report()
532 if (finger[id].status != MXT_RELEASE) { in mxt_input_report()
535 finger[id].area); in mxt_input_report()
537 finger[id].x); in mxt_input_report()
539 finger[id].y); in mxt_input_report()
541 finger[id].pressure); in mxt_input_report()
543 finger[id].status = 0; in mxt_input_report()
550 input_report_abs(input_dev, ABS_X, finger[single_id].x); in mxt_input_report()
551 input_report_abs(input_dev, ABS_Y, finger[single_id].y); in mxt_input_report()
553 ABS_PRESSURE, finger[single_id].pressure); in mxt_input_report()
562 struct mxt_finger *finger = data->finger; in mxt_input_touchevent() local
575 finger[id].status = MXT_RELEASE; in mxt_input_touchevent()
599 finger[id].status = status & MXT_MOVE ? in mxt_input_touchevent()
601 finger[id].x = x; in mxt_input_touchevent()
602 finger[id].y = y; in mxt_input_touchevent()
603 finger[id].area = area; in mxt_input_touchevent()
604 finger[id].pressure = pressure; in mxt_input_touchevent()