Lines Matching refs:touch_num
254 int touch_num; in goodix_ts_read_input_report() local
277 touch_num = data[0] & 0x0f; in goodix_ts_read_input_report()
278 if (touch_num > ts->max_touch_num) in goodix_ts_read_input_report()
281 if (touch_num > 1) { in goodix_ts_read_input_report()
287 (touch_num - 1)); in goodix_ts_read_input_report()
292 return touch_num; in goodix_ts_read_input_report()
442 int touch_num; in goodix_ts_report_key() local
447 touch_num = data[0] & 0x0f; in goodix_ts_report_key()
448 key_value = data[1 + ts->contact_size * touch_num]; in goodix_ts_report_key()
469 int touch_num; in goodix_process_events() local
472 touch_num = goodix_ts_read_input_report(ts, point_data); in goodix_process_events()
473 if (touch_num < 0) in goodix_process_events()
477 if (touch_num == 1 && (point_data[1] & 0x80)) { in goodix_process_events()
487 for (i = 0; i < touch_num; i++) in goodix_process_events()