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()
533 int key, fingers; in atp_complete_geyser_1_2() local
616 fingers = max(x_f, y_f); in atp_complete_geyser_1_2()
618 if (x && y && fingers == dev->fingers_old) { in atp_complete_geyser_1_2()
635 atp_report_fingers(dev->input, fingers); in atp_complete_geyser_1_2()
652 if (fingers != dev->fingers_old) in atp_complete_geyser_1_2()
654 dev->fingers_old = fingers; in atp_complete_geyser_1_2()
673 int key, fingers; in atp_complete_geyser_3_4() local
736 fingers = max(x_f, y_f); in atp_complete_geyser_3_4()
738 if (x && y && fingers == dev->fingers_old) { in atp_complete_geyser_3_4()
755 atp_report_fingers(dev->input, fingers); in atp_complete_geyser_3_4()
772 if (fingers != dev->fingers_old) in atp_complete_geyser_3_4()
774 dev->fingers_old = fingers; in atp_complete_geyser_3_4()