Home
last modified time | relevance | path

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

/drivers/input/touchscreen/
Dpenmount.c139 int slotnum = pm->data[0] & 0x0f; in pm_parse_3000() local
140 pm->slots[slotnum].active = pm->data[0] & 0x30; in pm_parse_3000()
141 pm->slots[slotnum].x = pm->data[2] * 256 + pm->data[1]; in pm_parse_3000()
142 pm->slots[slotnum].y = pm->data[4] * 256 + pm->data[3]; in pm_parse_3000()
155 int slotnum = pm->data[0] & 0x0f; in pm_parse_6250() local
156 pm->slots[slotnum].active = pm->data[0] & 0x40; in pm_parse_6250()
157 pm->slots[slotnum].x = pm->data[2] * 256 + pm->data[1]; in pm_parse_6250()
158 pm->slots[slotnum].y = pm->data[4] * 256 + pm->data[3]; in pm_parse_6250()
Dsur40.c275 int slotnum = input_mt_get_slot_by_key(input, blob->blob_id); in sur40_report_blob() local
276 if (slotnum < 0 || slotnum >= MAX_CONTACTS) in sur40_report_blob()
279 input_mt_slot(input, slotnum); in sur40_report_blob()
/drivers/hid/
Dhid-multitouch.c626 int slotnum = mt_compute_slot(td, input); in mt_complete_slot() local
630 if (slotnum < 0 || slotnum >= td->maxcontacts) in mt_complete_slot()
634 struct input_mt_slot *slot = &mt->slots[slotnum]; in mt_complete_slot()
645 input_mt_slot(input, slotnum); in mt_complete_slot()