Searched refs:touch_num (Results 1 – 4 of 4) sorted by relevance
294 int touch_num; in goodix_ts_read_input_report() local320 touch_num = data[0] & 0x0f; in goodix_ts_read_input_report()321 if (touch_num > ts->max_touch_num) in goodix_ts_read_input_report()324 if (touch_num > 1) { in goodix_ts_read_input_report()330 (touch_num - 1)); in goodix_ts_read_input_report()335 return touch_num; in goodix_ts_read_input_report()380 int touch_num; in goodix_ts_report_key() local385 touch_num = data[0] & 0x0f; in goodix_ts_report_key()386 key_value = data[1 + ts->contact_size * touch_num]; in goodix_ts_report_key()408 int touch_num; in goodix_process_events() local[all …]
581 u8 touch_num = 0; in goodix_ts_work_func() local794 touch_num = finger & 0x0f; in goodix_ts_work_func()795 if (touch_num > GTP_MAX_TOUCH) in goodix_ts_work_func()800 if (touch_num > 1) in goodix_ts_work_func()804 ret = gtp_i2c_read(ts->client, buf, 2 + 8 * (touch_num - 1)); in goodix_ts_work_func()805 memcpy(&point_data[12], &buf[2], 8 * (touch_num - 1)); in goodix_ts_work_func()809 key_value = point_data[3 + 8 * touch_num]; in goodix_ts_work_func()849 touch_num = 0; // shield pen point in goodix_ts_work_func()871 touch_num = 0; // shield fingers in goodix_ts_work_func()883 if (pre_pen && (touch_num == 0)) in goodix_ts_work_func()[all …]
1130 u8 touch_num = 0; in gt1x_touch_event_handler() local1143 touch_num = data[0] & 0x0f; in gt1x_touch_event_handler()1144 if (touch_num > GTP_MAX_TOUCH) { in gt1x_touch_event_handler()1155 if (touch_num > 1) { in gt1x_touch_event_handler()1156 ret = gt1x_i2c_read((GTP_READ_COOR_ADDR + 11), &touch_data[11], 1 + 8 * touch_num + 2 - 11); in gt1x_touch_event_handler()1163 for (i = 0; i < 1 + 8 * touch_num + 2; i++) { in gt1x_touch_event_handler()1167 ret = gt1x_i2c_read(GTP_READ_COOR_ADDR, touch_data, 3 + 8 * touch_num); in gt1x_touch_event_handler()1172 for (i = 0, check_sum = 0; i < 3 + 8 * touch_num; i++) { in gt1x_touch_event_handler()1185 key_value = touch_data[1 + 8 * touch_num]; in gt1x_touch_event_handler()1202 else if (touch_num) { in gt1x_touch_event_handler()[all …]
2750 unsigned int touch_num; in cyapa_pip_report_touches() local2753 touch_num = report_data->report_head[PIP_NUMBER_OF_TOUCH_OFFSET] & in cyapa_pip_report_touches()2756 for (i = 0; i < touch_num; i++) in cyapa_pip_report_touches()