Home
last modified time | relevance | path

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

/Linux-v4.19/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.c419 int bb_size_x, bb_size_y, pos_x, pos_y, ctr_x, ctr_y, slotnum; in sur40_report_blob() local
424 slotnum = input_mt_get_slot_by_key(input, blob->blob_id); in sur40_report_blob()
425 if (slotnum < 0 || slotnum >= MAX_CONTACTS) in sur40_report_blob()
437 input_mt_slot(input, slotnum); in sur40_report_blob()
/Linux-v4.19/drivers/hid/
Dhid-multitouch.c873 int slotnum; in mt_release_pending_palms() local
876 for_each_set_bit(slotnum, app->pending_palm_slots, td->maxcontacts) { in mt_release_pending_palms()
877 clear_bit(slotnum, app->pending_palm_slots); in mt_release_pending_palms()
879 input_mt_slot(input, slotnum); in mt_release_pending_palms()
957 int slotnum; in mt_process_slot() local
979 slotnum = mt_compute_slot(td, app, slot, input); in mt_process_slot()
980 if (slotnum < 0 || slotnum >= td->maxcontacts) in mt_process_slot()
984 struct input_mt_slot *i_slot = &mt->slots[slotnum]; in mt_process_slot()
1004 input_mt_is_active(&mt->slots[slotnum])) { in mt_process_slot()
1015 set_bit(slotnum, app->pending_palm_slots); in mt_process_slot()
[all …]