Lines Matching +full:fn +full:- +full:keymap

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
17 * In-kernel definitions.
28 * struct input_value - input value representation
47 * struct input_dev - represents an input device
70 * @getkeycode: optional legacy method to retrieve current keymap.
71 * @setkeycode: optional method to alter current keymap, used to implement
110 * (such as keymap or absmin, absmax, absfuzz, etc.) after device
115 * to make sure that dev->open() is only called when the first
116 * user opens device and dev->close() is called when the very
119 * causes input_open_device*() fail with -ENODEV.
122 * accessing the list dev->mutex must be held
269 * struct input_handler - implements one of interfaces for input devices
270 * @private: driver-specific data
272 * interrupts disabled and dev->event_lock spinlock held and so
275 * input core with interrupts disabled and dev->event_lock
280 * to perform fine-grained matching between device and handler
334 * struct input_handle - links input device with an input handler
335 * @private: handler-specific data
367 return dev ? to_input_dev(get_device(&dev->dev)) : NULL; in input_get_device()
373 put_device(&dev->dev); in input_put_device()
378 return dev_get_drvdata(&dev->dev); in input_get_drvdata()
383 dev_set_drvdata(&dev->dev, data); in input_set_drvdata()
406 int (*fn)(struct input_handle *, void *));
463 * input_set_events_per_packet - tell handlers about the driver event rate
474 dev->hint_events_per_packet = n_events; in input_set_events_per_packet()
485 return dev->absinfo ? dev->absinfo[axis]._item : 0; \
492 if (dev->absinfo) \
493 dev->absinfo[axis]._item = val; \
518 * struct ff_device - force-feedback part of an input device
523 * @set_autocenter: Called to auto-center device
526 * @private: driver-specific data, will be freed automatically
528 * device (not emulated like ones in input_dev->ffbit)
535 * Every force-feedback device must implement upload() and playback()
541 * dev->event_lock spinlock held and interrupts off and thus may not