Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ili210x.c File Reference
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/input/mt.h>
#include <linux/delay.h>
#include <linux/workqueue.h>
#include <linux/input/ili210x.h>

Go to the source code of this file.

Data Structures

struct  finger
 
struct  touchdata
 
struct  panel_info
 
union  firmware_version
 
struct  ili210x
 

Macros

#define MAX_TOUCHES   2
 
#define DEFAULT_POLL_PERIOD   20
 
#define REG_TOUCHDATA   0x10
 
#define REG_PANEL_INFO   0x20
 
#define REG_FIRMWARE_VERSION   0x40
 
#define REG_CALIBRATE   0xcc
 

Functions

 MODULE_DEVICE_TABLE (i2c, ili210x_i2c_id)
 
 module_i2c_driver (ili210x_ts_driver)
 
 MODULE_AUTHOR ("Olivier Sobrie <[email protected]>")
 
 MODULE_DESCRIPTION ("ILI210X I2C Touchscreen Driver")
 
 MODULE_LICENSE ("GPL")
 

Variables

struct finger __packed
 

Macro Definition Documentation

#define DEFAULT_POLL_PERIOD   20

Definition at line 12 of file ili210x.c.

#define MAX_TOUCHES   2

Definition at line 11 of file ili210x.c.

#define REG_CALIBRATE   0xcc

Definition at line 18 of file ili210x.c.

#define REG_FIRMWARE_VERSION   0x40

Definition at line 17 of file ili210x.c.

#define REG_PANEL_INFO   0x20

Definition at line 16 of file ili210x.c.

#define REG_TOUCHDATA   0x10

Definition at line 15 of file ili210x.c.

Function Documentation

MODULE_AUTHOR ( "Olivier Sobrie <[email protected]>"  )
MODULE_DESCRIPTION ( "ILI210X I2C Touchscreen Driver"  )
MODULE_DEVICE_TABLE ( i2c  ,
ili210x_i2c_id   
)
module_i2c_driver ( ili210x_ts_driver  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation