summaryrefslogtreecommitdiffstats
path: root/include/linux/input-polldev.h
Commit message (Collapse)AuthorAgeFilesLines
* Input: implement managed polled input devicesDmitry Torokhov2014-05-141-0/+3
| | | | | | | | | | | | | | Managed resources are becoming more and more popular in drivers. Let's implement managed polled input devices, to complement managed regular input devices. Similarly to managed regular input devices only one new call devm_input_allocate_polled_device() is added and the rest of APIs is modified to work with both managed and non-managed devices. Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Tested-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: input-polldev - fix a couple of typosDmitry Torokhov2011-01-311-2/+2
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: input-polldev - add sysfs interface for controlling poll intervalSamu Onkalo2009-11-201-1/+10
| | | | | | | | | | | | | | | | | | | | Sysfs entry for reading and setting of the polling interval. If the interval is set to 0, polling is stopped. Polling is restarted when interval is changed to non-zero. sysfs entries: poll = current polling interval in msec (RW) max = max allowed polling interval (RO) min = min allowed polling interval (RO) Minimum and maximum limit for interval can be set while setting up the device. Interval can be adjusted even if the input device is not currently open. [dtor@mail.ru: add kernel doc markup for the new fields] Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: add open and close methods for polled devicesSamu Onkalo2009-10-181-4/+7
| | | | | | | | Optional open and close methods for preparing and closing the device. Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: add skeleton for simple polled devicesDmitry Torokhov2007-04-291-0/+46
input-polldev provides a skeleton for supporting simple input devices that need to be periodically scanned or polled to detect changes in their state. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
OpenPOWER on IntegriCloud