29 TRACE_(I8042PRT,
"Output data flushed\n");
35 TRACE_(I8042PRT,
"Input data flushed\n");
46 if (!
i8042Write(DeviceExtension, DeviceExtension->ControlPort, SelectCmd))
102 Counter = DeviceExtension->Settings.PollingIterations;
152 ULONG ResendIterations;
154 ResendIterations = DeviceExtension->Settings.ResendIterations + 1;
159 if (!
i8042Write(DeviceExtension, DeviceExtension->DataPort,
Port))
161 WARN_(I8042PRT,
"Failed to write Port\n");
167 WARN_(I8042PRT,
"Failed to write Value\n");
176 WARN_(I8042PRT,
"Failed to read Ack\n");
182 INFO_(I8042PRT,
"i8042 asks for a data resend\n");
188 TRACE_(I8042PRT,
"Reiterating\n");
190 }
while (ResendIterations);
209 Counter = DeviceExtension->Settings.PollingIterations;
#define NT_SUCCESS(StatCode)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum const GLvoid * addr
_Outptr_ PUSB_DEVICE_HANDLE _In_ PUSB_DEVICE_HANDLE _In_ USHORT PortStatus
struct _PORT_DEVICE_EXTENSION * PPORT_DEVICE_EXTENSION
#define i8042ReadKeyboardData(DeviceExtension, Data)
#define KeStallExecutionProcessor(MicroSeconds)
#define UNREFERENCED_PARAMETER(P)
#define READ_PORT_UCHAR(p)
#define WRITE_PORT_UCHAR(p, d)
PULONG MinorVersion OPTIONAL
static LARGE_INTEGER Counter
#define STATUS_IO_TIMEOUT
#define STATUS_UNSUCCESSFUL
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value