Go to the documentation of this file.
17 #if defined(CONFIG_MACH_JAZZ)
19 #elif defined(CONFIG_SGI_HAS_I8042)
21 #elif defined(CONFIG_SNI_RM)
23 #elif defined(CONFIG_PPC)
25 #elif defined(CONFIG_SPARC)
27 #elif defined(CONFIG_X86) || defined(CONFIG_IA64)
29 #elif defined(CONFIG_UNICORE32)
41 #define I8042_CTL_TIMEOUT 10000
47 #define I8042_STR_PARITY 0x80
48 #define I8042_STR_TIMEOUT 0x40
49 #define I8042_STR_AUXDATA 0x20
50 #define I8042_STR_KEYLOCK 0x10
51 #define I8042_STR_CMDDAT 0x08
52 #define I8042_STR_MUXERR 0x04
53 #define I8042_STR_IBF 0x02
54 #define I8042_STR_OBF 0x01
60 #define I8042_CTR_KBDINT 0x01
61 #define I8042_CTR_AUXINT 0x02
62 #define I8042_CTR_IGNKEYLOCK 0x08
63 #define I8042_CTR_KBDDIS 0x10
64 #define I8042_CTR_AUXDIS 0x20
65 #define I8042_CTR_XLATE 0x40
71 #define I8042_RET_CTL_TEST 0x55
78 #define I8042_BUFFER_SIZE 16
85 #define I8042_NUM_MUX_PORTS 4
92 static unsigned long i8042_start_time;
93 #define dbg_init() do { i8042_start_time = jiffies; } while (0)
94 #define dbg(format, arg...) \
97 printk(KERN_DEBUG KBUILD_MODNAME ": [%d] " format, \
98 (int) (jiffies - i8042_start_time), ##arg); \
101 #define dbg_init() do { } while (0)
102 #define dbg(format, arg...) \
105 printk(KERN_DEBUG pr_fmt(format), ##arg); \