Lines Matching refs:touch_num
256 int touch_num; in goodix_ts_read_input_report() local
279 touch_num = data[0] & 0x0f; in goodix_ts_read_input_report()
280 if (touch_num > ts->max_touch_num) in goodix_ts_read_input_report()
283 if (touch_num > 1) { in goodix_ts_read_input_report()
289 (touch_num - 1)); in goodix_ts_read_input_report()
294 return touch_num; in goodix_ts_read_input_report()
444 int touch_num; in goodix_ts_report_key() local
449 touch_num = data[0] & 0x0f; in goodix_ts_report_key()
450 key_value = data[1 + ts->contact_size * touch_num]; in goodix_ts_report_key()
471 int touch_num; in goodix_process_events() local
474 touch_num = goodix_ts_read_input_report(ts, point_data); in goodix_process_events()
475 if (touch_num < 0) in goodix_process_events()
479 if (touch_num == 1 && (point_data[1] & 0x80)) { in goodix_process_events()
489 for (i = 0; i < touch_num; i++) in goodix_process_events()