Home
last modified time | relevance | path

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

/drivers/input/touchscreen/
Dili210x.c31 bool (*parse_touch_data)(const u8 *data, unsigned int finger,
86 unsigned int finger, in ili210x_touchdata_to_coords() argument
90 if (!(touchdata[0] & BIT(finger))) in ili210x_touchdata_to_coords()
93 *x = get_unaligned_be16(touchdata + 1 + (finger * 4) + 0); in ili210x_touchdata_to_coords()
94 *y = get_unaligned_be16(touchdata + 1 + (finger * 4) + 2); in ili210x_touchdata_to_coords()
142 unsigned int finger, in ili211x_touchdata_to_coords() argument
148 data = get_unaligned_be32(touchdata + 1 + (finger * 4) + 0); in ili211x_touchdata_to_coords()
152 *x = ((touchdata[1 + (finger * 4) + 0] & 0xf0) << 4) | in ili211x_touchdata_to_coords()
153 touchdata[1 + (finger * 4) + 1]; in ili211x_touchdata_to_coords()
154 *y = ((touchdata[1 + (finger * 4) + 0] & 0x0f) << 8) | in ili211x_touchdata_to_coords()
[all …]
Dsurface3_spi.c67 struct surface3_ts_data_finger *finger) in surface3_spi_report_touch() argument
69 int st = finger->status & 0x01; in surface3_spi_report_touch()
73 get_unaligned_le16(&finger->tracking_id)); in surface3_spi_report_touch()
82 get_unaligned_le16(&finger->x)); in surface3_spi_report_touch()
85 get_unaligned_le16(&finger->y)); in surface3_spi_report_touch()
88 get_unaligned_le16(&finger->width)); in surface3_spi_report_touch()
91 get_unaligned_le16(&finger->height)); in surface3_spi_report_touch()
100 struct surface3_ts_data_finger *finger; in surface3_spi_process_touch() local
102 finger = (struct surface3_ts_data_finger *)&data[17 + in surface3_spi_process_touch()
111 if (finger->status & 0x10) in surface3_spi_process_touch()
[all …]
Dzforce_ts.c239 static int zforce_scan_frequency(struct zforce_ts *ts, u16 idle, u16 finger, in zforce_scan_frequency() argument
245 (finger & 0xff), ((finger >> 8) & 0xff), in zforce_scan_frequency()
250 idle, finger, stylus); in zforce_scan_frequency()
DKconfig395 system. It also supports 5-finger chip models, which can be
/drivers/input/mouse/
Dfocaltech.c123 struct focaltech_finger_state *finger = &state->fingers[i]; in focaltech_report_state() local
124 bool active = finger->active && finger->valid; in focaltech_report_state()
135 clamped_x = clamp(finger->x, 0U, priv->x_max); in focaltech_report_state()
136 clamped_y = clamp(finger->y, 0U, priv->y_max); in focaltech_report_state()
178 unsigned int finger; in focaltech_process_abs_packet() local
180 finger = (packet[1] >> 4) - 1; in focaltech_process_abs_packet()
181 if (finger >= FOC_MAX_FINGERS) { in focaltech_process_abs_packet()
183 finger); in focaltech_process_abs_packet()
189 state->fingers[finger].x = ((packet[1] & 0xf) << 8) | packet[2]; in focaltech_process_abs_packet()
190 state->fingers[finger].y = (packet[3] << 8) | packet[4]; in focaltech_process_abs_packet()
[all …]
Dnavpoint.c81 int finger; in navpoint_packet() local
91 finger = (navpoint->data[1] & 0x01); in navpoint_packet()
96 input_report_key(navpoint->input, BTN_TOUCH, finger); in navpoint_packet()
100 input_report_key(navpoint->input, BTN_TOOL_FINGER, finger); in navpoint_packet()
/drivers/hid/
Dhid-logitech-hidpp.c2098 struct hidpp_touchpad_raw_xy_finger *finger) in hidpp_touchpad_touch_event() argument
2103 finger->x = x_m << 6 | data[1]; in hidpp_touchpad_touch_event()
2104 finger->y = y_m << 6 | data[3]; in hidpp_touchpad_touch_event()
2106 finger->contact_type = data[0] >> 6; in hidpp_touchpad_touch_event()
2107 finger->contact_status = data[2] >> 6; in hidpp_touchpad_touch_event()
2109 finger->z = data[4]; in hidpp_touchpad_touch_event()
2110 finger->area = data[5]; in hidpp_touchpad_touch_event()
2111 finger->finger_id = data[6] >> 4; in hidpp_touchpad_touch_event()
Dwacom_sys.c435 bool finger = WACOM_FINGER_FIELD(field); in wacom_usage_mapping() local
446 else if (finger) in wacom_usage_mapping()
456 if (finger) { in wacom_usage_mapping()
467 if (finger) { in wacom_usage_mapping()