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

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
16 * In-kernel definitions.
27 * struct input_value - input value representation
46 * struct input_dev - represents an input device
69 * @getkeycode: optional legacy method to retrieve current keymap.
70 * @setkeycode: optional method to alter current keymap, used to implement
109 * (such as keymap or absmin, absmax, absfuzz, etc.) after device
114 * to make sure that dev->open() is only called when the first
115 * user opens device and dev->close() is called when the very
118 * causes input_open_device*() fail with -ENODEV.
121 * accessing the list dev->mutex must be held
263 * struct input_handler - implements one of interfaces for input devices
264 * @private: driver-specific data
266 * interrupts disabled and dev->event_lock spinlock held and so
269 * input core with interrupts disabled and dev->event_lock
274 * to perform fine-grained matching between device and handler
326 * struct input_handle - links input device with an input handler
327 * @private: handler-specific data
357 return dev ? to_input_dev(get_device(&dev->dev)) : NULL; in input_get_device()
363 put_device(&dev->dev); in input_put_device()
368 return dev_get_drvdata(&dev->dev); in input_get_drvdata()
373 dev_set_drvdata(&dev->dev, data); in input_set_drvdata()
396 int (*fn)(struct input_handle *, void *));
453 * input_set_events_per_packet - tell handlers about the driver event rate
464 dev->hint_events_per_packet = n_events; in input_set_events_per_packet()
475 return dev->absinfo ? dev->absinfo[axis]._item : 0; \
482 if (dev->absinfo) \
483 dev->absinfo[axis]._item = val; \
508 * struct ff_device - force-feedback part of an input device
513 * @set_autocenter: Called to auto-center device
516 * @private: driver-specific data, will be freed automatically
518 * device (not emulated like ones in input_dev->ffbit)
525 * Every force-feedback device must implement upload() and playback()
531 * dev->event_lock spinlock held and interrupts off and thus may not