Lines Matching defs:input
3 * The input core
14 #include <linux/input/mt.h>
28 #include "input-compat.h"
29 #include "input-core-private.h"
30 #include "input-poller.h"
47 * input handlers.
411 * input_event() - report new input event
417 * This function should be used by drivers implementing various input
418 * devices to report input events. See also input_inject_event().
420 * NOTE: input_event() may be safely used right after input device was
423 * input handlers. Such early invocation of input_event() may be used
442 * input_inject_event() - send input event from input handler
443 * @handle: input handle to send event through
475 * @dev: the input device emitting absolute events
491 * input_register_device() when we refuse to register input
520 * @dst: Destination input device to copy the abs settings to
522 * @src: Source input device to copy the abs settings from
526 * the specified source input device's source axis.
527 * This is useful to e.g. setup a pen/stylus input-device for combined
541 * expected to catch this when registering the input devices, which may
557 * @handle: input handle that wants to own the device
559 * When a device is grabbed by an input handle all events generated by
561 * by other input handles are ignored while device is grabbed.
605 * @handle: input handle that owns the device
607 * Releases previously grabbed device so that other input handles can
608 * start receiving input events. Upon release all handlers attached
623 * input_open_device - open input device
626 * This function should be called by input handlers when they
627 * want to start receive events from given input device.
694 * input_close_device - close input device
697 * This function should be called by input handlers when they
698 * want to stop receive events from given input device.
718 * completed and that no more input events are delivered
928 * @dev: input device which keymap is being queried
949 * @dev: input device which keymap is being updated
1327 proc_bus_input_dir = proc_mkdir("bus/input", NULL);
1344 fail1: remove_proc_entry("bus/input", NULL);
1352 remove_proc_entry("bus/input", NULL);
1396 "input:b%04Xv%04Xp%04Xe%04X-",
1754 * input_reset_device() - reset/restore the state of input device
1755 * @dev: input device whose state needs to be reset
1757 * This function tries to reset the state of an opened input device and
1918 return kasprintf(GFP_KERNEL, "input/%s", dev_name(dev));
1922 .name = "input",
1928 * input_allocate_device - allocate memory for new input device
1952 dev_set_name(&dev->dev, "input%lu",
1963 struct input_dev *input;
1970 return devres->input == data;
1976 struct input_dev *input = devres->input;
1979 __func__, dev_name(&input->dev));
1980 input_put_device(input);
1984 * devm_input_allocate_device - allocate managed input device
1985 * @dev: device owning the input device being created
1989 * Managed input devices do not need to be explicitly unregistered or
1991 * its driver (or binding fails). Once managed input device is allocated,
1993 * input device. There are no special devm_input_device_[un]register()
1995 * should you need them. In most cases however, managed input device need
1998 * NOTE: the owner device is set up as parent of input device and users
2003 struct input_dev *input;
2011 input = input_allocate_device();
2012 if (!input) {
2017 input->dev.parent = dev;
2018 input->devres_managed = true;
2020 devres->input = input;
2023 return input;
2029 * @dev: input device to free
2038 * NOTE: If there are references to the input device then memory
2055 * input_set_timestamp - set timestamp for input events
2056 * @dev: input device to set timestamp for
2060 * This function is intended to provide to the input system a more
2078 * input_get_timestamp - get timestamp for input events
2079 * @dev: input device to get timestamp from
2238 struct input_dev *input = devres->input;
2241 __func__, dev_name(&input->dev));
2242 __input_unregister_device(input);
2275 * @dev: input device
2279 * Enable software autorepeat on the input device.
2298 * input_register_device - register device with input core
2301 * This function registers device with input core. The device must be
2309 * Note that this function is also used to register managed input devices
2310 * (ones allocated with devm_input_allocate_device()). Such managed input
2313 * that tear down of managed input devices is internally a 2-step process:
2314 * registered managed input device is first unregistered, but stays in
2316 * not be delivered anywhere). The freeing of managed input device will
2340 devres->input = dev;
2343 /* Every input device generates EV_SYN/SYN_REPORT events. */
2365 * is handled by the driver itself and we don't do it in input.c.
2424 * This function unregisters an input device. Once device is unregistered
2447 * input_register_handler - register a new input handler
2450 * This function registers a new input handler (interface) for input
2451 * devices in the system and attaches it to all input devices that
2478 * input_unregister_handler - unregisters an input handler
2481 * This function disconnects a handler from its input devices and
2504 * @handler: input handler to iterate
2535 * input_register_handle - register a new input handle
2538 * This function puts a new input handle onto device's
2586 * input_unregister_handle - unregister an input handle
2589 * This function removes input handle from device's
2613 * input_get_new_minor - allocates a new input minor number
2618 * This function allocates a new device minor for from input major namespace.
2627 * This function should be called from input handler's ->connect()
2650 * This function releases previously allocated input minor so that it can be
2674 INPUT_MAX_CHAR_DEVICES, "input");