Lines Matching refs:fingers

382 	if (fields->fingers > 1) {  in alps_process_bitmap_dolphin()
401 int *fingers) in alps_get_bitmap_points() argument
413 (*fingers)++; in alps_get_bitmap_points()
437 int i, fingers_x = 0, fingers_y = 0, fingers; in alps_process_bitmap() local
451 fingers = max(fingers_x, fingers_y); in alps_process_bitmap()
490 return fingers; in alps_process_bitmap()
515 static void alps_report_semi_mt_data(struct psmouse *psmouse, int fingers) in alps_report_semi_mt_data() argument
522 if (fingers < 2) { in alps_report_semi_mt_data()
525 fingers = f->pressure > 0 ? 1 : 0; in alps_report_semi_mt_data()
528 alps_report_mt_data(psmouse, (fingers <= 2) ? fingers : 2); in alps_report_semi_mt_data()
530 input_mt_report_finger_count(dev, fingers); in alps_report_semi_mt_data()
625 f->fingers = (p[5] & 0x3) + 1; in alps_decode_pinnacle()
650 f->fingers = max((p[5] & 0x3), ((p[5] >> 2) & 0x3)) + 1; in alps_decode_rushmore()
672 f->fingers = ((p[0] & 0x6) >> 1 | in alps_decode_dolphin()
700 int fingers = 0; in alps_process_touchpad_packet_v3_v5() local
720 fingers = f->fingers; in alps_process_touchpad_packet_v3_v5()
724 fingers = 0; /* Use st data */ in alps_process_touchpad_packet_v3_v5()
778 alps_report_semi_mt_data(psmouse, fingers); in alps_process_touchpad_packet_v3_v5()
917 f->fingers = alps_process_bitmap(priv, f); in alps_process_packet_v4()
928 alps_report_semi_mt_data(psmouse, f->fingers); in alps_process_packet_v4()
1009 int i, fingers = 0; in alps_get_mt_count() local
1013 fingers++; in alps_get_mt_count()
1016 return fingers; in alps_get_mt_count()
1055 f->fingers = alps_get_mt_count(f->mt); in alps_decode_packet_v7()
1057 f->fingers = 3 + (p[5] & 0x03); in alps_decode_packet_v7()
1062 f->fingers++; in alps_decode_packet_v7()
1064 f->fingers++; in alps_decode_packet_v7()
1071 if (f->fingers == 1 && f->mt[0].x == 0 && f->mt[0].y == 0) { in alps_decode_packet_v7()
1127 input_mt_report_finger_count(dev, f->fingers); in alps_process_touchpad_packet_v7()
1179 f->fingers = 1; in alps_decode_ss4_v2()
1201 f->fingers = 2; in alps_decode_ss4_v2()
1229 f->fingers = 5; in alps_decode_ss4_v2()
1234 f->fingers = 3; in alps_decode_ss4_v2()
1236 f->fingers = 4; in alps_decode_ss4_v2()
1295 alps_report_mt_data(psmouse, (f->fingers <= 4) ? f->fingers : 4); in alps_process_packet_ss4_v2()
1297 input_mt_report_finger_count(dev, f->fingers); in alps_process_packet_ss4_v2()