Searched refs:touch_num (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/input/touchscreen/
H A Dgoodix_berlin_core.c474 u8 touch_num; local
477 touch_num = FIELD_GET(GOODIX_BERLIN_TOUCH_COUNT_MASK,
479 if (touch_num > GOODIX_BERLIN_MAX_TOUCH) {
480 dev_warn(cd->dev, "invalid touch num %d\n", touch_num);
484 if (touch_num > 2) {
486 error = goodix_berlin_get_remaining_contacts(cd, touch_num);
491 if (touch_num) {
492 int len = touch_num * GOODIX_BERLIN_TOUCH_SIZE +
501 goodix_berlin_report_state(cd, touch_num);
H A Dgoodix.c254 int touch_num; local
259 * ts->contact_size * max(1, touch_num) bytes of coordinates
277 touch_num = data[0] & 0x0f;
278 if (touch_num > ts->max_touch_num)
281 if (touch_num > 1) {
287 (touch_num - 1));
292 return touch_num;
442 int touch_num; local
447 touch_num = data[0] & 0x0f;
448 key_value = data[1 + ts->contact_size * touch_num];
469 int touch_num; local
[all...]
/linux-master/drivers/input/mouse/
H A Dcyapa_gen5.c2751 unsigned int touch_num; local
2754 touch_num = report_data->report_head[PIP_NUMBER_OF_TOUCH_OFFSET] &
2757 for (i = 0; i < touch_num; i++)

Completed in 239 milliseconds