Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/input/touchscreen/
Dpenmount.c135 int slotnum = pm->data[0] & 0x0f; in pm_parse_3000() local
136 pm->slots[slotnum].active = pm->data[0] & 0x30; in pm_parse_3000()
137 pm->slots[slotnum].x = pm->data[2] * 256 + pm->data[1]; in pm_parse_3000()
138 pm->slots[slotnum].y = pm->data[4] * 256 + pm->data[3]; in pm_parse_3000()
151 int slotnum = pm->data[0] & 0x0f; in pm_parse_6250() local
152 pm->slots[slotnum].active = pm->data[0] & 0x40; in pm_parse_6250()
153 pm->slots[slotnum].x = pm->data[2] * 256 + pm->data[1]; in pm_parse_6250()
154 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-6.1.9/drivers/hid/
Dhid-multitouch.c933 int slotnum; in mt_release_pending_palms() local
936 for_each_set_bit(slotnum, app->pending_palm_slots, td->maxcontacts) { in mt_release_pending_palms()
937 clear_bit(slotnum, app->pending_palm_slots); in mt_release_pending_palms()
939 input_mt_slot(input, slotnum); in mt_release_pending_palms()
1017 int slotnum; in mt_process_slot() local
1039 slotnum = mt_compute_slot(td, app, slot, input); in mt_process_slot()
1040 if (slotnum < 0 || slotnum >= td->maxcontacts) in mt_process_slot()
1044 struct input_mt_slot *i_slot = &mt->slots[slotnum]; in mt_process_slot()
1064 input_mt_is_active(&mt->slots[slotnum])) { in mt_process_slot()
1075 set_bit(slotnum, app->pending_palm_slots); in mt_process_slot()
[all …]