Lines Matching refs:slot
22 * struct input_mt_slot - represents the state of an input MT slot
23 * @abs: holds current values of ABS_MT axes for this slot
25 * @key: optional driver designation of this slot
37 * @slot: MT slot currently being transmitted
46 int slot;
53 static inline void input_mt_set_value(struct input_mt_slot *slot,
56 slot->abs[code - ABS_MT_FIRST] = value;
59 static inline int input_mt_get_value(const struct input_mt_slot *slot,
62 return slot->abs[code - ABS_MT_FIRST];
65 static inline bool input_mt_is_active(const struct input_mt_slot *slot)
67 return input_mt_get_value(slot, ABS_MT_TRACKING_ID) >= 0;
71 const struct input_mt_slot *slot)
73 return slot->frame == mt->frame;
85 static inline void input_mt_slot(struct input_dev *dev, int slot)
87 input_event(dev, EV_ABS, ABS_MT_SLOT, slot);