Tegra: Split tegra_get_chip_type() into soc & sku funcs
[oweals/u-boot.git] / include / i8042.h
index aeb3f090d03e3d2498220a12d2bfd1c0a68404bb..c48c0573749637830c2b601982df83b903c4423d 100644 (file)
@@ -75,6 +75,19 @@ enum {
 
 /* exports */
 
+/**
+ * Flush all buffer from keyboard controller to host.
+ */
+void i8042_flush(void);
+
+/**
+ * Disables the keyboard so that key strokes no longer generate scancodes to
+ * the host.
+ *
+ * @return 0 if ok, -1 if keyboard input was found while disabling
+ */
+int i8042_disable(void);
+
 int i8042_kbd_init(void);
 int i8042_tstc(void);
 int i8042_getc(void);