Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/workqueue.h>
#include <linux/gpio.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/tca6416_keypad.h>
Go to the source code of this file.
Data Structures | |
struct | tca6416_drv_data |
struct | tca6416_keypad_chip |
Macros | |
#define | TCA6416_INPUT 0 |
#define | TCA6416_OUTPUT 1 |
#define | TCA6416_INVERT 2 |
#define | TCA6416_DIRECTION 3 |
Functions | |
MODULE_DEVICE_TABLE (i2c, tca6416_id) | |
subsys_initcall (tca6416_keypad_init) | |
module_exit (tca6416_keypad_exit) | |
MODULE_AUTHOR ("Sriramakrishnan <[email protected]>") | |
MODULE_DESCRIPTION ("Keypad driver over tca6146 IO expander") | |
MODULE_LICENSE ("GPL") | |
#define TCA6416_DIRECTION 3 |
Definition at line 28 of file tca6416-keypad.c.
#define TCA6416_INPUT 0 |
Definition at line 25 of file tca6416-keypad.c.
#define TCA6416_INVERT 2 |
Definition at line 27 of file tca6416-keypad.c.
#define TCA6416_OUTPUT 1 |
Definition at line 26 of file tca6416-keypad.c.
MODULE_AUTHOR | ( | "Sriramakrishnan <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | i2c | , |
tca6416_id | |||
) |
module_exit | ( | tca6416_keypad_exit | ) |
MODULE_LICENSE | ( | "GPL" | ) |
subsys_initcall | ( | tca6416_keypad_init | ) |