Home
last modified time | relevance | path

Searched refs:SetupPacket (Results 1 – 25 of 38) sorted by relevance

12

/reactos/drivers/usb/usbport/
H A Durb.c20 PUSB_DEFAULT_PIPE_SETUP_PACKET SetupPacket; in USBPORT_HandleGetConfiguration() local
29 SetupPacket->wValue.W = 0; in USBPORT_HandleGetConfiguration()
30 SetupPacket->wIndex.W = 0; in USBPORT_HandleGetConfiguration()
36 USBPORT_DumpingSetupPacket(SetupPacket); in USBPORT_HandleGetConfiguration()
205 SetupPacket.wValue.W = 0; in USBPORT_ClearStall()
207 SetupPacket.wLength = 0; in USBPORT_ClearStall()
211 &SetupPacket, in USBPORT_ClearStall()
316 SetupPacket->wLength = 0; in USBPORT_HandleSetOrClearFeature()
421 SetupPacket->bmRequestType.B = 0; in USBPORT_HandleGetStatus()
425 SetupPacket->wValue.W = 0; in USBPORT_HandleGetStatus()
[all …]
H A Droothub.c117 SetupPacket->bRequest, in USBPORT_RootHubClassCommand()
124 Port = SetupPacket->wIndex.W; in USBPORT_RootHubClassCommand()
126 switch (SetupPacket->bRequest) in USBPORT_RootHubClassCommand()
347 SetupPacket->bRequest, in USBPORT_RootHubStandardCommand()
354 switch (SetupPacket->bRequest) in USBPORT_RootHubStandardCommand()
400 if (!SetupPacket->wValue.W && in USBPORT_RootHubStandardCommand()
419 if (SetupPacket->wValue.W || in USBPORT_RootHubStandardCommand()
420 SetupPacket->wIndex.W || in USBPORT_RootHubStandardCommand()
442 !SetupPacket->wLength && in USBPORT_RootHubStandardCommand()
458 !SetupPacket->wLength && in USBPORT_RootHubStandardCommand()
[all …]
H A Ddevice.c32 SetupPacket, in USBPORT_SendSetupPacket()
51 SetupPacket, in USBPORT_SendSetupPacket()
285 RtlZeroMemory(&SetupPacket, sizeof(SetupPacket)); in USBPORT_OpenInterface()
293 SetupPacket.wLength = 0; in USBPORT_OpenInterface()
612 SetupPacket.wValue.W = 0; in USBPORT_HandleSelectConfiguration()
613 SetupPacket.wIndex.W = 0; in USBPORT_HandleSelectConfiguration()
614 SetupPacket.wLength = 0; in USBPORT_HandleSelectConfiguration()
674 SetupPacket.bmRequestType.B = 0; in USBPORT_HandleSelectConfiguration()
677 SetupPacket.wIndex.W = 0; in USBPORT_HandleSelectConfiguration()
678 SetupPacket.wLength = 0; in USBPORT_HandleSelectConfiguration()
[all …]
H A Ddebug.c212 USBPORT_DumpingSetupPacket(IN PUSB_DEFAULT_PIPE_SETUP_PACKET SetupPacket) in USBPORT_DumpingSetupPacket() argument
214 DPRINT("SetupPacket->bmRequestType.B - %x\n", SetupPacket->bmRequestType.B); in USBPORT_DumpingSetupPacket()
215 DPRINT("SetupPacket->bRequest - %x\n", SetupPacket->bRequest); in USBPORT_DumpingSetupPacket()
216 DPRINT("SetupPacket->wValue.LowByte - %x\n", SetupPacket->wValue.LowByte); in USBPORT_DumpingSetupPacket()
217 DPRINT("SetupPacket->wValue.HiByte - %x\n", SetupPacket->wValue.HiByte); in USBPORT_DumpingSetupPacket()
218 DPRINT("SetupPacket->wIndex.W - %x\n", SetupPacket->wIndex.W); in USBPORT_DumpingSetupPacket()
219 DPRINT("SetupPacket->wLength - %x\n", SetupPacket->wLength); in USBPORT_DumpingSetupPacket()
226 PUSB_DEFAULT_PIPE_SETUP_PACKET SetupPacket; in USBPORT_DumpingURB() local
251 SetupPacket = (PUSB_DEFAULT_PIPE_SETUP_PACKET)&Urb->UrbControlTransfer.SetupPacket; in USBPORT_DumpingURB()
252 USBPORT_DumpingSetupPacket(SetupPacket); in USBPORT_DumpingURB()
H A Dusbport.h800 IN PUSB_DEFAULT_PIPE_SETUP_PACKET SetupPacket);
881 IN PUSB_DEFAULT_PIPE_SETUP_PACKET SetupPacket,
H A Dqueue.c1120 RtlCopyMemory(&Parameters->SetupPacket, in USBPORT_QueueTransferUrb()
1121 Urb->UrbControlTransfer.SetupPacket, in USBPORT_QueueTransferUrb()
/reactos/sdk/lib/drivers/wdf/shared/targets/usb/um/
H A Dfxusbdeviceum.cpp501 __in PWDF_USB_CONTROL_SETUP_PACKET SetupPacket, in FormatControlRequest() argument
549 pContext->StoreAndReferenceMemory(this, RequestBuffer, SetupPacket); in FormatControlRequest()
560 __in PWDF_USB_CONTROL_SETUP_PACKET SetupPacket in StoreAndReferenceMemory() argument
570 m_UmUrb.UmUrbControlTransfer.SetupPacket.RequestType = SetupPacket->Packet.bm.Byte; in StoreAndReferenceMemory()
571 m_UmUrb.UmUrbControlTransfer.SetupPacket.Request = SetupPacket->Packet.bRequest; in StoreAndReferenceMemory()
572 m_UmUrb.UmUrbControlTransfer.SetupPacket.Value = SetupPacket->Packet.wValue.Value; in StoreAndReferenceMemory()
573 m_UmUrb.UmUrbControlTransfer.SetupPacket.Index = SetupPacket->Packet.wIndex.Value; in StoreAndReferenceMemory()
582 m_UmUrb.UmUrbControlTransfer.SetupPacket.Length = in StoreAndReferenceMemory()
/reactos/sdk/lib/drivers/wdf/shared/targets/usb/km/
H A Dfxusbdevicekm.cpp590 __in PWDF_USB_CONTROL_SETUP_PACKET SetupPacket, in FormatControlRequest() argument
673 pContext->StoreAndReferenceMemory(this, RequestBuffer, SetupPacket); in FormatControlRequest()
691 __in PWDF_USB_CONTROL_SETUP_PACKET SetupPacket in StoreAndReferenceMemory() argument
710 RtlCopyMemory(&m_Urb->SetupPacket[0], in StoreAndReferenceMemory()
711 &SetupPacket->Generic.Bytes[0], in StoreAndReferenceMemory()
712 sizeof(m_Urb->SetupPacket)); in StoreAndReferenceMemory()
717 ((PWDF_USB_CONTROL_SETUP_PACKET) &m_Urb->SetupPacket[0])->Packet.wLength = in StoreAndReferenceMemory()
729 if (SetupPacket->Packet.bm.Request.Dir == BMREQUEST_DEVICE_TO_HOST) { in StoreAndReferenceMemory()
/reactos/sdk/lib/drivers/wdf/shared/targets/usb/
H A Dfxusbdeviceapi.cpp964 PWDF_USB_CONTROL_SETUP_PACKET SetupPacket, in __drv_maxIRQL()
1024 FxPointerNotNull(pFxDriverGlobals, SetupPacket); in __drv_maxIRQL()
1047 SetupPacket, in __drv_maxIRQL()
1089 PWDF_USB_CONTROL_SETUP_PACKET SetupPacket, in __drv_maxIRQL()
1137 FxPointerNotNull(pFxDriverGlobals, SetupPacket); in __drv_maxIRQL()
1161 status = pUsbDevice->FormatControlRequest(pRequest, SetupPacket, &buf); in __drv_maxIRQL()
1169 &pContext->m_UsbParameters.Parameters.DeviceControlTransfer.SetupPacket, in __drv_maxIRQL()
1170 SetupPacket, in __drv_maxIRQL()
1171 sizeof(*SetupPacket) in __drv_maxIRQL()
/reactos/drivers/usb/usbohci/
H A Dusbohci.c60 if (TD->HwTD.SetupPacket.bmRequestType.B) in OHCI_DumpHcdTD()
62 if (TD->HwTD.SetupPacket.bRequest) in OHCI_DumpHcdTD()
63 DPRINT("bRequest - %02X\n", TD->HwTD.SetupPacket.bRequest); in OHCI_DumpHcdTD()
64 if (TD->HwTD.SetupPacket.wValue.W) in OHCI_DumpHcdTD()
65 DPRINT("wValue - %04X\n", TD->HwTD.SetupPacket.wValue.W); in OHCI_DumpHcdTD()
66 if (TD->HwTD.SetupPacket.wIndex.W) in OHCI_DumpHcdTD()
68 if (TD->HwTD.SetupPacket.wLength) in OHCI_DumpHcdTD()
69 DPRINT("wLength - %04X\n", TD->HwTD.SetupPacket.wLength); in OHCI_DumpHcdTD()
1315 RtlCopyMemory(&SetupTD->HwTD.SetupPacket, in OHCI_ControlTransfer()
1316 &TransferParameters->SetupPacket, in OHCI_ControlTransfer()
[all …]
H A Dusbohci.h51 USB_DEFAULT_PIPE_SETUP_PACKET SetupPacket; member
/reactos/drivers/usb/usbuhci/
H A Dusbuhci.c45 if (TD->SetupPacket.bmRequestType.B) in UhciDumpHcdTD()
47 if (TD->SetupPacket.bRequest) in UhciDumpHcdTD()
48 DPRINT("bRequest - %02X\n", TD->SetupPacket.bRequest); in UhciDumpHcdTD()
49 if (TD->SetupPacket.wValue.W) in UhciDumpHcdTD()
50 DPRINT("wValue - %04X\n", TD->SetupPacket.wValue.W); in UhciDumpHcdTD()
51 if (TD->SetupPacket.wIndex.W) in UhciDumpHcdTD()
52 DPRINT("wIndex - %04X\n", TD->SetupPacket.wIndex.W); in UhciDumpHcdTD()
53 if (TD->SetupPacket.wLength) in UhciDumpHcdTD()
54 DPRINT("wLength - %04X\n", TD->SetupPacket.wLength); in UhciDumpHcdTD()
1299 RtlCopyMemory(&FirstTD->SetupPacket, in UhciControlTransfer()
[all …]
H A Dusbuhci.h47 USB_DEFAULT_PIPE_SETUP_PACKET SetupPacket; member
/reactos/sdk/include/wdf/kmdf/1.17/
H A Dwdfusb.h344 WDF_USB_CONTROL_SETUP_PACKET SetupPacket; member
1337 PWDF_USB_CONTROL_SETUP_PACKET SetupPacket,
1356 PWDF_USB_CONTROL_SETUP_PACKET SetupPacket, in _IRQL_requires_max_()
1363 …uslyTableIndex])(WdfDriverGlobals, UsbDevice, Request, RequestOptions, SetupPacket, MemoryDescript… in _IRQL_requires_max_()
1382 PWDF_USB_CONTROL_SETUP_PACKET SetupPacket,
1399 PWDF_USB_CONTROL_SETUP_PACKET SetupPacket, in _IRQL_requires_max_()
1406 …stForControlTransferTableIndex])(WdfDriverGlobals, UsbDevice, Request, SetupPacket, TransferMemory… in _IRQL_requires_max_()
/reactos/sdk/include/psdk/
H A Dusb.h475 UCHAR SetupPacket[8]; member
492 UCHAR SetupPacket[8]; member
H A Dusbioctl.h336 } SetupPacket; member
/reactos/drivers/usb/usbhub/
H A Dioctl.c1050 RequestBufferLength = UsbRequest->SetupPacket.wLength; in USBH_IoctlGetDescriptor()
1083 if (UsbRequest->SetupPacket.bmRequest == USB_CONFIGURATION_DESCRIPTOR_TYPE && in USBH_IoctlGetDescriptor()
1117 RtlCopyMemory(Urb->SetupPacket, in USBH_IoctlGetDescriptor()
1118 &UsbRequest->SetupPacket, in USBH_IoctlGetDescriptor()
/reactos/sdk/lib/drivers/wdf/shared/inc/private/um/
H A Dumusb.h89 IN WINUSB_SETUP_PACKET SetupPacket; member
/reactos/drivers/usb/usbehci/
H A Dusbehci.h67 USB_DEFAULT_PIPE_SETUP_PACKET SetupPacket; member
H A Dusbehci.c1968 FirstTD->HwTD.Buffer[0] = FirstTD->PhysicalAddress + FIELD_OFFSET(EHCI_HCD_TD, SetupPacket); in EHCI_ControlTransfer()
1983 FirstTD->HwTD.Token.TransferBytes = sizeof(FirstTD->SetupPacket); in EHCI_ControlTransfer()
1985 RtlCopyMemory(&FirstTD->SetupPacket, in EHCI_ControlTransfer()
1986 &TransferParameters->SetupPacket, in EHCI_ControlTransfer()
1987 sizeof(FirstTD->SetupPacket)); in EHCI_ControlTransfer()
/reactos/sdk/lib/drivers/wdf/shared/inc/private/common/
H A Dfxusbdevice.hpp62 __in PWDF_USB_CONTROL_SETUP_PACKET SetupPacket
/reactos/sdk/include/reactos/drivers/usbport/
H A Dusbmport.h101 USB_DEFAULT_PIPE_SETUP_PACKET SetupPacket; member
/reactos/sdk/lib/drivers/wdf/kmdf/inc/private/
H A Dwdf10.h1772 WDF_USB_CONTROL_SETUP_PACKET SetupPacket; member
H A Dwdf11.h1802 WDF_USB_CONTROL_SETUP_PACKET SetupPacket; member
H A Dwdf19.h2012 WDF_USB_CONTROL_SETUP_PACKET SetupPacket; member

12