Lines Matching refs:fingers

359 				   int *fingers)  in alps_get_bitmap_points()  argument
371 (*fingers)++; in alps_get_bitmap_points()
395 int i, fingers_x = 0, fingers_y = 0, fingers, closest; in alps_process_bitmap() local
410 fingers = max(fingers_x, fingers_y); in alps_process_bitmap()
499 return fingers; in alps_process_bitmap()
524 static void alps_report_semi_mt_data(struct psmouse *psmouse, int fingers) in alps_report_semi_mt_data() argument
531 if (fingers < 2) { in alps_report_semi_mt_data()
534 fingers = f->pressure > 0 ? 1 : 0; in alps_report_semi_mt_data()
538 if (fingers >= 1) in alps_report_semi_mt_data()
540 if (fingers >= 2) in alps_report_semi_mt_data()
544 input_mt_report_finger_count(dev, fingers); in alps_report_semi_mt_data()
641 f->fingers = (p[5] & 0x3) + 1; in alps_decode_pinnacle()
667 f->fingers = max((p[5] & 0x3), ((p[5] >> 2) & 0x3)) + 1; in alps_decode_rushmore()
703 f->fingers = ((p[0] & 0x6) >> 1 | in alps_decode_dolphin()
731 int fingers = 0; in alps_process_touchpad_packet_v3_v5() local
751 fingers = f->fingers; in alps_process_touchpad_packet_v3_v5()
758 fingers = 0; /* Use st data */ in alps_process_touchpad_packet_v3_v5()
792 alps_report_semi_mt_data(psmouse, fingers); in alps_process_touchpad_packet_v3_v5()
932 f->fingers = alps_process_bitmap(priv, f); in alps_process_packet_v4()
935 alps_report_semi_mt_data(psmouse, f->fingers); in alps_process_packet_v4()
1016 int i, fingers = 0; in alps_get_mt_count() local
1020 fingers++; in alps_get_mt_count()
1023 return fingers; in alps_get_mt_count()
1062 f->fingers = alps_get_mt_count(f->mt); in alps_decode_packet_v7()
1064 f->fingers = 3 + (p[5] & 0x03); in alps_decode_packet_v7()
1069 f->fingers++; in alps_decode_packet_v7()
1071 f->fingers++; in alps_decode_packet_v7()
1078 if (f->fingers == 1 && f->mt[0].x == 0 && f->mt[0].y == 0) { in alps_decode_packet_v7()
1129 input_mt_report_finger_count(dev, f->fingers); in alps_process_touchpad_packet_v7()
1198 f->fingers = f->pressure > 0 ? 1 : 0; in alps_decode_ss4_v2()
1230 f->fingers = 2; in alps_decode_ss4_v2()
1272 f->fingers = 5; in alps_decode_ss4_v2()
1277 f->fingers = 3; in alps_decode_ss4_v2()
1279 f->fingers = 4; in alps_decode_ss4_v2()
1376 alps_report_mt_data(psmouse, (f->fingers <= 4) ? f->fingers : 4); in alps_process_packet_ss4_v2()
1378 input_mt_report_finger_count(dev, f->fingers); in alps_process_packet_ss4_v2()