|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/module.h>#include <linux/init.h>#include <linux/interrupt.h>#include <linux/input.h>#include <linux/device.h>#include <linux/platform_device.h>#include <linux/clk.h>#include <linux/err.h>#include <linux/io.h>#include <linux/slab.h>#include <linux/platform_data/keypad-w90p910.h>Go to the source code of this file.
Data Structures | |
| struct | w90p910_keypad |
Macros | |
| #define | KPI_CONF 0x00 |
| #define | KPI_3KCONF 0x04 |
| #define | KPI_LPCONF 0x08 |
| #define | KPI_STATUS 0x0C |
| #define | IS1KEY (0x01 << 16) |
| #define | INTTR (0x01 << 21) |
| #define | KEY0R (0x0f << 3) |
| #define | KEY0C 0x07 |
| #define | DEBOUNCE_BIT 0x08 |
| #define | KSIZE0 (0x01 << 16) |
| #define | KSIZE1 (0x01 << 17) |
| #define | KPSEL (0x01 << 19) |
| #define | ENKP (0x01 << 18) |
| #define | KGET_RAW(n) (((n) & KEY0R) >> 3) |
| #define | KGET_COLUMN(n) ((n) & KEY0C) |
| #define | W90P910_NUM_ROWS 8 |
| #define | W90P910_NUM_COLS 8 |
| #define | W90P910_ROW_SHIFT 3 |
Functions | |
| module_platform_driver (w90p910_keypad_driver) | |
| MODULE_AUTHOR ("Wan ZongShun <[email protected]>") | |
| MODULE_DESCRIPTION ("w90p910 keypad driver") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS ("platform:nuc900-keypad") | |
| #define DEBOUNCE_BIT 0x08 |
Definition at line 36 of file w90p910_keypad.c.
| #define ENKP (0x01 << 18) |
Definition at line 40 of file w90p910_keypad.c.
| #define INTTR (0x01 << 21) |
Definition at line 33 of file w90p910_keypad.c.
| #define IS1KEY (0x01 << 16) |
Definition at line 32 of file w90p910_keypad.c.
| #define KEY0C 0x07 |
Definition at line 35 of file w90p910_keypad.c.
| #define KEY0R (0x0f << 3) |
Definition at line 34 of file w90p910_keypad.c.
Definition at line 43 of file w90p910_keypad.c.
Definition at line 42 of file w90p910_keypad.c.
| #define KPI_3KCONF 0x04 |
Definition at line 28 of file w90p910_keypad.c.
| #define KPI_CONF 0x00 |
Definition at line 27 of file w90p910_keypad.c.
| #define KPI_LPCONF 0x08 |
Definition at line 29 of file w90p910_keypad.c.
| #define KPI_STATUS 0x0C |
Definition at line 30 of file w90p910_keypad.c.
| #define KPSEL (0x01 << 19) |
Definition at line 39 of file w90p910_keypad.c.
| #define KSIZE0 (0x01 << 16) |
Definition at line 37 of file w90p910_keypad.c.
| #define KSIZE1 (0x01 << 17) |
Definition at line 38 of file w90p910_keypad.c.
| #define W90P910_NUM_COLS 8 |
Definition at line 46 of file w90p910_keypad.c.
| #define W90P910_NUM_ROWS 8 |
Definition at line 45 of file w90p910_keypad.c.
| #define W90P910_ROW_SHIFT 3 |
Definition at line 47 of file w90p910_keypad.c.
| MODULE_ALIAS | ( | "platform:nuc900-keypad" | ) |
| MODULE_AUTHOR | ( | "Wan ZongShun <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "w90p910 keypad driver" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | w90p910_keypad_driver | ) |
1.8.2