Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
touchit213.c File Reference
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/serio.h>
#include <linux/init.h>

Go to the source code of this file.

Data Structures

struct  touchit213
 

Macros

#define DRIVER_DESC   "Sahara TouchIT-213 serial touchscreen driver"
 
#define T213_FORMAT_TOUCH_BIT   0x01
 
#define T213_FORMAT_STATUS_BYTE   0x80
 
#define T213_FORMAT_STATUS_MASK   ~T213_FORMAT_TOUCH_BIT
 
#define T213_MIN_XC   0
 
#define T213_MAX_XC   0x07ff
 
#define T213_MIN_YC   0
 
#define T213_MAX_YC   0x07ff
 

Functions

 MODULE_AUTHOR ("Claudio Nieder <[email protected]>")
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (serio, touchit213_serio_ids)
 
 module_serio_driver (touchit213_drv)
 

Macro Definition Documentation

#define DRIVER_DESC   "Sahara TouchIT-213 serial touchscreen driver"

Definition at line 26 of file touchit213.c.

#define T213_FORMAT_STATUS_BYTE   0x80

Definition at line 61 of file touchit213.c.

#define T213_FORMAT_STATUS_MASK   ~T213_FORMAT_TOUCH_BIT

Definition at line 62 of file touchit213.c.

#define T213_FORMAT_TOUCH_BIT   0x01

Definition at line 60 of file touchit213.c.

#define T213_MAX_XC   0x07ff

Definition at line 70 of file touchit213.c.

#define T213_MAX_YC   0x07ff

Definition at line 72 of file touchit213.c.

#define T213_MIN_XC   0

Definition at line 69 of file touchit213.c.

#define T213_MIN_YC   0

Definition at line 71 of file touchit213.c.

Function Documentation

MODULE_AUTHOR ( "Claudio Nieder <[email protected]>"  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( serio  ,
touchit213_serio_ids   
)
MODULE_LICENSE ( "GPL"  )
module_serio_driver ( touchit213_drv  )