Searched refs:finger (Results 1 – 9 of 9) sorted by relevance
/drivers/input/touchscreen/ |
D | st1232.c | 53 struct st1232_ts_finger finger[MAX_FINGERS]; member 60 struct st1232_ts_finger *finger = ts->finger; in st1232_ts_read_data() local 84 finger[0].is_valid = buf[2] >> 7; in st1232_ts_read_data() 85 finger[1].is_valid = buf[5] >> 7; in st1232_ts_read_data() 88 if (finger[0].is_valid) { in st1232_ts_read_data() 89 finger[0].x = ((buf[2] & 0x0070) << 4) | buf[3]; in st1232_ts_read_data() 90 finger[0].y = ((buf[2] & 0x0007) << 8) | buf[4]; in st1232_ts_read_data() 91 finger[0].t = buf[8]; in st1232_ts_read_data() 94 if (finger[1].is_valid) { in st1232_ts_read_data() 95 finger[1].x = ((buf[5] & 0x0070) << 4) | buf[6]; in st1232_ts_read_data() [all …]
|
D | ili210x.c | 20 struct finger { struct 29 struct finger finger[MAX_TOUCHES]; argument 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()
|
D | surface3_spi.c | 71 struct surface3_ts_data_finger *finger) in surface3_spi_report_touch() argument 73 int st = finger->status & 0x01; in surface3_spi_report_touch() 77 get_unaligned_le16(&finger->tracking_id)); in surface3_spi_report_touch() 86 get_unaligned_le16(&finger->x)); in surface3_spi_report_touch() 89 get_unaligned_le16(&finger->y)); in surface3_spi_report_touch() 92 get_unaligned_le16(&finger->width)); in surface3_spi_report_touch() 95 get_unaligned_le16(&finger->height)); in surface3_spi_report_touch() 106 struct surface3_ts_data_finger *finger; in surface3_spi_process_touch() local 108 finger = (struct surface3_ts_data_finger *)&data[17 + in surface3_spi_process_touch() 117 if (finger->status & 0x10) in surface3_spi_process_touch() [all …]
|
D | zforce_ts.c | 247 static int zforce_scan_frequency(struct zforce_ts *ts, u16 idle, u16 finger, in zforce_scan_frequency() argument 253 (finger & 0xff), ((finger >> 8) & 0xff), in zforce_scan_frequency() 258 idle, finger, stylus); in zforce_scan_frequency()
|
D | Kconfig | 337 system. It also supports 5-finger chip models, which can be
|
/drivers/input/mouse/ |
D | focaltech.c | 127 struct focaltech_finger_state *finger = &state->fingers[i]; in focaltech_report_state() local 128 bool active = finger->active && finger->valid; in focaltech_report_state() 139 clamped_x = clamp(finger->x, 0U, priv->x_max); in focaltech_report_state() 140 clamped_y = clamp(finger->y, 0U, priv->y_max); in focaltech_report_state() 182 unsigned int finger; in focaltech_process_abs_packet() local 184 finger = (packet[1] >> 4) - 1; in focaltech_process_abs_packet() 185 if (finger >= FOC_MAX_FINGERS) { in focaltech_process_abs_packet() 187 finger); in focaltech_process_abs_packet() 193 state->fingers[finger].x = ((packet[1] & 0xf) << 8) | packet[2]; in focaltech_process_abs_packet() 194 state->fingers[finger].y = (packet[3] << 8) | packet[4]; in focaltech_process_abs_packet() [all …]
|
D | navpoint.c | 84 int finger; in navpoint_packet() local 94 finger = (navpoint->data[1] & 0x01); in navpoint_packet() 99 input_report_key(navpoint->input, BTN_TOUCH, finger); in navpoint_packet() 103 input_report_key(navpoint->input, BTN_TOOL_FINGER, finger); in navpoint_packet()
|
/drivers/hid/ |
D | hid-logitech-hidpp.c | 751 struct hidpp_touchpad_raw_xy_finger *finger) in hidpp_touchpad_touch_event() argument 756 finger->x = x_m << 6 | data[1]; in hidpp_touchpad_touch_event() 757 finger->y = y_m << 6 | data[3]; in hidpp_touchpad_touch_event() 759 finger->contact_type = data[0] >> 6; in hidpp_touchpad_touch_event() 760 finger->contact_status = data[2] >> 6; in hidpp_touchpad_touch_event() 762 finger->z = data[4]; in hidpp_touchpad_touch_event() 763 finger->area = data[5]; in hidpp_touchpad_touch_event() 764 finger->finger_id = data[6] >> 4; in hidpp_touchpad_touch_event()
|
D | wacom_sys.c | 218 bool finger = WACOM_FINGER_FIELD(field); in wacom_usage_mapping() local 228 else if (finger) in wacom_usage_mapping() 239 if (finger && !features->touch_max) in wacom_usage_mapping() 246 if (finger) { in wacom_usage_mapping() 257 if (finger) { in wacom_usage_mapping()
|