Home
last modified time | relevance | path

Searched refs:contact_count (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/input/touchscreen/
Drohm_bu21023.c263 unsigned int contact_count[MAX_CONTACTS + 1]; member
570 if (++ts->contact_count[0] >= threshold) in rohm_ts_soft_irq()
576 if (++ts->contact_count[1] >= threshold) in rohm_ts_soft_irq()
591 if (++ts->contact_count[2] >= threshold) in rohm_ts_soft_irq()
603 count = ts->contact_count[finger_count]; in rohm_ts_soft_irq()
604 memset(ts->contact_count, 0, sizeof(ts->contact_count)); in rohm_ts_soft_irq()
605 ts->contact_count[finger_count] = count; in rohm_ts_soft_irq()
/linux-6.12.1/tools/testing/selftests/hid/tests/
Dtest_multitouch.py153 def event(self, slots, global_data=None, contact_count=None, incr_scantime=True): argument
162 if contact_count is None:
165 global_data.contactcount = contact_count
265 contact_count=None, argument
285 return super().event(slots, global_data, contact_count, incr_scantime)
799 r = uhdev.event([t0, t1], contact_count=1)
916 r = uhdev.event([t0, t1, t2], contact_count=2)
1076 contact_count = uhdev.max_contacts
1087 contact_count=contact_count,
1090 contact_count = 0
/linux-6.12.1/drivers/hid/
Dhid-multitouch.c1213 int contact_count = -1; in mt_touch_report() local
1222 contact_count = *app->raw_cc; in mt_touch_report()
1228 if (contact_count >= 0) { in mt_touch_report()
1239 app->num_expected = contact_count; in mt_touch_report()
1241 else if (contact_count) in mt_touch_report()
1242 app->num_expected = contact_count; in mt_touch_report()