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

Go to the source code of this file.

Data Structures

struct  st1232_ts_finger
 
struct  st1232_ts_data
 

Macros

#define ST1232_TS_NAME   "st1232-ts"
 
#define MIN_X   0x00
 
#define MIN_Y   0x00
 
#define MAX_X   0x31f /* (800 - 1) */
 
#define MAX_Y   0x1df /* (480 - 1) */
 
#define MAX_AREA   0xff
 
#define MAX_FINGERS   2
 

Functions

 MODULE_DEVICE_TABLE (i2c, st1232_ts_id)
 
 module_i2c_driver (st1232_ts_driver)
 
 MODULE_AUTHOR ("Tony SIM <[email protected]>")
 
 MODULE_DESCRIPTION ("SITRONIX ST1232 Touchscreen Controller Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define MAX_AREA   0xff

Definition at line 36 of file st1232.c.

#define MAX_FINGERS   2

Definition at line 37 of file st1232.c.

#define MAX_X   0x31f /* (800 - 1) */

Definition at line 34 of file st1232.c.

#define MAX_Y   0x1df /* (480 - 1) */

Definition at line 35 of file st1232.c.

#define MIN_X   0x00

Definition at line 32 of file st1232.c.

#define MIN_Y   0x00

Definition at line 33 of file st1232.c.

#define ST1232_TS_NAME   "st1232-ts"

Definition at line 30 of file st1232.c.

Function Documentation

MODULE_AUTHOR ( "Tony SIM <[email protected]>"  )
MODULE_DESCRIPTION ( "SITRONIX ST1232 Touchscreen Controller Driver"  )
MODULE_DEVICE_TABLE ( i2c  ,
st1232_ts_id   
)
module_i2c_driver ( st1232_ts_driver  )
MODULE_LICENSE ( "GPL"  )