Home
last modified time | relevance | path

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

/linux/drivers/input/touchscreen/
H A 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/tools/testing/selftests/hid/tests/
H A Dtest_multitouch.py154 def event(self, slots, global_data=None, contact_count=None, incr_scantime=True): argument
163 if contact_count is None:
166 global_data.contactcount = contact_count
269 contact_count=None, argument
289 return super().event(slots, global_data, contact_count, incr_scantime)
803 r = uhdev.event([t0, t1], contact_count=1)
920 r = uhdev.event([t0, t1, t2], contact_count=2)
1101 contact_count = uhdev.max_contacts
1112 contact_count=contact_count,
1115 contact_count = 0
/linux/drivers/hid/
H A Dhid-multitouch.c1307 int contact_count = -1; in mt_touch_report() local
1316 contact_count = *app->raw_cc; in mt_touch_report()
1322 if (contact_count >= 0) { in mt_touch_report()
1333 app->num_expected = contact_count; in mt_touch_report()
1335 else if (contact_count) in mt_touch_report()
1336 app->num_expected = contact_count; in mt_touch_report()