linux/drivers/input/serio
Armin Wolf cec8c359f8
Input: i8042 - Add support for platform filter contexts
Currently the platform filter cannot access any driver-specific state
which forces drivers installing a i8042 filter to have at least some
kind of global pointer for their filter.

Allow callers of i8042_install_filter() to submit a context pointer
which is then passed to the i8042 filter. This frees drivers from the
responsibility of having to manage this global pointer themself.

Also introduce a separate type for the i8042 filter (i8042_filter_t)
so that the function definitions can stay compact.

Tested on a Dell Inspiron 3505.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20250113221314.435812-1-W_Armin@gmx.de
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2025-01-15 16:26:39 +02:00
..
altera_ps2.c
ambakmi.c
ams_delta_serio.c
apbps2.c
arc_ps2.c
ct82c710.c
gscps2.c
hil_mlc.c
hp_sdc_mlc.c
hp_sdc.c
hyperv-keyboard.c
i8042-acpipnpio.h Merge branch 'next' into for-linus 2024-11-24 17:05:27 -08:00
i8042-io.h
i8042-ip22io.h
i8042-jazzio.h
i8042-snirm.h
i8042-sparcio.h
i8042.c Input: i8042 - Add support for platform filter contexts 2025-01-15 16:26:39 +02:00
i8042.h
ioc3kbd.c
Kconfig
libps2.c
maceps2.c
Makefile
olpc_apsp.c
parkbd.c
pcips2.c
ps2-gpio.c
ps2mult.c
q40kbd.c
rpckbd.c
sa1111ps2.c
serio_raw.c
serio.c
serport.c
sun4i-ps2.c
userio.c Input updates for v6.13-rc0 2024-11-25 10:31:39 -08:00
xilinx_ps2.c