aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i8042.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/i8042.h')
-rw-r--r--include/linux/i8042.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/i8042.h b/include/linux/i8042.h
index a986ff588944..0f9bafa17a02 100644
--- a/include/linux/i8042.h
+++ b/include/linux/i8042.h
@@ -31,6 +31,30 @@
31#define I8042_CMD_MUX_PFX 0x0090 31#define I8042_CMD_MUX_PFX 0x0090
32#define I8042_CMD_MUX_SEND 0x1090 32#define I8042_CMD_MUX_SEND 0x1090
33 33
34/*
35 * Status register bits.
36 */
37
38#define I8042_STR_PARITY 0x80
39#define I8042_STR_TIMEOUT 0x40
40#define I8042_STR_AUXDATA 0x20
41#define I8042_STR_KEYLOCK 0x10
42#define I8042_STR_CMDDAT 0x08
43#define I8042_STR_MUXERR 0x04
44#define I8042_STR_IBF 0x02
45#define I8042_STR_OBF 0x01
46
47/*
48 * Control register bits.
49 */
50
51#define I8042_CTR_KBDINT 0x01
52#define I8042_CTR_AUXINT 0x02
53#define I8042_CTR_IGNKEYLOCK 0x08
54#define I8042_CTR_KBDDIS 0x10
55#define I8042_CTR_AUXDIS 0x20
56#define I8042_CTR_XLATE 0x40
57
34struct serio; 58struct serio;
35 59
36#if defined(CONFIG_SERIO_I8042) || defined(CONFIG_SERIO_I8042_MODULE) 60#if defined(CONFIG_SERIO_I8042) || defined(CONFIG_SERIO_I8042_MODULE)