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

Go to the source code of this file.

Data Structures

struct  pcips2_data
 

Macros

#define PS2_CTRL   (0)
 
#define PS2_STATUS   (1)
 
#define PS2_DATA   (2)
 
#define PS2_CTRL_CLK   (1<<0)
 
#define PS2_CTRL_DAT   (1<<1)
 
#define PS2_CTRL_TXIRQ   (1<<2)
 
#define PS2_CTRL_ENABLE   (1<<3)
 
#define PS2_CTRL_RXIRQ   (1<<4)
 
#define PS2_STAT_CLK   (1<<0)
 
#define PS2_STAT_DAT   (1<<1)
 
#define PS2_STAT_PARITY   (1<<2)
 
#define PS2_STAT_RXFULL   (1<<5)
 
#define PS2_STAT_TXBUSY   (1<<6)
 
#define PS2_STAT_TXEMPTY   (1<<7)
 

Functions

 MODULE_DEVICE_TABLE (pci, pcips2_ids)
 
 module_pci_driver (pcips2_driver)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Russell King <[email protected]>")
 
 MODULE_DESCRIPTION ("PCI PS/2 keyboard/mouse driver")
 

Macro Definition Documentation

#define PS2_CTRL   (0)

Definition at line 24 of file pcips2.c.

#define PS2_CTRL_CLK   (1<<0)

Definition at line 28 of file pcips2.c.

#define PS2_CTRL_DAT   (1<<1)

Definition at line 29 of file pcips2.c.

#define PS2_CTRL_ENABLE   (1<<3)

Definition at line 31 of file pcips2.c.

#define PS2_CTRL_RXIRQ   (1<<4)

Definition at line 32 of file pcips2.c.

#define PS2_CTRL_TXIRQ   (1<<2)

Definition at line 30 of file pcips2.c.

#define PS2_DATA   (2)

Definition at line 26 of file pcips2.c.

#define PS2_STAT_CLK   (1<<0)

Definition at line 34 of file pcips2.c.

#define PS2_STAT_DAT   (1<<1)

Definition at line 35 of file pcips2.c.

#define PS2_STAT_PARITY   (1<<2)

Definition at line 36 of file pcips2.c.

#define PS2_STAT_RXFULL   (1<<5)

Definition at line 37 of file pcips2.c.

#define PS2_STAT_TXBUSY   (1<<6)

Definition at line 38 of file pcips2.c.

#define PS2_STAT_TXEMPTY   (1<<7)

Definition at line 39 of file pcips2.c.

#define PS2_STATUS   (1)

Definition at line 25 of file pcips2.c.

Function Documentation

MODULE_AUTHOR ( "Russell King <[email protected]>"  )
MODULE_DESCRIPTION ( "PCI PS/2 keyboard/mouse driver )
MODULE_DEVICE_TABLE ( pci  ,
pcips2_ids   
)
MODULE_LICENSE ( "GPL"  )
module_pci_driver ( pcips2_driver  )