Searched refs:ABS_MT_INDEX (Results 1 – 2 of 2) sorted by relevance
79 #define ABS_MT_INDEX(x) ((x) - ABS_MT_FIRST) macro80 #define MT_CNT (ABS_MT_INDEX(ABS_MT_LAST) + 1)125 offsetof(union evdev_mt_slot, val[ABS_MT_INDEX(ABS_MT_TOOL_Y)]),
192 state->val[ABS_MT_INDEX(i)]); in evdev_mt_send_slot()444 val[ABS_MT_INDEX(code)] = value; in evdev_mt_record_event()505 return (mt->slots[slot].val[ABS_MT_INDEX(code)]); in evdev_mt_get_value()522 mt->slots[slot].val[ABS_MT_INDEX(code)] = value; in evdev_mt_set_value()