Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
zylonite-wm97xx.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/wm97xx.h>
#include <mach/hardware.h>
#include <mach/mfp.h>
#include <mach/regs-ac97.h>

Go to the source code of this file.

Data Structures

struct  continuous
 

Macros

#define WM_READS(sp)   ((sp / HZ) + 1)
 

Functions

 module_param (cont_rate, int, 0)
 
 MODULE_PARM_DESC (cont_rate,"Sampling rate in continuous mode (Hz)")
 
 module_param (pressure, int, 0)
 
 MODULE_PARM_DESC (pressure,"Pressure readback (1 = pressure, 0 = no pressure)")
 
 module_param (ac97_touch_slot, int, 0)
 
 MODULE_PARM_DESC (ac97_touch_slot,"Touch screen data slot AC97 number")
 
 module_platform_driver (zylonite_wm97xx_driver)
 
 MODULE_AUTHOR ("Mark Brown <[email protected]>")
 
 MODULE_DESCRIPTION ("wm97xx continuous touch driver for Zylonite")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define WM_READS (   sp)    ((sp / HZ) + 1)

Definition at line 42 of file zylonite-wm97xx.c.

Function Documentation

MODULE_AUTHOR ( "Mark Brown <[email protected]>"  )
MODULE_DESCRIPTION ( "wm97xx continuous touch driver for Zylonite"  )
MODULE_LICENSE ( "GPL"  )
module_param ( cont_rate  ,
int  ,
 
)
module_param ( pressure  ,
int  ,
 
)
module_param ( ac97_touch_slot  ,
int  ,
 
)
MODULE_PARM_DESC ( cont_rate  ,
"Sampling rate in continuous mode (Hz)"   
)
MODULE_PARM_DESC ( pressure  ,
"Pressure readback (1 = pressure, 0 = no pressure)"   
)
MODULE_PARM_DESC ( ac97_touch_slot  ,
"Touch screen data slot AC97 number  
)
module_platform_driver ( zylonite_wm97xx_driver  )