Lines Matching refs:fingers
348 int fact, int *z, int *fingers) in atp_calculate_abs() argument
362 *fingers = 0; in atp_calculate_abs()
386 (*fingers)++; in atp_calculate_abs()
393 if (*fingers < 1) /* No need to continue if no fingers are found. */ in atp_calculate_abs()
446 static inline void atp_report_fingers(struct input_dev *input, int fingers) in atp_report_fingers() argument
448 input_report_key(input, BTN_TOOL_FINGER, fingers == 1); in atp_report_fingers()
449 input_report_key(input, BTN_TOOL_DOUBLETAP, fingers == 2); in atp_report_fingers()
450 input_report_key(input, BTN_TOOL_TRIPLETAP, fingers > 2); in atp_report_fingers()
532 int key, fingers; in atp_complete_geyser_1_2() local
615 fingers = max(x_f, y_f); in atp_complete_geyser_1_2()
617 if (x && y && fingers == dev->fingers_old) { in atp_complete_geyser_1_2()
634 atp_report_fingers(dev->input, fingers); in atp_complete_geyser_1_2()
651 if (fingers != dev->fingers_old) in atp_complete_geyser_1_2()
653 dev->fingers_old = fingers; in atp_complete_geyser_1_2()
672 int key, fingers; in atp_complete_geyser_3_4() local
735 fingers = max(x_f, y_f); in atp_complete_geyser_3_4()
737 if (x && y && fingers == dev->fingers_old) { in atp_complete_geyser_3_4()
754 atp_report_fingers(dev->input, fingers); in atp_complete_geyser_3_4()
771 if (fingers != dev->fingers_old) in atp_complete_geyser_3_4()
773 dev->fingers_old = fingers; in atp_complete_geyser_3_4()