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

Go to the source code of this file.

Macros

#define CT82C710_DEV_IDLE   0x01 /* Device Idle */
 
#define CT82C710_RX_FULL   0x02 /* Device Char received */
 
#define CT82C710_TX_IDLE   0x04 /* Device XMIT Idle */
 
#define CT82C710_RESET   0x08 /* Device Reset */
 
#define CT82C710_INTS_ON   0x10 /* Device Interrupt On */
 
#define CT82C710_ERROR_FLAG   0x20 /* Device Error */
 
#define CT82C710_CLEAR   0x40 /* Device Clear */
 
#define CT82C710_ENABLE   0x80 /* Device Enable */
 
#define CT82C710_IRQ   12
 
#define CT82C710_DATA   ct82c710_iores.start
 
#define CT82C710_STATUS   (ct82c710_iores.start + 1)
 

Functions

 MODULE_AUTHOR ("Vojtech Pavlik <[email protected]>")
 
 MODULE_DESCRIPTION ("82C710 C&T mouse port chip driver")
 
 MODULE_LICENSE ("GPL")
 
 module_init (ct82c710_init)
 
 module_exit (ct82c710_exit)
 

Macro Definition Documentation

#define CT82C710_CLEAR   0x40 /* Device Clear */

Definition at line 56 of file ct82c710.c.

#define CT82C710_DATA   ct82c710_iores.start

Definition at line 61 of file ct82c710.c.

#define CT82C710_DEV_IDLE   0x01 /* Device Idle */

Definition at line 50 of file ct82c710.c.

#define CT82C710_ENABLE   0x80 /* Device Enable */

Definition at line 57 of file ct82c710.c.

#define CT82C710_ERROR_FLAG   0x20 /* Device Error */

Definition at line 55 of file ct82c710.c.

#define CT82C710_INTS_ON   0x10 /* Device Interrupt On */

Definition at line 54 of file ct82c710.c.

#define CT82C710_IRQ   12

Definition at line 59 of file ct82c710.c.

#define CT82C710_RESET   0x08 /* Device Reset */

Definition at line 53 of file ct82c710.c.

#define CT82C710_RX_FULL   0x02 /* Device Char received */

Definition at line 51 of file ct82c710.c.

#define CT82C710_STATUS   (ct82c710_iores.start + 1)

Definition at line 62 of file ct82c710.c.

#define CT82C710_TX_IDLE   0x04 /* Device XMIT Idle */

Definition at line 52 of file ct82c710.c.

Function Documentation

MODULE_AUTHOR ( "Vojtech Pavlik <[email protected]>"  )
MODULE_DESCRIPTION ( "82C710 C&T mouse port chip driver"  )
module_exit ( ct82c710_exit  )
module_init ( ct82c710_init  )
MODULE_LICENSE ( "GPL"  )