ReactOS 0.4.16-dev-401-g45b008d
|
Go to the source code of this file.
Classes | |
struct | _I8042_SETTINGS |
struct | _INTERRUPT_DATA |
struct | _PORT_DEVICE_EXTENSION |
struct | _I8042_DRIVER_EXTENSION |
struct | _FDO_DEVICE_EXTENSION |
struct | _I8042_KEYBOARD_EXTENSION |
struct | _I8042_MOUSE_EXTENSION |
struct | _I8042_HOOK_WORKITEM |
Enumerations | |
enum | DEVICE_STATE { dsStopped , dsStarted , dsPaused , dsRemoved , dsSurpriseRemoved , NotStarted = 0 , Started , StopPending , Stopped , RemovePending , SurpriseRemovePending , Deleted , dsStopped , dsStarted , dsPaused , dsRemoved , dsSurpriseRemoved , dsStopped , dsStarted , dsPaused , dsRemoved , dsSurpriseRemoved } |
enum | _MOUSE_TIMEOUT_STATE { NoChange , TimeoutStart , TimeoutCancel } |
enum | _I8042_DEVICE_TYPE { Unknown , Keyboard , Mouse , PhysicalDeviceObject } |
enum | _I8042_MOUSE_TYPE { GenericPS2 , Intellimouse , IntellimouseExplorer , Ps2pp } |
enum | _FLAGS { FL_NOLOOP = 0x01 , FL_INITHACK = 0x02 } |
Variables | |
IO_WORKITEM_ROUTINE | i8042SendHookWorkItem |
DRIVER_STARTIO | i8042KbdStartIo |
DRIVER_DISPATCH | i8042KbdDeviceControl |
DRIVER_DISPATCH | i8042KbdInternalDeviceControl |
KSERVICE_ROUTINE | i8042KbdInterruptService |
DRIVER_ADD_DEVICE | i8042AddDevice |
DRIVER_DISPATCH | ForwardIrpAndForget |
DRIVER_DISPATCH | i8042MouInternalDeviceControl |
KSERVICE_ROUTINE | i8042MouInterruptService |
ULONG | i8042HwFlags |
#define CCB_KBD_DISAB 0x10 |
Definition at line 262 of file i8042prt.h.
#define CCB_KBD_INT_ENAB 0x01 |
Definition at line 259 of file i8042prt.h.
#define CCB_MOUSE_DISAB 0x20 |
Definition at line 263 of file i8042prt.h.
#define CCB_MOUSE_INT_ENAB 0x02 |
Definition at line 260 of file i8042prt.h.
#define CCB_SYSTEM_FLAG 0x04 |
Definition at line 261 of file i8042prt.h.
#define CCB_TRANSLATE 0x40 |
Definition at line 264 of file i8042prt.h.
#define CTRL_SELF_TEST 0xAA |
Definition at line 225 of file i8042prt.h.
#define CTRL_WRITE_MOUSE 0xD4 |
Definition at line 228 of file i8042prt.h.
#define I8042PRT_TAG '2408' |
Definition at line 12 of file i8042prt.h.
#define i8042ReadKeyboardData | ( | DeviceExtension, | |
Data | |||
) | i8042ReadData(DeviceExtension, KBD_OBF, Data) |
Definition at line 403 of file i8042prt.h.
#define i8042ReadMouseData | ( | DeviceExtension, | |
Data | |||
) | i8042ReadData(DeviceExtension, MOU_OBF, Data) |
Definition at line 405 of file i8042prt.h.
#define KBD_ACK 0xFA |
Definition at line 242 of file i8042prt.h.
#define KBD_CLK_DISABLE 0xAD |
Definition at line 226 of file i8042prt.h.
#define KBD_CLK_ENABLE 0xAE |
Definition at line 227 of file i8042prt.h.
#define KBD_CMD_GET_ID 0xF2 |
Definition at line 235 of file i8042prt.h.
#define KBD_CMD_SET_LEDS 0xED |
Definition at line 234 of file i8042prt.h.
#define KBD_IBF 0x02 |
Definition at line 251 of file i8042prt.h.
#define KBD_LED_CAPS 0x04 |
Definition at line 272 of file i8042prt.h.
#define KBD_LED_NUM 0x02 |
Definition at line 271 of file i8042prt.h.
#define KBD_LED_SCROLL 0x01 |
Definition at line 270 of file i8042prt.h.
#define KBD_NACK 0xFC |
Definition at line 243 of file i8042prt.h.
#define KBD_OBF 0x01 |
Definition at line 250 of file i8042prt.h.
#define KBD_PERR 0x80 |
Definition at line 253 of file i8042prt.h.
#define KBD_READ_MODE 0x20 |
Definition at line 221 of file i8042prt.h.
#define KBD_RESEND 0xFE |
Definition at line 244 of file i8042prt.h.
#define KBD_SELF_TEST_OK 0x55 |
Definition at line 241 of file i8042prt.h.
#define KBD_WRITE_MODE 0x60 |
Definition at line 222 of file i8042prt.h.
#define KEYBOARD_CONNECTED 0x02 /* Keyboard received IOCTL_INTERNAL_KEYBOARD_CONNECT */ |
Definition at line 69 of file i8042prt.h.
Definition at line 71 of file i8042prt.h.
#define KEYBOARD_POWER_CODE 0x5E |
Definition at line 213 of file i8042prt.h.
Definition at line 68 of file i8042prt.h.
#define KEYBOARD_SLEEP_CODE 0x5F |
Definition at line 214 of file i8042prt.h.
#define KEYBOARD_STARTED 0x04 /* Keyboard FDO received IRP_MN_START_DEVICE */ |
Definition at line 70 of file i8042prt.h.
#define KEYBOARD_WAKE_CODE 0x63 |
Definition at line 215 of file i8042prt.h.
#define MOU_CMD_RESET 0xFF |
Definition at line 279 of file i8042prt.h.
#define MOU_ENAB 0xF4 |
Definition at line 278 of file i8042prt.h.
#define MOU_OBF 0x20 |
Definition at line 252 of file i8042prt.h.
#define MOUSE_ACK 0xFA |
Definition at line 285 of file i8042prt.h.
#define MOUSE_CONNECTED 0x20 /* Mouse received IOCTL_INTERNAL_MOUSE_CONNECT */ |
Definition at line 73 of file i8042prt.h.
#define MOUSE_ENAB 0xA8 |
Definition at line 223 of file i8042prt.h.
#define MOUSE_ERROR 0xFC |
Definition at line 286 of file i8042prt.h.
Definition at line 75 of file i8042prt.h.
#define MOUSE_LINE_TEST 0xA9 |
Definition at line 224 of file i8042prt.h.
#define MOUSE_NACK 0xFE |
Definition at line 287 of file i8042prt.h.
Definition at line 72 of file i8042prt.h.
#define MOUSE_STARTED 0x40 /* Mouse FDO received IRP_MN_START_DEVICE */ |
Definition at line 74 of file i8042prt.h.
#define WHEEL_DELTA 120 |
Definition at line 60 of file i8042prt.h.
typedef enum _I8042_DEVICE_TYPE I8042_DEVICE_TYPE |
typedef enum _I8042_MOUSE_TYPE I8042_MOUSE_TYPE |
typedef struct _I8042_SETTINGS I8042_SETTINGS |
typedef struct _INTERRUPT_DATA INTERRUPT_DATA |
typedef struct _FDO_DEVICE_EXTENSION * PFDO_DEVICE_EXTENSION |
typedef enum _I8042_DEVICE_TYPE * PI8042_DEVICE_TYPE |
typedef struct _I8042_HOOK_WORKITEM * PI8042_HOOK_WORKITEM |
Definition at line 63 of file i8042prt.h.
Definition at line 65 of file i8042prt.h.
typedef enum _I8042_MOUSE_TYPE * PI8042_MOUSE_TYPE |
typedef struct _I8042_SETTINGS * PI8042_SETTINGS |
typedef struct _INTERRUPT_DATA * PINTERRUPT_DATA |
typedef enum _MOUSE_TIMEOUT_STATE * PMOUSE_TIMEOUT_STATE |
Enumerator | |
---|---|
FL_NOLOOP | |
FL_INITHACK |
Definition at line 451 of file i8042prt.h.
Enumerator | |
---|---|
Unknown | |
Keyboard | |
Mouse | |
PhysicalDeviceObject |
Definition at line 112 of file i8042prt.h.
Enumerator | |
---|---|
GenericPS2 | |
Intellimouse | |
IntellimouseExplorer | |
Ps2pp |
Definition at line 167 of file i8042prt.h.
Enumerator | |
---|---|
NoChange | |
TimeoutStart | |
TimeoutCancel |
Definition at line 43 of file i8042prt.h.
Definition at line 14 of file i8042prt.h.
_Dispatch_type_ | ( | IRP_MJ_CLEANUP | ) |
Definition at line 2438 of file btrfs.c.
_Dispatch_type_ | ( | IRP_MJ_CLOSE | ) |
Definition at line 503 of file btrfs.c.
_Dispatch_type_ | ( | IRP_MJ_CREATE | ) |
_Dispatch_type_ | ( | IRP_MJ_PNP | ) |
Definition at line 1331 of file isapnp.c.
NTSTATUS DuplicateUnicodeString | ( | IN ULONG | Flags, |
IN PCUNICODE_STRING | SourceString, | ||
OUT PUNICODE_STRING | DestinationString | ||
) |
Definition at line 31 of file misc.c.
Referenced by DriverEntry(), FdcPdoQueryId(), PciCreateCompatibleIDsString(), PciCreateHardwareIDsString(), ReportDetectedDevice(), SearchForLegacyDrivers(), and SerenumPdoQueryId().
BOOLEAN i8042ChangeMode | ( | IN PPORT_DEVICE_EXTENSION | DeviceExtension, |
IN UCHAR | FlagsToDisable, | ||
IN UCHAR | FlagsToEnable | ||
) |
Definition at line 37 of file pnp.c.
Referenced by EnableInterrupts(), i8042BasicDetect(), and i8042DetectKeyboard().
VOID i8042Flush | ( | IN PPORT_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 21 of file readwrite.c.
Referenced by EnableInterrupts(), i8042BasicDetect(), and i8042DetectMouse().
Definition at line 185 of file hwhacks.c.
Referenced by DriverEntry().
BOOLEAN i8042IsrWritePort | ( | IN PPORT_DEVICE_EXTENSION | DeviceExtension, |
IN UCHAR | Value, | ||
IN UCHAR SelectCmd | OPTIONAL | ||
) |
Definition at line 40 of file readwrite.c.
Referenced by i8042DetectMouse(), i8042MouInitialize(), i8042MouIsrWritePort(), and StartProcedure().
VOID i8042MouHandle | ( | IN PI8042_MOUSE_EXTENSION | DeviceExtension, |
IN UCHAR | Output | ||
) |
Definition at line 68 of file mouse.c.
Referenced by i8042MouHandlePs2pp(), and i8042MouInterruptService().
VOID i8042MouHandleButtons | ( | IN PI8042_MOUSE_EXTENSION | DeviceExtension, |
IN USHORT | Mask | ||
) |
Definition at line 191 of file mouse.c.
Referenced by i8042MouHandle(), and i8042MouHandlePs2pp().
VOID i8042MouHandlePs2pp | ( | IN PI8042_MOUSE_EXTENSION | DeviceExtension, |
IN UCHAR | Input | ||
) |
Definition at line 19 of file ps2pp.c.
Referenced by i8042MouInterruptService().
NTSTATUS i8042MouInitialize | ( | IN PI8042_MOUSE_EXTENSION | DeviceExtension | ) |
Definition at line 224 of file mouse.c.
Referenced by i8042ConnectMouseInterrupt().
BOOLEAN i8042PacketIsr | ( | IN PPORT_DEVICE_EXTENSION | DeviceExtension, |
IN UCHAR | Output | ||
) |
Definition at line 271 of file i8042prt.c.
Referenced by i8042KbdInterruptService(), and i8042MouInterruptService().
NTSTATUS i8042ReadData | ( | IN PPORT_DEVICE_EXTENSION | DeviceExtension, |
IN UCHAR | StatusFlags, | ||
OUT PUCHAR | Data | ||
) |
Definition at line 56 of file readwrite.c.
Referenced by i8042Flush().
NTSTATUS i8042ReadDataWait | ( | IN PPORT_DEVICE_EXTENSION | DeviceExtension, |
OUT PUCHAR | Data | ||
) |
Definition at line 95 of file readwrite.c.
Referenced by i8042BasicDetect(), i8042ChangeMode(), i8042DetectMouse(), i8042MouInitialize(), i8042SynchReadPort(), and i8042SynchWritePort().
NTSTATUS i8042ReadStatus | ( | IN PPORT_DEVICE_EXTENSION | DeviceExtension, |
OUT PUCHAR | Status | ||
) |
Definition at line 82 of file readwrite.c.
Referenced by i8042KbdInterruptService(), i8042MouInterruptService(), and i8042ReadData().
NTSTATUS i8042StartPacket | ( | IN PPORT_DEVICE_EXTENSION | DeviceExtension, |
IN PFDO_DEVICE_EXTENSION | FdoDeviceExtension, | ||
IN PUCHAR | Bytes, | ||
IN ULONG | ByteCount, | ||
IN PIRP | Irp | ||
) |
Definition at line 329 of file i8042prt.c.
Referenced by i8042KbdStartIo().
Definition at line 125 of file readwrite.c.
Referenced by i8042SendHookWorkItem().
NTSTATUS NTAPI i8042SynchWritePort | ( | IN PPORT_DEVICE_EXTENSION | DeviceExtension, |
IN UCHAR | Port, | ||
IN UCHAR | Value, | ||
IN BOOLEAN | WaitForAck | ||
) |
Definition at line 144 of file readwrite.c.
Referenced by i8042DetectKeyboard(), and i8042SynchWritePortKbd().
Definition at line 87 of file keyboard.c.
Referenced by i8042SendHookWorkItem().
Definition at line 199 of file readwrite.c.
Referenced by i8042BasicDetect(), i8042ChangeMode(), i8042ConnectKeyboardInterrupt(), i8042DetectMouse(), i8042IsrWritePort(), i8042MouInitialize(), i8042PacketWrite(), and i8042SynchWritePort().
NTSTATUS ReadRegistryEntries | ( | IN PUNICODE_STRING | RegistryPath, |
OUT PI8042_SETTINGS | Settings | ||
) |
Definition at line 21 of file registry.c.
Referenced by DriverEntry().
DRIVER_DISPATCH ForwardIrpAndForget |
Definition at line 341 of file i8042prt.h.
Referenced by ClassCleanup(), ClassClose(), ClassCreate(), ClassDeviceControl(), ClassRead(), DriverEntry(), FdcFdoPnp(), FdoPnp(), i8042KbdDeviceControl(), i8042KbdInternalDeviceControl(), i8042MouInternalDeviceControl(), i8042Pnp(), i8042SystemControl(), PartitionHandleDeviceControl(), PartMgrDeviceControl(), PortFdoPnp(), ProcessorPnp(), SerenumFdoPnp(), SerialPnp(), SerialQueryInformation(), and SermousePnp().
DRIVER_ADD_DEVICE i8042AddDevice |
Definition at line 324 of file i8042prt.h.
Referenced by DriverEntry().
|
extern |
Definition at line 22 of file hwhacks.c.
Referenced by i8042ParseSMBiosTables(), and StartProcedure().
DRIVER_DISPATCH i8042KbdDeviceControl |
Definition at line 316 of file i8042prt.h.
Referenced by i8042DeviceControl().
DRIVER_DISPATCH i8042KbdInternalDeviceControl |
Definition at line 318 of file i8042prt.h.
Referenced by i8042InternalDeviceControl().
KSERVICE_ROUTINE i8042KbdInterruptService |
Definition at line 320 of file i8042prt.h.
Referenced by i8042ConnectKeyboardInterrupt().
DRIVER_STARTIO i8042KbdStartIo |
Definition at line 314 of file i8042prt.h.
Referenced by i8042StartIo().
DRIVER_DISPATCH i8042MouInternalDeviceControl |
Definition at line 365 of file i8042prt.h.
Referenced by i8042InternalDeviceControl().
KSERVICE_ROUTINE i8042MouInterruptService |
Definition at line 367 of file i8042prt.h.
Referenced by i8042ConnectMouseInterrupt().
IO_WORKITEM_ROUTINE i8042SendHookWorkItem |
Definition at line 295 of file i8042prt.h.
Referenced by i8042KbdInternalDeviceControl(), and i8042MouInternalDeviceControl().