Search notes:
drivers/input/serio/serio.c
The Serio abstraction module.
See also
include/linux/serio.h
Index