Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/input.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/input/matrix_keypad.h>
#include <linux/module.h>
Go to the source code of this file.
Data Structures | |
struct | keypad_regs |
struct | keypad_data |
Macros | |
#define | BITS(x) (BIT(x) - 1) |
#define | KEYPAD_ROWS 9 |
#define | KEYPAD_COLS 9 |
#define | DEBOUNCE_MIN 0x400ul |
#define | DEBOUNCE_MAX 0x3ffffffful |
#define | keypad_read(kp, reg) __raw_readl(&(kp)->regs->reg) |
#define | keypad_write(kp, reg, val) __raw_writel(val, &(kp)->regs->reg) |
Functions | |
module_platform_driver (keypad_driver) | |
MODULE_AUTHOR ("Cyril Chemparathy") | |
MODULE_DESCRIPTION ("TNETV107X Keypad Driver") | |
MODULE_ALIAS ("platform:tnetv107x-keypad") | |
MODULE_LICENSE ("GPL") | |
Definition at line 29 of file tnetv107x-keypad.c.
#define DEBOUNCE_MAX 0x3ffffffful |
Definition at line 35 of file tnetv107x-keypad.c.
#define DEBOUNCE_MIN 0x400ul |
Definition at line 34 of file tnetv107x-keypad.c.
#define KEYPAD_COLS 9 |
Definition at line 32 of file tnetv107x-keypad.c.
#define keypad_read | ( | kp, | |
reg | |||
) | __raw_readl(&(kp)->regs->reg) |
Definition at line 53 of file tnetv107x-keypad.c.
#define KEYPAD_ROWS 9 |
Definition at line 31 of file tnetv107x-keypad.c.
Definition at line 54 of file tnetv107x-keypad.c.
MODULE_ALIAS | ( | "platform:tnetv107x-keypad" | ) |
MODULE_AUTHOR | ( | "Cyril Chemparathy" | ) |
MODULE_DESCRIPTION | ( | "TNETV107X Keypad Driver" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | keypad_driver | ) |