Lines Matching refs:slot
49 int slot; member
56 static inline void input_mt_set_value(struct input_mt_slot *slot, in input_mt_set_value() argument
59 slot->abs[code - ABS_MT_FIRST] = value; in input_mt_set_value()
62 static inline int input_mt_get_value(const struct input_mt_slot *slot, in input_mt_get_value() argument
65 return slot->abs[code - ABS_MT_FIRST]; in input_mt_get_value()
68 static inline bool input_mt_is_active(const struct input_mt_slot *slot) in input_mt_is_active() argument
70 return input_mt_get_value(slot, ABS_MT_TRACKING_ID) >= 0; in input_mt_is_active()
74 const struct input_mt_slot *slot) in input_mt_is_used() argument
76 return slot->frame == mt->frame; in input_mt_is_used()
88 static inline void input_mt_slot(struct input_dev *dev, int slot) in input_mt_slot() argument
90 input_event(dev, EV_ABS, ABS_MT_SLOT, slot); in input_mt_slot()