Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/touchscreen/
H A Dgoodix.c254 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()
469 int touch_num; in goodix_process_events() local
473 if (touch_num < 0) in goodix_process_events()
[all …]
/openbmc/linux/drivers/input/mouse/
H A Dcyapa_gen5.c2751 unsigned int touch_num; in cyapa_pip_report_touches() local
2754 touch_num = report_data->report_head[PIP_NUMBER_OF_TOUCH_OFFSET] & in cyapa_pip_report_touches()
2757 for (i = 0; i < touch_num; i++) in cyapa_pip_report_touches()