Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ps2mult.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/serio.h>

Go to the source code of this file.

Data Structures

struct  ps2mult_port
 
struct  ps2mult
 

Macros

#define PS2MULT_KB_SELECTOR   0xA0
 
#define PS2MULT_MS_SELECTOR   0xA1
 
#define PS2MULT_ESCAPE   0x7D
 
#define PS2MULT_BSYNC   0x7E
 
#define PS2MULT_SESSION_START   0x55
 
#define PS2MULT_SESSION_END   0x56
 
#define PS2MULT_NUM_PORTS   2
 
#define PS2MULT_KBD_PORT   0
 
#define PS2MULT_MOUSE_PORT   1
 

Functions

 MODULE_AUTHOR ("Dmitry Eremin-Solenikov <[email protected]>")
 
 MODULE_DESCRIPTION ("TQC PS/2 Multiplexer driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (serio, ps2mult_serio_ids)
 
 module_serio_driver (ps2mult_drv)
 

Macro Definition Documentation

#define PS2MULT_BSYNC   0x7E

Definition at line 24 of file ps2mult.c.

#define PS2MULT_ESCAPE   0x7D

Definition at line 23 of file ps2mult.c.

#define PS2MULT_KB_SELECTOR   0xA0

Definition at line 21 of file ps2mult.c.

#define PS2MULT_KBD_PORT   0

Definition at line 35 of file ps2mult.c.

#define PS2MULT_MOUSE_PORT   1

Definition at line 36 of file ps2mult.c.

#define PS2MULT_MS_SELECTOR   0xA1

Definition at line 22 of file ps2mult.c.

#define PS2MULT_NUM_PORTS   2

Definition at line 34 of file ps2mult.c.

#define PS2MULT_SESSION_END   0x56

Definition at line 26 of file ps2mult.c.

#define PS2MULT_SESSION_START   0x55

Definition at line 25 of file ps2mult.c.

Function Documentation

MODULE_AUTHOR ( "Dmitry Eremin-Solenikov <[email protected]>"  )
MODULE_DESCRIPTION ( "TQC PS/2 Multiplexer driver )
MODULE_DEVICE_TABLE ( serio  ,
ps2mult_serio_ids   
)
MODULE_LICENSE ( "GPL"  )
module_serio_driver ( ps2mult_drv  )