Lines Matching refs:MAXIMAL_MT_SLOT
102 return (ffs(~slots & ((2U << MAXIMAL_MT_SLOT(evdev)) - 1)) - 1); in ffc_slot()
122 slots = MAXIMAL_MT_SLOT(evdev) + 1; in evdev_mt_init()
176 MPASS(type_a || (slot >= 0 && slot <= MAXIMAL_MT_SLOT(evdev))); in evdev_mt_send_slot()
202 if (!type_a && (slot < 0 || slot > MAXIMAL_MT_SLOT(evdev))) in evdev_mt_push_slot()
323 MPASS(size >= 0 && size <= MAXIMAL_MT_SLOT(evdev) + 1); in evdev_mt_match_frame()
375 MPASS(size >= 0 && size <= MAXIMAL_MT_SLOT(evdev) + 1); in evdev_mt_send_frame()
392 if (size < 0 || size > MAXIMAL_MT_SLOT(evdev) + 1) in evdev_mt_push_frame()
435 KASSERT(mt->match_slot <= MAXIMAL_MT_SLOT(evdev), in evdev_mt_record_event()
485 MPASS(slot >= 0 && slot <= MAXIMAL_MT_SLOT(evdev)); in evdev_mt_set_last_slot()
496 MPASS(slot >= 0 && slot <= MAXIMAL_MT_SLOT(evdev)); in evdev_mt_get_value()
507 MPASS(slot >= 0 && slot <= MAXIMAL_MT_SLOT(evdev)); in evdev_mt_set_value()
595 evdev_support_nfingers(evdev, MAXIMAL_MT_SLOT(evdev) + 1); in evdev_mt_support_st_compat()