Lines Matching refs:fingers
88 struct apple_z2_finger *fingers; in apple_z2_parse_touches() local
93 fingers = (struct apple_z2_finger *)(msg + APPLE_Z2_FINGERS_OFFSET); in apple_z2_parse_touches()
95 slot = input_mt_get_slot_by_key(z2->input_dev, fingers[i].finger); in apple_z2_parse_touches()
100 slot_valid = fingers[i].state == APPLE_Z2_TOUCH_STARTED || in apple_z2_parse_touches()
101 fingers[i].state == APPLE_Z2_TOUCH_MOVED; in apple_z2_parse_touches()
106 le16_to_cpu(fingers[i].abs_x), in apple_z2_parse_touches()
107 le16_to_cpu(fingers[i].abs_y), in apple_z2_parse_touches()
110 le16_to_cpu(fingers[i].tool_major)); in apple_z2_parse_touches()
112 le16_to_cpu(fingers[i].tool_minor)); in apple_z2_parse_touches()
114 le16_to_cpu(fingers[i].orientation)); in apple_z2_parse_touches()
116 le16_to_cpu(fingers[i].touch_major)); in apple_z2_parse_touches()
118 le16_to_cpu(fingers[i].touch_minor)); in apple_z2_parse_touches()