Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/input/touchscreen/
Dgoodix.c94 int touch_num; in goodix_ts_read_input_report() local
104 touch_num = data[0] & 0x0f; in goodix_ts_read_input_report()
105 if (touch_num > ts->max_touch_num) in goodix_ts_read_input_report()
108 if (touch_num > 1) { in goodix_ts_read_input_report()
114 GOODIX_CONTACT_SIZE * (touch_num - 1)); in goodix_ts_read_input_report()
119 return touch_num; in goodix_ts_read_input_report()
148 int touch_num; in goodix_process_events() local
151 touch_num = goodix_ts_read_input_report(ts, point_data); in goodix_process_events()
152 if (touch_num < 0) in goodix_process_events()
155 for (i = 0; i < touch_num; i++) in goodix_process_events()
/linux-4.1.27/drivers/input/mouse/
Dcyapa_gen5.c2654 unsigned int touch_num; in cyapa_gen5_report_touches() local
2657 touch_num = report_data->report_head[GEN5_NUMBER_OF_TOUCH_OFFSET] & in cyapa_gen5_report_touches()
2660 for (i = 0; i < touch_num; i++) in cyapa_gen5_report_touches()