Lines Matching refs:fingers

354 				   int *fingers)  in alps_get_bitmap_points()  argument
366 (*fingers)++; in alps_get_bitmap_points()
390 int i, fingers_x = 0, fingers_y = 0, fingers, closest; in alps_process_bitmap() local
405 fingers = max(fingers_x, fingers_y); in alps_process_bitmap()
494 return fingers; in alps_process_bitmap()
519 static void alps_report_semi_mt_data(struct psmouse *psmouse, int fingers) in alps_report_semi_mt_data() argument
526 if (fingers < 2) { in alps_report_semi_mt_data()
529 fingers = f->pressure > 0 ? 1 : 0; in alps_report_semi_mt_data()
533 if (fingers >= 1) in alps_report_semi_mt_data()
535 if (fingers >= 2) in alps_report_semi_mt_data()
539 input_mt_report_finger_count(dev, fingers); in alps_report_semi_mt_data()
635 f->fingers = (p[5] & 0x3) + 1; in alps_decode_pinnacle()
661 f->fingers = max((p[5] & 0x3), ((p[5] >> 2) & 0x3)) + 1; in alps_decode_rushmore()
697 f->fingers = ((p[0] & 0x6) >> 1 | in alps_decode_dolphin()
725 int fingers = 0; in alps_process_touchpad_packet_v3_v5() local
745 fingers = f->fingers; in alps_process_touchpad_packet_v3_v5()
752 fingers = 0; /* Use st data */ in alps_process_touchpad_packet_v3_v5()
786 alps_report_semi_mt_data(psmouse, fingers); in alps_process_touchpad_packet_v3_v5()
933 f->fingers = alps_process_bitmap(priv, f); in alps_process_packet_v4()
936 alps_report_semi_mt_data(psmouse, f->fingers); in alps_process_packet_v4()
1017 int i, fingers = 0; in alps_get_mt_count() local
1021 fingers++; in alps_get_mt_count()
1024 return fingers; in alps_get_mt_count()
1063 f->fingers = alps_get_mt_count(f->mt); in alps_decode_packet_v7()
1065 f->fingers = 3 + (p[5] & 0x03); in alps_decode_packet_v7()
1070 f->fingers++; in alps_decode_packet_v7()
1072 f->fingers++; in alps_decode_packet_v7()
1079 if (f->fingers == 1 && f->mt[0].x == 0 && f->mt[0].y == 0) { in alps_decode_packet_v7()
1135 input_mt_report_finger_count(dev, f->fingers); in alps_process_touchpad_packet_v7()
1187 f->fingers = 1; in alps_decode_ss4_v2()
1209 f->fingers = 2; in alps_decode_ss4_v2()
1237 f->fingers = 5; in alps_decode_ss4_v2()
1242 f->fingers = 3; in alps_decode_ss4_v2()
1244 f->fingers = 4; in alps_decode_ss4_v2()
1303 alps_report_mt_data(psmouse, (f->fingers <= 4) ? f->fingers : 4); in alps_process_packet_ss4_v2()
1305 input_mt_report_finger_count(dev, f->fingers); in alps_process_packet_ss4_v2()