|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/init.h>#include <linux/interrupt.h>#include <linux/irq.h>#include <linux/workqueue.h>#include <linux/errno.h>#include <linux/pm.h>#include <linux/platform_device.h>#include <linux/input.h>#include <linux/i2c.h>#include <linux/gpio.h>#include <linux/slab.h>#include <linux/i2c/adp5588.h>Go to the source code of this file.
Data Structures | |
| struct | adp5588_kpad |
Macros | |
| #define | KEY_EV_PRESSED (1 << 7) |
| #define | KEY_EV_MASK (0x7F) |
| #define | KP_SEL(x) (0xFFFF >> (16 - x)) /* 2^x-1 */ |
| #define | KEYP_MAX_EVENT 10 |
| #define | WA_DELAYED_READOUT_REVID(rev) ((rev) < 4) |
Functions | |
| MODULE_DEVICE_TABLE (i2c, adp5588_id) | |
| module_i2c_driver (adp5588_driver) | |
| MODULE_LICENSE ("GPL") | |
| MODULE_AUTHOR ("Michael Hennerich <[email protected]>") | |
| MODULE_DESCRIPTION ("ADP5588/87 Keypad driver") | |
| #define KEY_EV_MASK (0x7F) |
Definition at line 28 of file adp5588-keys.c.
| #define KEY_EV_PRESSED (1 << 7) |
Definition at line 27 of file adp5588-keys.c.
| #define KEYP_MAX_EVENT 10 |
Definition at line 32 of file adp5588-keys.c.
| #define KP_SEL | ( | x | ) | (0xFFFF >> (16 - x)) /* 2^x-1 */ |
Definition at line 30 of file adp5588-keys.c.
Definition at line 39 of file adp5588-keys.c.
| MODULE_AUTHOR | ( | "Michael Hennerich <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "ADP5588/87 Keypad driver" | ) |
| MODULE_DEVICE_TABLE | ( | i2c | , |
| adp5588_id | |||
| ) |
| module_i2c_driver | ( | adp5588_driver | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2