Lines Matching refs:slot
46 int slot; member
53 static inline void input_mt_set_value(struct input_mt_slot *slot, in input_mt_set_value() argument
56 slot->abs[code - ABS_MT_FIRST] = value; in input_mt_set_value()
59 static inline int input_mt_get_value(const struct input_mt_slot *slot, in input_mt_get_value() argument
62 return slot->abs[code - ABS_MT_FIRST]; in input_mt_get_value()
65 static inline bool input_mt_is_active(const struct input_mt_slot *slot) in input_mt_is_active() argument
67 return input_mt_get_value(slot, ABS_MT_TRACKING_ID) >= 0; in input_mt_is_active()
71 const struct input_mt_slot *slot) in input_mt_is_used() argument
73 return slot->frame == mt->frame; in input_mt_is_used()
85 static inline void input_mt_slot(struct input_dev *dev, int slot) in input_mt_slot() argument
87 input_event(dev, EV_ABS, ABS_MT_SLOT, slot); in input_mt_slot()