Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/hid/
Dhid-multitouch.c934 int slotnum; in mt_release_pending_palms() local
937 for_each_set_bit(slotnum, app->pending_palm_slots, td->maxcontacts) { in mt_release_pending_palms()
938 clear_bit(slotnum, app->pending_palm_slots); in mt_release_pending_palms()
940 input_mt_slot(input, slotnum); in mt_release_pending_palms()
1019 int slotnum; in mt_process_slot() local
1041 slotnum = mt_compute_slot(td, app, slot, input); in mt_process_slot()
1042 if (slotnum < 0 || slotnum >= td->maxcontacts) in mt_process_slot()
1046 struct input_mt_slot *i_slot = &mt->slots[slotnum]; in mt_process_slot()
1066 input_mt_is_active(&mt->slots[slotnum])) { in mt_process_slot()
1077 set_bit(slotnum, app->pending_palm_slots); in mt_process_slot()
[all …]