|
Linux Kernel
3.7.1
|
#include <linux/jiffies.h>#include <linux/slab.h>#include <linux/mutex.h>#include <linux/workqueue.h>#include <linux/module.h>#include <linux/input-polldev.h>Go to the source code of this file.
Macros | |
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
Functions | |
| MODULE_AUTHOR ("Dmitry Torokhov <[email protected]>") | |
| MODULE_DESCRIPTION ("Generic implementation of a polled input device") | |
| MODULE_LICENSE ("GPL v2") | |
| MODULE_VERSION ("0.1") | |
| struct input_polled_dev * | input_allocate_polled_device (void) |
| EXPORT_SYMBOL (input_allocate_polled_device) | |
| void | input_free_polled_device (struct input_polled_dev *dev) |
| EXPORT_SYMBOL (input_free_polled_device) | |
| int | input_register_polled_device (struct input_polled_dev *dev) |
| EXPORT_SYMBOL (input_register_polled_device) | |
| void | input_unregister_polled_device (struct input_polled_dev *dev) |
| EXPORT_SYMBOL (input_unregister_polled_device) | |
Definition at line 11 of file input-polldev.c.
| EXPORT_SYMBOL | ( | input_allocate_polled_device | ) |
| EXPORT_SYMBOL | ( | input_free_polled_device | ) |
| EXPORT_SYMBOL | ( | input_register_polled_device | ) |
| EXPORT_SYMBOL | ( | input_unregister_polled_device | ) |
input_allocate_polled_device - allocate memory for polled device
The function allocates memory for a polled device and also for an input device associated with this polled device.
Definition at line 156 of file input-polldev.c.
input_free_polled_device - free memory allocated for polled device : device to free
The function frees memory allocated for polling device and drops reference to the associated input device.
Definition at line 181 of file input-polldev.c.
input_register_polled_device - register polled device : device to register
The function registers previously initialized polled input device with input layer. The device should be allocated with call to input_allocate_polled_device(). Callers should also set up poll() method and set up capabilities (id, name, phys, bits) of the corresponding input_dev structure.
Definition at line 200 of file input-polldev.c.
input_unregister_polled_device - unregister polled device : device to unregister
The function unregisters previously registered polled input device from input layer. Polling is stopped and device is ready to be freed with call to input_free_polled_device().
Definition at line 246 of file input-polldev.c.
| MODULE_AUTHOR | ( | "Dmitry Torokhov <[email protected]>" | ) |
| MODULE_LICENSE | ( | "GPL v2" | ) |
| MODULE_VERSION | ( | "0.1" | ) |
1.8.2