Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
wm9712.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/input.h>
#include <linux/delay.h>
#include <linux/bitops.h>
#include <linux/wm97xx.h>

Go to the source code of this file.

Macros

#define TS_NAME   "wm97xx"
 
#define WM9712_VERSION   "1.00"
 
#define DEFAULT_PRESSURE   0xb0c0
 

Functions

 module_param (rpu, int, 0)
 
 MODULE_PARM_DESC (rpu,"Set internal pull up resitor for pen detect.")
 
 module_param (pil, int, 0)
 
 MODULE_PARM_DESC (pil,"Set current used for pressure measurement.")
 
 module_param (pressure, int, 0)
 
 MODULE_PARM_DESC (pressure,"Set threshold for pressure measurement.")
 
 module_param (delay, int, 0)
 
 MODULE_PARM_DESC (delay,"Set adc sample delay.")
 
 module_param (five_wire, int, 0)
 
 MODULE_PARM_DESC (five_wire,"Set to '1' to use 5-wire touchscreen.")
 
 module_param (mask, int, 0)
 
 MODULE_PARM_DESC (mask,"Set adc mask function.")
 
 module_param (coord, int, 0)
 
 MODULE_PARM_DESC (coord,"Polling coordinate mode")
 
 EXPORT_SYMBOL_GPL (wm9712_codec)
 
 MODULE_AUTHOR ("Liam Girdwood <[email protected]>")
 
 MODULE_DESCRIPTION ("WM9712 Touch Screen Driver")
 
 MODULE_LICENSE ("GPL")
 

Variables

struct wm97xx_codec_drv wm9712_codec
 

Macro Definition Documentation

#define DEFAULT_PRESSURE   0xb0c0

Definition at line 27 of file wm9712.c.

#define TS_NAME   "wm97xx"

Definition at line 25 of file wm9712.c.

#define WM9712_VERSION   "1.00"

Definition at line 26 of file wm9712.c.

Function Documentation

EXPORT_SYMBOL_GPL ( wm9712_codec  )
MODULE_AUTHOR ( "Liam Girdwood <[email protected]>"  )
MODULE_DESCRIPTION ( "WM9712 Touch Screen Driver"  )
MODULE_LICENSE ( "GPL"  )
module_param ( rpu  ,
int  ,
 
)
module_param ( pil  ,
int  ,
 
)
module_param ( pressure  ,
int  ,
 
)
module_param ( delay  ,
int  ,
 
)
module_param ( five_wire  ,
int  ,
 
)
module_param ( mask  ,
int  ,
 
)
module_param ( coord  ,
int  ,
 
)
MODULE_PARM_DESC ( rpu  ,
"Set internal pull up resitor for pen detect."   
)
MODULE_PARM_DESC ( pil  ,
"Set current used for pressure measurement."   
)
MODULE_PARM_DESC ( pressure  ,
"Set threshold for pressure measurement."   
)
MODULE_PARM_DESC ( delay  ,
"Set adc sample delay."   
)
MODULE_PARM_DESC ( five_wire  ,
"Set to '1' to use 5-wire touchscreen."   
)
MODULE_PARM_DESC ( mask  ,
"Set adc mask function."   
)
MODULE_PARM_DESC ( coord  ,
"Polling coordinate mode  
)

Variable Documentation

struct wm97xx_codec_drv wm9712_codec
Initial value:
= {
.id = WM9712_ID2,
.name = "wm9712",
.poll_sample = wm9712_poll_sample,
.poll_touch = wm9712_poll_touch,
.acc_enable = wm9712_acc_enable,
.phy_init = wm9712_phy_init,
.dig_enable = wm9712_dig_enable,
.dig_restore = wm9712_dig_restore,
.aux_prepare = wm9712_aux_prepare,
}

Definition at line 451 of file wm9712.c.