Home
last modified time | relevance | path

Searched refs:MouseDev (Results 1 – 11 of 11) sorted by relevance

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/
DPs2Mouse.c137 PS2_MOUSE_DEV *MouseDev; in PS2MouseDriverStart() local
144 MouseDev = NULL; in PS2MouseDriverStart()
198 MouseDev = AllocateZeroPool (sizeof (PS2_MOUSE_DEV)); in PS2MouseDriverStart()
199 if (MouseDev == NULL) { in PS2MouseDriverStart()
206 MouseDev->Signature = PS2_MOUSE_DEV_SIGNATURE; in PS2MouseDriverStart()
207 MouseDev->Handle = Controller; in PS2MouseDriverStart()
208 MouseDev->SampleRate = SampleRate20; in PS2MouseDriverStart()
209 MouseDev->Resolution = MouseResolution4; in PS2MouseDriverStart()
210 MouseDev->Scaling = Scaling1; in PS2MouseDriverStart()
211 MouseDev->DataPackageSize = 3; in PS2MouseDriverStart()
[all …]
DCommPs2.c352 PS2_MOUSE_DEV *MouseDev in PS2MouseGetPacket() argument
381 KbcDisableAux (MouseDev->IsaIo); in PS2MouseGetPacket()
382 Status = PS2MouseRead (MouseDev->IsaIo, &Data, &Count, State); in PS2MouseGetPacket()
384 KbcEnableAux (MouseDev->IsaIo); in PS2MouseGetPacket()
389 KbcEnableAux (MouseDev->IsaIo); in PS2MouseGetPacket()
397 CheckKbStatus (MouseDev->IsaIo, &KeyboardEnable); in PS2MouseGetPacket()
398 KbcDisableKb (MouseDev->IsaIo); in PS2MouseGetPacket()
399 KbcEnableAux (MouseDev->IsaIo); in PS2MouseGetPacket()
405 Status = PS2MouseRead (MouseDev->IsaIo, (Packet + 1), &Count, State); in PS2MouseGetPacket()
408 KbcEnableKb (MouseDev->IsaIo); in PS2MouseGetPacket()
[all …]
DComponentName.c183 PS2_MOUSE_DEV *MouseDev; in Ps2MouseComponentNameGetControllerName() local
232 MouseDev = PS2_MOUSE_DEV_FROM_THIS (SimplePointerProtocol); in Ps2MouseComponentNameGetControllerName()
237 MouseDev->ControllerNameTable, in Ps2MouseComponentNameGetControllerName()
DPs2Mouse.h397 IN PS2_MOUSE_DEV *MouseDev
DCommPs2.h275 PS2_MOUSE_DEV *MouseDev
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Isa/Ps2MouseDxe/
DPs2Mouse.c160 PS2_MOUSE_DEV *MouseDev; in PS2MouseDriverStart() local
213 MouseDev = AllocateZeroPool (sizeof (PS2_MOUSE_DEV)); in PS2MouseDriverStart()
214 if (MouseDev == NULL) { in PS2MouseDriverStart()
221 MouseDev->Signature = PS2_MOUSE_DEV_SIGNATURE; in PS2MouseDriverStart()
222 MouseDev->Handle = Controller; in PS2MouseDriverStart()
223 MouseDev->SampleRate = SampleRate20; in PS2MouseDriverStart()
224 MouseDev->Resolution = MouseResolution4; in PS2MouseDriverStart()
225 MouseDev->Scaling = Scaling1; in PS2MouseDriverStart()
226 MouseDev->DataPackageSize = 3; in PS2MouseDriverStart()
227 MouseDev->DevicePath = DevicePath; in PS2MouseDriverStart()
[all …]
DComponentName.c183 PS2_MOUSE_DEV *MouseDev; in Ps2MouseComponentNameGetControllerName() local
214 MouseDev = PS2_MOUSE_DEV_FROM_THIS (SimplePointerProtocol); in Ps2MouseComponentNameGetControllerName()
219 MouseDev->ControllerNameTable, in Ps2MouseComponentNameGetControllerName()
DCommPs2.c330 PS2_MOUSE_DEV *MouseDev in PS2MouseGetPacket() argument
443 MouseDev->State.RelativeMovementX += RelativeMovementX; in PS2MouseGetPacket()
444 MouseDev->State.RelativeMovementY -= RelativeMovementY; in PS2MouseGetPacket()
445 MouseDev->State.RightButton = (UINT8) (RButton ? TRUE : FALSE); in PS2MouseGetPacket()
446 MouseDev->State.LeftButton = (UINT8) (LButton ? TRUE : FALSE); in PS2MouseGetPacket()
447 MouseDev->StateChanged = TRUE; in PS2MouseGetPacket()
DCommPs2.h255 PS2_MOUSE_DEV *MouseDev
DPs2Mouse.h396 IN PS2_MOUSE_DEV *MouseDev
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe/
DUsbMouse.c861 USB_MOUSE_DEV *MouseDev; in GetMouseState() local
867 MouseDev = USB_MOUSE_DEV_FROM_MOUSE_PROTOCOL (This); in GetMouseState()
869 if (!MouseDev->StateChanged) { in GetMouseState()
878 &MouseDev->State, in GetMouseState()
885 MouseDev->State.RelativeMovementX = 0; in GetMouseState()
886 MouseDev->State.RelativeMovementY = 0; in GetMouseState()
887 MouseDev->State.RelativeMovementZ = 0; in GetMouseState()
889 MouseDev->StateChanged = FALSE; in GetMouseState()