Lines Matching refs:touch_num
246 int touch_num; in goodix_ts_read_input_report() local
269 touch_num = data[0] & 0x0f; in goodix_ts_read_input_report()
270 if (touch_num > ts->max_touch_num) in goodix_ts_read_input_report()
273 if (touch_num > 1) { in goodix_ts_read_input_report()
279 (touch_num - 1)); in goodix_ts_read_input_report()
284 return touch_num; in goodix_ts_read_input_report()
434 int touch_num; in goodix_ts_report_key() local
439 touch_num = data[0] & 0x0f; in goodix_ts_report_key()
440 key_value = data[1 + ts->contact_size * touch_num]; in goodix_ts_report_key()
461 int touch_num; in goodix_process_events() local
464 touch_num = goodix_ts_read_input_report(ts, point_data); in goodix_process_events()
465 if (touch_num < 0) in goodix_process_events()
469 if (touch_num == 1 && (point_data[1] & 0x80)) { in goodix_process_events()
479 for (i = 0; i < touch_num; i++) in goodix_process_events()