Lines Matching refs:slot

101 	__s32 *contactid;	/* the device ContactID assigned to this slot */
229 * these device-dependent functions determine what slot corresponds
234 struct mt_usages *slot)
236 if (*slot->contactid != 0 || application->num_received == 0)
237 return *slot->contactid;
689 /* the value has already been filled, create a new slot */
909 struct mt_usages *slot,
915 return *slot->contactid;
918 return cypress_compute_slot(app, slot);
924 return *slot->contactid - 1;
926 return input_mt_get_slot_by_key(input, *slot->contactid);
1009 struct mt_usages *slot)
1021 if (!slot)
1030 valid = *slot->inrange_state;
1032 valid = *slot->tip_state;
1034 valid = *slot->confidence_state;
1040 slotnum = mt_compute_slot(td, app, slot, input);
1053 confidence_state = *slot->confidence_state;
1056 inrange_state = *slot->inrange_state;
1058 active = *slot->tip_state || inrange_state;
1084 int wide = (*slot->w > *slot->h);
1085 int major = max(*slot->w, *slot->h);
1086 int minor = min(*slot->w, *slot->h);
1095 if (slot->a != DEFAULT_ZERO) {
1106 azimuth = *slot->a;
1127 input_abs_get_max(input, ABS_MT_POSITION_X) - *slot->x :
1128 *slot->x;
1130 input_abs_get_max(input, ABS_MT_POSITION_Y) - *slot->y :
1131 *slot->y;
1133 input_abs_get_max(input, ABS_MT_POSITION_X) - *slot->cx :
1134 *slot->cx;
1136 input_abs_get_max(input, ABS_MT_POSITION_Y) - *slot->cy :
1137 *slot->cy;
1143 input_event(input, EV_ABS, ABS_MT_DISTANCE, !*slot->tip_state);
1145 input_event(input, EV_ABS, ABS_MT_PRESSURE, *slot->p);
1202 struct mt_usages *slot;
1244 list_for_each_entry(slot, &app->mt_usages, list) {
1245 if (!mt_process_slot(td, input, app, slot))