|
Linux Kernel
3.7.1
|
#include <linux/platform_device.h>#include <linux/interrupt.h>#include <linux/spinlock.h>#include <linux/io.h>#include <linux/delay.h>#include <linux/input.h>#include <linux/slab.h>#include <linux/clk.h>#include <linux/module.h>#include <linux/platform_data/keypad-nomadik-ske.h>Go to the source code of this file.
Data Structures | |
| struct | ske_keypad |
Macros | |
| #define | SKE_KPMLT (0x1 << 6) |
| #define | SKE_KPCN (0x7 << 3) |
| #define | SKE_KPASEN (0x1 << 2) |
| #define | SKE_KPASON (0x1 << 7) |
| #define | SKE_KPIMA (0x1 << 2) |
| #define | SKE_KPICS (0x1 << 3) |
| #define | SKE_KPICA (0x1 << 2) |
| #define | SKE_KPRISA (0x1 << 2) |
| #define | SKE_KEYPAD_ROW_SHIFT 3 |
| #define | SKE_KPD_NUM_ROWS 8 |
| #define | SKE_KPD_NUM_COLS 8 |
| #define | SKE_ASR0 0x20 |
| #define | SKE_ASR1 0x24 |
| #define | SKE_ASR2 0x28 |
| #define | SKE_ASR3 0x2C |
| #define | SKE_NUM_ASRX_REGISTERS (4) |
| #define | KEY_PRESSED_DELAY 10 |
Functions | |
| module_init (ske_keypad_init) | |
| module_exit (ske_keypad_exit) | |
| MODULE_LICENSE ("GPL v2") | |
| MODULE_AUTHOR ("Naveen Kumar <[email protected]> / Sundar Iyer <[email protected]>") | |
| MODULE_DESCRIPTION ("Nomadik Scroll-Key-Encoder Keypad Driver") | |
| MODULE_ALIAS ("platform:nomadik-ske-keypad") | |
| #define KEY_PRESSED_DELAY 10 |
Definition at line 52 of file nomadik-ske-keypad.c.
| #define SKE_ASR0 0x20 |
Definition at line 46 of file nomadik-ske-keypad.c.
| #define SKE_ASR1 0x24 |
Definition at line 47 of file nomadik-ske-keypad.c.
| #define SKE_ASR2 0x28 |
Definition at line 48 of file nomadik-ske-keypad.c.
| #define SKE_ASR3 0x2C |
Definition at line 49 of file nomadik-ske-keypad.c.
| #define SKE_KEYPAD_ROW_SHIFT 3 |
Definition at line 41 of file nomadik-ske-keypad.c.
| #define SKE_KPASEN (0x1 << 2) |
Definition at line 28 of file nomadik-ske-keypad.c.
| #define SKE_KPASON (0x1 << 7) |
Definition at line 29 of file nomadik-ske-keypad.c.
| #define SKE_KPCN (0x7 << 3) |
Definition at line 27 of file nomadik-ske-keypad.c.
| #define SKE_KPD_NUM_COLS 8 |
Definition at line 43 of file nomadik-ske-keypad.c.
| #define SKE_KPD_NUM_ROWS 8 |
Definition at line 42 of file nomadik-ske-keypad.c.
| #define SKE_KPICA (0x1 << 2) |
Definition at line 36 of file nomadik-ske-keypad.c.
| #define SKE_KPICS (0x1 << 3) |
Definition at line 35 of file nomadik-ske-keypad.c.
| #define SKE_KPIMA (0x1 << 2) |
Definition at line 32 of file nomadik-ske-keypad.c.
| #define SKE_KPMLT (0x1 << 6) |
Definition at line 26 of file nomadik-ske-keypad.c.
| #define SKE_KPRISA (0x1 << 2) |
Definition at line 39 of file nomadik-ske-keypad.c.
| #define SKE_NUM_ASRX_REGISTERS (4) |
Definition at line 51 of file nomadik-ske-keypad.c.
| MODULE_ALIAS | ( | "platform:nomadik-ske-keypad" | ) |
| MODULE_AUTHOR | ( | "Naveen Kumar <[email protected]> / Sundar Iyer <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "Nomadik Scroll-Key-Encoder Keypad Driver" | ) |
| module_exit | ( | ske_keypad_exit | ) |
| module_init | ( | ske_keypad_init | ) |
| MODULE_LICENSE | ( | "GPL v2" | ) |
1.8.2