-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/dtor/input * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: appletouch - apply idle reset logic to all touchpads Input: usbtouchscreen - add support for GoTop tablet devices Input: bf54x-keys - return real error when request_irq() fails Input: i8042 - export i8042_command()
- Loading branch information
Showing
7 changed files
with
89 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#ifndef _LINUX_I8042_H | ||
#define _LINUX_I8042_H | ||
|
||
/* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License version 2 as published by | ||
* the Free Software Foundation. | ||
*/ | ||
|
||
|
||
/* | ||
* Standard commands. | ||
*/ | ||
|
||
#define I8042_CMD_CTL_RCTR 0x0120 | ||
#define I8042_CMD_CTL_WCTR 0x1060 | ||
#define I8042_CMD_CTL_TEST 0x01aa | ||
|
||
#define I8042_CMD_KBD_DISABLE 0x00ad | ||
#define I8042_CMD_KBD_ENABLE 0x00ae | ||
#define I8042_CMD_KBD_TEST 0x01ab | ||
#define I8042_CMD_KBD_LOOP 0x11d2 | ||
|
||
#define I8042_CMD_AUX_DISABLE 0x00a7 | ||
#define I8042_CMD_AUX_ENABLE 0x00a8 | ||
#define I8042_CMD_AUX_TEST 0x01a9 | ||
#define I8042_CMD_AUX_SEND 0x10d4 | ||
#define I8042_CMD_AUX_LOOP 0x11d3 | ||
|
||
#define I8042_CMD_MUX_PFX 0x0090 | ||
#define I8042_CMD_MUX_SEND 0x1090 | ||
|
||
int i8042_command(unsigned char *param, int command); | ||
|
||
#endif |