Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
wm9705.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 WM9705_VERSION   "1.00"
 
#define DEFAULT_PRESSURE   0xb0c0
 

Functions

 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 (pdd, int, 0)
 
 MODULE_PARM_DESC (pdd,"Set pen detect comparator threshold")
 
 module_param (mask, int, 0)
 
 MODULE_PARM_DESC (mask,"Set adc mask function.")
 
 EXPORT_SYMBOL_GPL (wm9705_codec)
 
 MODULE_AUTHOR ("Liam Girdwood <[email protected]>")
 
 MODULE_DESCRIPTION ("WM9705 Touch Screen Driver")
 
 MODULE_LICENSE ("GPL")
 

Variables

struct wm97xx_codec_drv wm9705_codec
 

Macro Definition Documentation

#define DEFAULT_PRESSURE   0xb0c0

Definition at line 27 of file wm9705.c.

#define TS_NAME   "wm97xx"

Definition at line 25 of file wm9705.c.

#define WM9705_VERSION   "1.00"

Definition at line 26 of file wm9705.c.

Function Documentation

EXPORT_SYMBOL_GPL ( wm9705_codec  )
MODULE_AUTHOR ( "Liam Girdwood <[email protected]>"  )
MODULE_DESCRIPTION ( "WM9705 Touch Screen Driver"  )
MODULE_LICENSE ( "GPL"  )
module_param ( pil  ,
int  ,
 
)
module_param ( pressure  ,
int  ,
 
)
module_param ( delay  ,
int  ,
 
)
module_param ( pdd  ,
int  ,
 
)
module_param ( mask  ,
int  ,
 
)
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 ( pdd  ,
"Set pen detect comparator threshold  
)
MODULE_PARM_DESC ( mask  ,
"Set adc mask function."   
)

Variable Documentation

struct wm97xx_codec_drv wm9705_codec
Initial value:
= {
.id = WM9705_ID2,
.name = "wm9705",
.poll_sample = wm9705_poll_sample,
.poll_touch = wm9705_poll_touch,
.acc_enable = wm9705_acc_enable,
.phy_init = wm9705_phy_init,
.dig_enable = wm9705_dig_enable,
.dig_restore = wm9705_dig_restore,
.aux_prepare = wm9705_aux_prepare,
}

Definition at line 334 of file wm9705.c.