Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
elo.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>
#include <linux/ctype.h>

Go to the source code of this file.

Data Structures

struct  elo
 

Macros

#define DRIVER_DESC   "Elo serial touchscreen driver"
 
#define ELO_MAX_LENGTH   10
 
#define ELO10_PACKET_LEN   8
 
#define ELO10_TOUCH   0x03
 
#define ELO10_PRESSURE   0x80
 
#define ELO10_LEAD_BYTE   'U'
 
#define ELO10_ID_CMD   'i'
 
#define ELO10_TOUCH_PACKET   'T'
 
#define ELO10_ACK_PACKET   'A'
 
#define ELI10_ID_PACKET   'I'
 

Functions

 MODULE_AUTHOR ("Vojtech Pavlik <[email protected]>")
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (serio, elo_serio_ids)
 
 module_serio_driver (elo_drv)
 

Macro Definition Documentation

#define DRIVER_DESC   "Elo serial touchscreen driver"

Definition at line 28 of file elo.c.

#define ELI10_ID_PACKET   'I'

Definition at line 50 of file elo.c.

#define ELO10_ACK_PACKET   'A'

Definition at line 49 of file elo.c.

#define ELO10_ID_CMD   'i'

Definition at line 46 of file elo.c.

#define ELO10_LEAD_BYTE   'U'

Definition at line 44 of file elo.c.

#define ELO10_PACKET_LEN   8

Definition at line 40 of file elo.c.

#define ELO10_PRESSURE   0x80

Definition at line 42 of file elo.c.

#define ELO10_TOUCH   0x03

Definition at line 41 of file elo.c.

#define ELO10_TOUCH_PACKET   'T'

Definition at line 48 of file elo.c.

#define ELO_MAX_LENGTH   10

Definition at line 38 of file elo.c.

Function Documentation

MODULE_AUTHOR ( "Vojtech Pavlik <[email protected]>"  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( serio  ,
elo_serio_ids   
)
MODULE_LICENSE ( "GPL"  )
module_serio_driver ( elo_drv  )