Home
last modified time | relevance | path

Searched refs:finger (Results 1 – 6 of 6) sorted by relevance

/drivers/input/touchscreen/
Dst1232.c49 struct st1232_ts_finger finger[MAX_FINGERS]; member
55 struct st1232_ts_finger *finger = ts->finger; in st1232_ts_read_data() local
79 finger[0].is_valid = buf[2] >> 7; in st1232_ts_read_data()
80 finger[1].is_valid = buf[5] >> 7; in st1232_ts_read_data()
83 if (finger[0].is_valid) { in st1232_ts_read_data()
84 finger[0].x = ((buf[2] & 0x0070) << 4) | buf[3]; in st1232_ts_read_data()
85 finger[0].y = ((buf[2] & 0x0007) << 8) | buf[4]; in st1232_ts_read_data()
86 finger[0].t = buf[8]; in st1232_ts_read_data()
89 if (finger[1].is_valid) { in st1232_ts_read_data()
90 finger[1].x = ((buf[5] & 0x0070) << 4) | buf[6]; in st1232_ts_read_data()
[all …]
Dili210x.c20 struct finger { struct
29 struct finger finger[MAX_TOUCHES]; member
33 struct finger finger_max;
84 const struct finger *finger; in ili210x_report_events() local
89 finger = &touchdata->finger[i]; in ili210x_report_events()
94 x = finger->x_low | (finger->x_high << 8); in ili210x_report_events()
95 y = finger->y_low | (finger->y_high << 8); in ili210x_report_events()
Datmel_mxt_ts.c257 struct mxt_finger finger[MXT_MAX_FINGER]; member
518 struct mxt_finger *finger = data->finger; in mxt_input_report() local
520 int status = finger[single_id].status; in mxt_input_report()
525 if (!finger[id].status) in mxt_input_report()
530 finger[id].status != MXT_RELEASE); in mxt_input_report()
532 if (finger[id].status != MXT_RELEASE) { in mxt_input_report()
535 finger[id].area); in mxt_input_report()
537 finger[id].x); in mxt_input_report()
539 finger[id].y); in mxt_input_report()
541 finger[id].pressure); in mxt_input_report()
[all …]
Dsynaptics_i2c_rmi.c145 int finger = buf[0] & 7; in synaptics_ts_work_func() local
202 input_report_key(ts->input_dev, BTN_TOUCH, finger); in synaptics_ts_work_func()
203 finger2_pressed = finger > 1 && finger != 7; in synaptics_ts_work_func()
210 if (!finger) in synaptics_ts_work_func()
228 ts->reported_finger_count = finger; in synaptics_ts_work_func()
/drivers/staging/ste_rmi4/
Dsynaptics_i2c_rmi4.c305 int finger; in synpatics_rmi4_touchpad_report() local
351 for (finger = 0; finger < fingers_supported; finger++) { in synpatics_rmi4_touchpad_report()
353 reg = finger/4; in synpatics_rmi4_touchpad_report()
355 finger_shift = (finger % 4) * 2; in synpatics_rmi4_touchpad_report()
364 ((finger * data_reg_blk_size) + in synpatics_rmi4_touchpad_report()
400 for (finger = 0; finger < touch_count; finger++) { in synpatics_rmi4_touchpad_report()
402 max(wx[finger] , wy[finger])); in synpatics_rmi4_touchpad_report()
404 x[finger]); in synpatics_rmi4_touchpad_report()
406 y[finger]); in synpatics_rmi4_touchpad_report()
/drivers/input/tablet/
Dwacom_sys.c245 int i = 0, usage = WCM_UNDEFINED, finger = 0, pen = 0; in wacom_parse_hid() local
289 if (finger) { in wacom_parse_hid()
326 if (finger) { in wacom_parse_hid()
364 finger = 1; in wacom_parse_hid()
382 finger = usage = 0; in wacom_parse_hid()