TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS | KbcSelfTest (VOID) |
EFI_STATUS | KbcEnableAux (VOID) |
EFI_STATUS | KbcDisableAux (VOID) |
EFI_STATUS | KbcEnableKb (VOID) |
EFI_STATUS | KbcDisableKb (VOID) |
EFI_STATUS | CheckKbStatus (OUT BOOLEAN *KeyboardEnable) |
EFI_STATUS | PS2MouseReset (VOID) |
EFI_STATUS | PS2MouseSetSampleRate (IN MOUSE_SR SampleRate) |
EFI_STATUS | PS2MouseSetResolution (IN MOUSE_RE Resolution) |
EFI_STATUS | PS2MouseSetScaling (IN MOUSE_SF Scaling) |
EFI_STATUS | PS2MouseEnable (VOID) |
EFI_STATUS | PS2MouseGetPacket (PS2_MOUSE_DEV *MouseDev) |
EFI_STATUS | PS2MouseRead (OUT UINT8 *Buffer, IN OUT UINTN *BufSize, IN UINTN State) |
EFI_STATUS | Out8042Command (IN UINT8 Command) |
EFI_STATUS | Out8042Data (IN UINT8 Data) |
EFI_STATUS | In8042Data (IN OUT UINT8 *Data) |
EFI_STATUS | Out8042AuxCommand (IN UINT8 Command, IN BOOLEAN Resend) |
EFI_STATUS | Out8042AuxData (IN UINT8 Data) |
EFI_STATUS | In8042AuxData (IN OUT UINT8 *Data) |
EFI_STATUS | CheckForInput (VOID) |
EFI_STATUS | WaitInputEmpty (IN UINTN Timeout) |
EFI_STATUS | WaitOutputFull (IN UINTN Timeout) |
Variables | |
UINT8 | SampleRateTbl [MaxSampleRate] = { 0xa, 0x14, 0x28, 0x3c, 0x50, 0x64, 0xc8 } |
UINT8 | ResolutionTbl [MaxResolution] = { 0, 1, 2, 3 } |
PS2 Mouse Communication Interface.
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file CommPs2.c.
EFI_STATUS CheckForInput | ( | VOID | ) |
EFI_STATUS CheckKbStatus | ( | OUT BOOLEAN * | KeyboardEnable | ) |
EFI_STATUS In8042AuxData | ( | IN OUT UINT8 * | Data | ) |
EFI_STATUS In8042Data | ( | IN OUT UINT8 * | Data | ) |
EFI_STATUS KbcDisableAux | ( | VOID | ) |
EFI_STATUS KbcDisableKb | ( | VOID | ) |
EFI_STATUS KbcEnableAux | ( | VOID | ) |
EFI_STATUS KbcEnableKb | ( | VOID | ) |
EFI_STATUS KbcSelfTest | ( | VOID | ) |
EFI_STATUS Out8042AuxCommand | ( | IN UINT8 | Command, |
IN BOOLEAN | Resend | ||
) |
EFI_STATUS Out8042AuxData | ( | IN UINT8 | Data | ) |
EFI_STATUS Out8042Command | ( | IN UINT8 | Command | ) |
EFI_STATUS Out8042Data | ( | IN UINT8 | Data | ) |
EFI_STATUS PS2MouseEnable | ( | VOID | ) |
EFI_STATUS PS2MouseGetPacket | ( | PS2_MOUSE_DEV * | MouseDev | ) |
Get mouse packet . Only care first 3 bytes
MouseDev | Pointer of PS2 Mouse Private Data Structure |
EFI_NOT_READY | Mouse Device not ready to input data packet, or some error happened during getting the packet |
EFI_SUCCESS | The data packet is gotten successfully. |
EFI_STATUS PS2MouseReset | ( | VOID | ) |
EFI_STATUS PS2MouseSetResolution | ( | IN MOUSE_RE | Resolution | ) |
EFI_STATUS PS2MouseSetSampleRate | ( | IN MOUSE_SR | SampleRate | ) |
EFI_STATUS PS2MouseSetScaling | ( | IN MOUSE_SF | Scaling | ) |
EFI_STATUS WaitInputEmpty | ( | IN UINTN | Timeout | ) |
EFI_STATUS WaitOutputFull | ( | IN UINTN | Timeout | ) |