Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
i8042.h File Reference
#include "i8042-io.h"

Go to the source code of this file.

Macros

#define I8042_CTL_TIMEOUT   10000
 
#define I8042_STR_PARITY   0x80
 
#define I8042_STR_TIMEOUT   0x40
 
#define I8042_STR_AUXDATA   0x20
 
#define I8042_STR_KEYLOCK   0x10
 
#define I8042_STR_CMDDAT   0x08
 
#define I8042_STR_MUXERR   0x04
 
#define I8042_STR_IBF   0x02
 
#define I8042_STR_OBF   0x01
 
#define I8042_CTR_KBDINT   0x01
 
#define I8042_CTR_AUXINT   0x02
 
#define I8042_CTR_IGNKEYLOCK   0x08
 
#define I8042_CTR_KBDDIS   0x10
 
#define I8042_CTR_AUXDIS   0x20
 
#define I8042_CTR_XLATE   0x40
 
#define I8042_RET_CTL_TEST   0x55
 
#define I8042_BUFFER_SIZE   16
 
#define I8042_NUM_MUX_PORTS   4
 
#define dbg_init()   do { } while (0)
 
#define dbg(format, arg...)
 

Macro Definition Documentation

#define dbg (   format,
  arg... 
)
Value:
do { \
if (0) \
printk(KERN_DEBUG pr_fmt(format), ##arg); \
} while (0)

Definition at line 102 of file i8042.h.

#define dbg_init ( )    do { } while (0)

Definition at line 101 of file i8042.h.

#define I8042_BUFFER_SIZE   16

Definition at line 78 of file i8042.h.

#define I8042_CTL_TIMEOUT   10000

Definition at line 41 of file i8042.h.

#define I8042_CTR_AUXDIS   0x20

Definition at line 64 of file i8042.h.

#define I8042_CTR_AUXINT   0x02

Definition at line 61 of file i8042.h.

#define I8042_CTR_IGNKEYLOCK   0x08

Definition at line 62 of file i8042.h.

#define I8042_CTR_KBDDIS   0x10

Definition at line 63 of file i8042.h.

#define I8042_CTR_KBDINT   0x01

Definition at line 60 of file i8042.h.

#define I8042_CTR_XLATE   0x40

Definition at line 65 of file i8042.h.

#define I8042_NUM_MUX_PORTS   4

Definition at line 85 of file i8042.h.

#define I8042_RET_CTL_TEST   0x55

Definition at line 71 of file i8042.h.

#define I8042_STR_AUXDATA   0x20

Definition at line 49 of file i8042.h.

#define I8042_STR_CMDDAT   0x08

Definition at line 51 of file i8042.h.

#define I8042_STR_IBF   0x02

Definition at line 53 of file i8042.h.

#define I8042_STR_KEYLOCK   0x10

Definition at line 50 of file i8042.h.

#define I8042_STR_MUXERR   0x04

Definition at line 52 of file i8042.h.

#define I8042_STR_OBF   0x01

Definition at line 54 of file i8042.h.

#define I8042_STR_PARITY   0x80

Definition at line 47 of file i8042.h.

#define I8042_STR_TIMEOUT   0x40

Definition at line 48 of file i8042.h.