Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mainstone-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/irq.h>
#include <linux/interrupt.h>
#include <linux/wm97xx.h>
#include <linux/io.h>
#include <linux/gpio.h>
#include <mach/regs-ac97.h>
#include <asm/mach-types.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 (pen_int, int, 0)
 
 MODULE_PARM_DESC (pen_int,"Pen down detection (1 = interrupt, 0 = polling)")
 
 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 (mainstone_wm97xx_driver)
 
 MODULE_AUTHOR ("Liam Girdwood <[email protected]>")
 
 MODULE_DESCRIPTION ("wm97xx continuous touch driver for mainstone")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

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

Definition at line 47 of file mainstone-wm97xx.c.

Function Documentation

MODULE_AUTHOR ( "Liam Girdwood <[email protected]>"  )
MODULE_DESCRIPTION ( "wm97xx continuous touch driver for mainstone"  )
MODULE_LICENSE ( "GPL"  )
module_param ( cont_rate  ,
int  ,
 
)
module_param ( pen_int  ,
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 ( pen_int  ,
"Pen down detection (1 = interrupt, 0 = polling)"   
)
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 ( mainstone_wm97xx_driver  )