Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mk712.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <asm/io.h>

Go to the source code of this file.

Macros

#define MK712_STATUS   0
 
#define MK712_X   2
 
#define MK712_Y   4
 
#define MK712_CONTROL   6
 
#define MK712_RATE   7
 
#define MK712_STATUS_TOUCH   0x10
 
#define MK712_CONVERSION_COMPLETE   0x80
 
#define MK712_ENABLE_INT   0x01
 
#define MK712_INT_ON_CONVERSION_COMPLETE   0x02
 
#define MK712_INT_ON_CHANGE_IN_TOUCH_STATUS   0x04
 
#define MK712_ENABLE_PERIODIC_CONVERSIONS   0x10
 
#define MK712_READ_ONE_POINT   0x20
 
#define MK712_POWERUP   0x40
 

Functions

 MODULE_AUTHOR ("Daniel Quinlan <[email protected]>, Vojtech Pavlik <[email protected]>")
 
 MODULE_DESCRIPTION ("ICS MicroClock MK712 TouchScreen driver")
 
 MODULE_LICENSE ("GPL")
 
 module_param_named (io, mk712_io, uint, 0)
 
 MODULE_PARM_DESC (io,"I/O base address of MK712 touchscreen controller")
 
 module_param_named (irq, mk712_irq, uint, 0)
 
 MODULE_PARM_DESC (irq,"IRQ of MK712 touchscreen controller")
 
 module_init (mk712_init)
 
 module_exit (mk712_exit)
 

Macro Definition Documentation

#define MK712_CONTROL   6

Definition at line 64 of file mk712.c.

#define MK712_CONVERSION_COMPLETE   0x80

Definition at line 69 of file mk712.c.

#define MK712_ENABLE_INT   0x01

Definition at line 72 of file mk712.c.

#define MK712_ENABLE_PERIODIC_CONVERSIONS   0x10

Definition at line 75 of file mk712.c.

#define MK712_INT_ON_CHANGE_IN_TOUCH_STATUS   0x04

Definition at line 74 of file mk712.c.

#define MK712_INT_ON_CONVERSION_COMPLETE   0x02

Definition at line 73 of file mk712.c.

#define MK712_POWERUP   0x40

Definition at line 77 of file mk712.c.

#define MK712_RATE   7

Definition at line 65 of file mk712.c.

#define MK712_READ_ONE_POINT   0x20

Definition at line 76 of file mk712.c.

#define MK712_STATUS   0

Definition at line 61 of file mk712.c.

#define MK712_STATUS_TOUCH   0x10

Definition at line 68 of file mk712.c.

#define MK712_X   2

Definition at line 62 of file mk712.c.

#define MK712_Y   4

Definition at line 63 of file mk712.c.

Function Documentation

MODULE_AUTHOR ( "Daniel Quinlan <[email protected] ,
Vojtech Pavlik< vojtech @suse.cz >"   
)
MODULE_DESCRIPTION ( "ICS MicroClock MK712 TouchScreen driver )
module_exit ( mk712_exit  )
module_init ( mk712_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( io  ,
mk712_io  ,
uint  ,
 
)
module_param_named ( irq  ,
mk712_irq  ,
uint  ,
 
)
MODULE_PARM_DESC ( io  ,
"I/O base address of MK712 touchscreen controller  
)
MODULE_PARM_DESC ( irq  ,
"IRQ of MK712 touchscreen controller  
)