Searched refs:touch_num (Results 1 – 3 of 3) sorted by relevance
474 u8 touch_num; in goodix_berlin_touch_handler() local477 touch_num = FIELD_GET(GOODIX_BERLIN_TOUCH_COUNT_MASK, in goodix_berlin_touch_handler()479 if (touch_num > GOODIX_BERLIN_MAX_TOUCH) { in goodix_berlin_touch_handler()480 dev_warn(cd->dev, "invalid touch num %d\n", touch_num); in goodix_berlin_touch_handler()484 if (touch_num > 2) { in goodix_berlin_touch_handler()486 error = goodix_berlin_get_remaining_contacts(cd, touch_num); in goodix_berlin_touch_handler()491 if (touch_num) { in goodix_berlin_touch_handler()492 int len = touch_num * GOODIX_BERLIN_TOUCH_SIZE + in goodix_berlin_touch_handler()501 goodix_berlin_report_state(cd, touch_num); in goodix_berlin_touch_handler()
254 int touch_num; in goodix_ts_read_input_report() local277 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() local447 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[all …]
2751 unsigned int touch_num; in cyapa_pip_report_touches() local2754 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()