Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wacom_i2c.c File Reference
#include <linux/module.h>
#include <linux/input.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/gpio.h>
#include <asm/unaligned.h>

Go to the source code of this file.

Data Structures

struct  wacom_features
 
struct  wacom_i2c
 

Macros

#define WACOM_CMD_QUERY0   0x04
 
#define WACOM_CMD_QUERY1   0x00
 
#define WACOM_CMD_QUERY2   0x33
 
#define WACOM_CMD_QUERY3   0x02
 
#define WACOM_CMD_THROW0   0x05
 
#define WACOM_CMD_THROW1   0x00
 
#define WACOM_QUERY_SIZE   19
 
#define WACOM_RETRY_CNT   100
 

Functions

 MODULE_DEVICE_TABLE (i2c, wacom_i2c_id)
 
 module_i2c_driver (wacom_i2c_driver)
 
 MODULE_AUTHOR ("Tatsunosuke Tobita <tobita.tatsunosuke@wacom.co.jp>")
 
 MODULE_DESCRIPTION ("WACOM EMR I2C Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define WACOM_CMD_QUERY0   0x04

Definition at line 23 of file wacom_i2c.c.

#define WACOM_CMD_QUERY1   0x00

Definition at line 24 of file wacom_i2c.c.

#define WACOM_CMD_QUERY2   0x33

Definition at line 25 of file wacom_i2c.c.

#define WACOM_CMD_QUERY3   0x02

Definition at line 26 of file wacom_i2c.c.

#define WACOM_CMD_THROW0   0x05

Definition at line 27 of file wacom_i2c.c.

#define WACOM_CMD_THROW1   0x00

Definition at line 28 of file wacom_i2c.c.

#define WACOM_QUERY_SIZE   19

Definition at line 29 of file wacom_i2c.c.

#define WACOM_RETRY_CNT   100

Definition at line 30 of file wacom_i2c.c.

Function Documentation

MODULE_AUTHOR ( "Tatsunosuke Tobita <tobita.tatsunosuke@wacom.co.jp>"  )
MODULE_DESCRIPTION ( "WACOM EMR I2C Driver"  )
MODULE_DEVICE_TABLE ( i2c  ,
wacom_i2c_id   
)
module_i2c_driver ( wacom_i2c_driver  )
MODULE_LICENSE ( "GPL"  )