Home
last modified time | relevance | path

Searched refs:touch_num (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/input/touchscreen/
Dgoodix.c256 int touch_num; in goodix_ts_read_input_report() local
275 touch_num = data[0] & 0x0f; in goodix_ts_read_input_report()
276 if (touch_num > ts->max_touch_num) in goodix_ts_read_input_report()
279 if (touch_num > 1) { in goodix_ts_read_input_report()
286 (touch_num - 1)); in goodix_ts_read_input_report()
291 return touch_num; in goodix_ts_read_input_report()
345 int touch_num; in goodix_process_events() local
348 touch_num = goodix_ts_read_input_report(ts, point_data); in goodix_process_events()
349 if (touch_num < 0) in goodix_process_events()
358 for (i = 0; i < touch_num; i++) in goodix_process_events()
/Linux-v5.4/drivers/input/mouse/
Dcyapa_gen5.c2750 unsigned int touch_num; in cyapa_pip_report_touches() local
2753 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()