Lines Matching defs:input
3 * The input core
14 #include <linux/input/mt.h>
26 #include "input-compat.h"
27 #include "input-poller.h"
44 * input handlers.
431 * input_event() - report new input event
437 * This function should be used by drivers implementing various input
438 * devices to report input events. See also input_inject_event().
440 * NOTE: input_event() may be safely used right after input device was
443 * input handlers. Such early invocation of input_event() may be used
462 * input_inject_event() - send input event from input handler
463 * @handle: input handle to send event through
495 * @dev: the input device emitting absolute events
511 * input_register_device() when we refuse to register input
541 * @handle: input handle that wants to own the device
543 * When a device is grabbed by an input handle all events generated by
545 * by other input handles are ignored while device is grabbed.
589 * @handle: input handle that owns the device
591 * Releases previously grabbed device so that other input handles can
592 * start receiving input events. Upon release all handlers attached
607 * input_open_device - open input device
610 * This function should be called by input handlers when they
611 * want to start receive events from given input device.
678 * input_close_device - close input device
681 * This function should be called by input handlers when they
682 * want to stop receive events from given input device.
703 * completed and that no more input events are delivered
913 * @dev: input device which keymap is being queried
934 * @dev: input device which keymap is being updated
1308 proc_bus_input_dir = proc_mkdir("bus/input", NULL);
1325 fail1: remove_proc_entry("bus/input", NULL);
1333 remove_proc_entry("bus/input", NULL);
1377 "input:b%04Xv%04Xp%04Xe%04X-",
1698 * input_reset_device() - reset/restore the state of input device
1699 * @dev: input device whose state needs to be reset
1701 * This function tries to reset the state of an opened input device and
1806 return kasprintf(GFP_KERNEL, "input/%s", dev_name(dev));
1810 .name = "input",
1816 * input_allocate_device - allocate memory for new input device
1840 dev_set_name(&dev->dev, "input%lu",
1851 struct input_dev *input;
1858 return devres->input == data;
1864 struct input_dev *input = devres->input;
1867 __func__, dev_name(&input->dev));
1868 input_put_device(input);
1872 * devm_input_allocate_device - allocate managed input device
1873 * @dev: device owning the input device being created
1877 * Managed input devices do not need to be explicitly unregistered or
1879 * its driver (or binding fails). Once managed input device is allocated,
1881 * input device. There are no special devm_input_device_[un]register()
1883 * should you need them. In most cases however, managed input device need
1886 * NOTE: the owner device is set up as parent of input device and users
1891 struct input_dev *input;
1899 input = input_allocate_device();
1900 if (!input) {
1905 input->dev.parent = dev;
1906 input->devres_managed = true;
1908 devres->input = input;
1911 return input;
1917 * @dev: input device to free
1926 * NOTE: If there are references to the input device then memory
1943 * input_set_timestamp - set timestamp for input events
1944 * @dev: input device to set timestamp for
1948 * This function is intended to provide to the input system a more
1966 * input_get_timestamp - get timestamp for input events
1967 * @dev: input device to get timestamp from
2129 struct input_dev *input = devres->input;
2132 __func__, dev_name(&input->dev));
2133 __input_unregister_device(input);
2138 * @dev: input device
2142 * Enable software autorepeat on the input device.
2153 * input_register_device - register device with input core
2156 * This function registers device with input core. The device must be
2164 * Note that this function is also used to register managed input devices
2165 * (ones allocated with devm_input_allocate_device()). Such managed input
2168 * that tear down of managed input devices is internally a 2-step process:
2169 * registered managed input device is first unregistered, but stays in
2171 * not be delivered anywhere). The freeing of managed input device will
2195 devres->input = dev;
2198 /* Every input device generates EV_SYN/SYN_REPORT events. */
2220 * is handled by the driver itself and we don't do it in input.c.
2279 * This function unregisters an input device. Once device is unregistered
2302 * input_register_handler - register a new input handler
2305 * This function registers a new input handler (interface) for input
2306 * devices in the system and attaches it to all input devices that
2333 * input_unregister_handler - unregisters an input handler
2336 * This function disconnects a handler from its input devices and
2359 * @handler: input handler to iterate
2390 * input_register_handle - register a new input handle
2393 * This function puts a new input handle onto device's
2441 * input_unregister_handle - unregister an input handle
2444 * This function removes input handle from device's
2468 * input_get_new_minor - allocates a new input minor number
2473 * This function allocates a new device minor for from input major namespace.
2482 * This function should be called from input handler's ->connect()
2505 * This function releases previously allocated input minor so that it can be
2529 INPUT_MAX_CHAR_DEVICES, "input");