i8042.h 824 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef _LINUX_I8042_H
  2. #define _LINUX_I8042_H
  3. /*
  4. * This program is free software; you can redistribute it and/or modify it
  5. * under the terms of the GNU General Public License version 2 as published by
  6. * the Free Software Foundation.
  7. */
  8. /*
  9. * Standard commands.
  10. */
  11. #define I8042_CMD_CTL_RCTR 0x0120
  12. #define I8042_CMD_CTL_WCTR 0x1060
  13. #define I8042_CMD_CTL_TEST 0x01aa
  14. #define I8042_CMD_KBD_DISABLE 0x00ad
  15. #define I8042_CMD_KBD_ENABLE 0x00ae
  16. #define I8042_CMD_KBD_TEST 0x01ab
  17. #define I8042_CMD_KBD_LOOP 0x11d2
  18. #define I8042_CMD_AUX_DISABLE 0x00a7
  19. #define I8042_CMD_AUX_ENABLE 0x00a8
  20. #define I8042_CMD_AUX_TEST 0x01a9
  21. #define I8042_CMD_AUX_SEND 0x10d4
  22. #define I8042_CMD_AUX_LOOP 0x11d3
  23. #define I8042_CMD_MUX_PFX 0x0090
  24. #define I8042_CMD_MUX_SEND 0x1090
  25. int i8042_command(unsigned char *param, int command);
  26. #endif