freebsd-dev/sys/dev/evdev
Oleksandr Tymoshenko bfbd1bb744 Allow using of driver's mutex instead internal one for evdev locking.
Add new API call: evdev_register_mtx which takes lock argument that
should be used instead of internal one for evdev locking. Useful for
cases if evdev_push_event() is always called with driver's lock taken
and reduces amount of lock aquisitions. This allows to avoid LOR
between ev_open/ev_close invocations and evdev_push_event() Such LOR
can happen when ev_open/ev_close methods acquire driver lock and
evdev_push_event() is called with this lock taken.

Submitted by:	Vladimir Kondratiev <wulf@cicgroup.ru>
2016-10-08 17:58:26 +00:00
..
cdev.c
evdev_mt.c Allow using of driver's mutex instead internal one for evdev locking. 2016-10-08 17:58:26 +00:00
evdev_private.h Allow using of driver's mutex instead internal one for evdev locking. 2016-10-08 17:58:26 +00:00
evdev_utils.c
evdev.c Allow using of driver's mutex instead internal one for evdev locking. 2016-10-08 17:58:26 +00:00
evdev.h Allow using of driver's mutex instead internal one for evdev locking. 2016-10-08 17:58:26 +00:00
input-event-codes.h
input.h
uinput.c Modularize evdev 2016-10-02 03:20:31 +00:00
uinput.h