Lines Matching refs:fingers

361 				   int *fingers)  in alps_get_bitmap_points()  argument
373 (*fingers)++; in alps_get_bitmap_points()
397 int i, fingers_x = 0, fingers_y = 0, fingers, closest; in alps_process_bitmap() local
412 fingers = max(fingers_x, fingers_y); in alps_process_bitmap()
501 return fingers; in alps_process_bitmap()
526 static void alps_report_semi_mt_data(struct psmouse *psmouse, int fingers) in alps_report_semi_mt_data() argument
533 if (fingers < 2) { in alps_report_semi_mt_data()
536 fingers = f->pressure > 0 ? 1 : 0; in alps_report_semi_mt_data()
540 if (fingers >= 1) in alps_report_semi_mt_data()
542 if (fingers >= 2) in alps_report_semi_mt_data()
546 input_mt_report_finger_count(dev, fingers); in alps_report_semi_mt_data()
643 f->fingers = (p[5] & 0x3) + 1; in alps_decode_pinnacle()
669 f->fingers = max((p[5] & 0x3), ((p[5] >> 2) & 0x3)) + 1; in alps_decode_rushmore()
705 f->fingers = ((p[0] & 0x6) >> 1 | in alps_decode_dolphin()
733 int fingers = 0; in alps_process_touchpad_packet_v3_v5() local
753 fingers = f->fingers; in alps_process_touchpad_packet_v3_v5()
760 fingers = 0; /* Use st data */ in alps_process_touchpad_packet_v3_v5()
794 alps_report_semi_mt_data(psmouse, fingers); in alps_process_touchpad_packet_v3_v5()
934 f->fingers = alps_process_bitmap(priv, f); in alps_process_packet_v4()
937 alps_report_semi_mt_data(psmouse, f->fingers); in alps_process_packet_v4()
1018 int i, fingers = 0; in alps_get_mt_count() local
1022 fingers++; in alps_get_mt_count()
1025 return fingers; in alps_get_mt_count()
1064 f->fingers = alps_get_mt_count(f->mt); in alps_decode_packet_v7()
1066 f->fingers = 3 + (p[5] & 0x03); in alps_decode_packet_v7()
1071 f->fingers++; in alps_decode_packet_v7()
1073 f->fingers++; in alps_decode_packet_v7()
1080 if (f->fingers == 1 && f->mt[0].x == 0 && f->mt[0].y == 0) { in alps_decode_packet_v7()
1131 input_mt_report_finger_count(dev, f->fingers); in alps_process_touchpad_packet_v7()
1200 f->fingers = f->pressure > 0 ? 1 : 0; in alps_decode_ss4_v2()
1232 f->fingers = 2; in alps_decode_ss4_v2()
1274 f->fingers = 5; in alps_decode_ss4_v2()
1279 f->fingers = 3; in alps_decode_ss4_v2()
1281 f->fingers = 4; in alps_decode_ss4_v2()
1378 alps_report_mt_data(psmouse, (f->fingers <= 4) ? f->fingers : 4); in alps_process_packet_ss4_v2()
1380 input_mt_report_finger_count(dev, f->fingers); in alps_process_packet_ss4_v2()