linux/drivers/input
Dmitry Torokhov 0cd5877352 Input: preallocate memory to hold event values
Preallocate memory for holding event values (input_dev->vals) so that
there is no need to check if it was allocated or not in the event
processing code.

The amount of memory will be adjusted after input device has been fully
set up upon registering device with the input core.

Reviewed-by: Jeff LaBundy <jeff@labundy.com>
Reviewed-by: Benjamin Tissoires <bentiss@kernel.org>
Link: https://lore.kernel.org/r/20240703213756.3375978-7-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2024-07-08 16:22:49 -07:00
..
gameport Input: gameport - use sizeof(*pointer) instead of sizeof(type) 2024-06-07 11:59:41 -07:00
joystick Input: adc-joystick - move axes data into the main structure 2024-06-21 10:16:40 -07:00
keyboard Input: qt1050 - constify struct regmap_config 2024-07-08 10:01:18 -07:00
misc Input: ims-pcu - switch to using cleanup functions 2024-06-20 14:57:08 -07:00
mouse Input: cypress_ps2 - use u8 when dealing with byte data 2024-07-03 13:48:53 -07:00
rmi4 Linux 6.9 2024-05-27 21:37:18 -07:00
serio Input: serio - use sizeof(*pointer) instead of sizeof(type) 2024-06-07 11:59:21 -07:00
tablet Input: tablet - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:03 -07:00
tests Input: add missing MODULE_DESCRIPTION() macros 2024-06-09 14:38:48 -07:00
touchscreen Input: imagis - add supports for Imagis IST3038 2024-07-08 16:22:48 -07:00
apm-power.c
evbug.c Input: evbug - remove an empty comment block 2021-05-24 21:06:39 -07:00
evdev.c Input: make events() method return number of events processed 2024-07-08 16:22:49 -07:00
ff-core.c Input: ff-core - prefer struct_size over open coded arithmetic 2024-04-30 14:04:31 -07:00
ff-memless.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
input-compat.c
input-compat.h
input-core-private.h Input: deactivate MT slots when inhibiting or suspending devices 2022-07-20 11:35:13 -07:00
input-leds.c Input: leds - change config symbol dependency for audio mute trigger 2024-03-03 14:46:06 -08:00
input-mt.c Input: deactivate MT slots when inhibiting or suspending devices 2022-07-20 11:35:13 -07:00
input-poller.c Input: use input_device_enabled() 2020-12-02 22:10:33 -08:00
input-poller.h
input.c Input: preallocate memory to hold event values 2024-07-08 16:22:49 -07:00
joydev.c Input: joydev - fix comment typo 2022-09-25 00:57:25 -07:00
Kconfig Input: tests - modular KUnit tests should not depend on KUNIT=y 2023-05-02 10:39:00 -07:00
Makefile Input: Add KUnit tests for some of the input core helper functions 2023-04-01 22:47:04 -07:00
matrix-keymap.c Input: add missing MODULE_DESCRIPTION() macros 2024-06-09 14:38:48 -07:00
mousedev.c
sparse-keymap.c
touchscreen.c Input: touchscreen - avoid bitwise vs logical OR warning 2021-10-15 22:22:54 -07:00
vivaldi-fmap.c Input: add missing MODULE_DESCRIPTION() macros 2024-06-09 14:38:48 -07:00