|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/init.h>#include <linux/input.h>#include <linux/serio.h>#include <linux/errno.h>#include <linux/interrupt.h>#include <linux/ioport.h>#include <linux/delay.h>#include <linux/device.h>#include <linux/slab.h>#include <linux/spinlock.h>#include <asm/io.h>#include <asm/hardware/sa1111.h>Go to the source code of this file.
Data Structures | |
| struct | ps2if |
Macros | |
| #define | PS2CR 0x0000 |
| #define | PS2STAT 0x0004 |
| #define | PS2DATA 0x0008 |
| #define | PS2CLKDIV 0x000c |
| #define | PS2PRECNT 0x0010 |
| #define | PS2CR_ENA 0x08 |
| #define | PS2CR_FKD 0x02 |
| #define | PS2CR_FKC 0x01 |
| #define | PS2STAT_STP 0x0100 |
| #define | PS2STAT_TXE 0x0080 |
| #define | PS2STAT_TXB 0x0040 |
| #define | PS2STAT_RXF 0x0020 |
| #define | PS2STAT_RXB 0x0010 |
| #define | PS2STAT_ENA 0x0008 |
| #define | PS2STAT_RXP 0x0004 |
| #define | PS2STAT_KBD 0x0002 |
| #define | PS2STAT_KBC 0x0001 |
Functions | |
| module_init (ps2_init) | |
| module_exit (ps2_exit) | |
| MODULE_AUTHOR ("Russell King <[email protected]>") | |
| MODULE_DESCRIPTION ("SA1111 PS2 controller driver") | |
| MODULE_LICENSE ("GPL") | |
| #define PS2CLKDIV 0x000c |
Definition at line 29 of file sa1111ps2.c.
| #define PS2CR 0x0000 |
Definition at line 26 of file sa1111ps2.c.
| #define PS2CR_ENA 0x08 |
Definition at line 32 of file sa1111ps2.c.
| #define PS2CR_FKC 0x01 |
Definition at line 34 of file sa1111ps2.c.
| #define PS2CR_FKD 0x02 |
Definition at line 33 of file sa1111ps2.c.
| #define PS2DATA 0x0008 |
Definition at line 28 of file sa1111ps2.c.
| #define PS2PRECNT 0x0010 |
Definition at line 30 of file sa1111ps2.c.
| #define PS2STAT 0x0004 |
Definition at line 27 of file sa1111ps2.c.
| #define PS2STAT_ENA 0x0008 |
Definition at line 41 of file sa1111ps2.c.
| #define PS2STAT_KBC 0x0001 |
Definition at line 44 of file sa1111ps2.c.
| #define PS2STAT_KBD 0x0002 |
Definition at line 43 of file sa1111ps2.c.
| #define PS2STAT_RXB 0x0010 |
Definition at line 40 of file sa1111ps2.c.
| #define PS2STAT_RXF 0x0020 |
Definition at line 39 of file sa1111ps2.c.
| #define PS2STAT_RXP 0x0004 |
Definition at line 42 of file sa1111ps2.c.
| #define PS2STAT_STP 0x0100 |
Definition at line 36 of file sa1111ps2.c.
| #define PS2STAT_TXB 0x0040 |
Definition at line 38 of file sa1111ps2.c.
| #define PS2STAT_TXE 0x0080 |
Definition at line 37 of file sa1111ps2.c.
| MODULE_AUTHOR | ( | "Russell King <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "SA1111 PS2 controller driver" | ) |
| module_exit | ( | ps2_exit | ) |
| module_init | ( | ps2_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2