Searched refs:Cbw (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbBotPei/
H A DBotPeim.c115 CBW Cbw; local
122 ZeroMem (&Cbw, sizeof (CBW));
127 Cbw.Signature = CBWSIG;
128 Cbw.Tag = 0x01;
129 Cbw.DataTransferLength = DataTransferLength;
130 Cbw.Flags = (UINT8) ((Direction == EfiUsbDataIn) ? 0x80 : 0);
131 Cbw.Lun = 0;
132 Cbw.CmdLen = CommandSize;
134 CopyMem (Cbw.CmdBlock, Command, CommandSize);
142 (UINT8 *) &Cbw,
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
H A DUsbMassBot.c162 USB_BOT_CBW Cbw; local
173 Cbw.Signature = USB_BOT_CBW_SIGNATURE;
174 Cbw.Tag = UsbBot->CbwTag;
175 Cbw.DataLen = TransLen;
176 Cbw.Flag = (UINT8) ((DataDir == EfiUsbDataIn) ? BIT7 : 0);
177 Cbw.Lun = Lun;
178 Cbw.CmdLen = CmdLen;
180 ZeroMem (Cbw.CmdBlock, USB_BOT_MAX_CMDLEN);
181 CopyMem (Cbw.CmdBlock, Cmd, CmdLen);
193 &Cbw,
[all...]
/vbox/src/VBox/Devices/Storage/
H A DUsbMsd.cpp150 /** The current Cbw when we're in the pending state. */
151 USBCBW Cbw; member in struct:USBMSDREQ
812 memcpy(&pReq->Cbw, pCbw, cbCopy);
813 memset((uint8_t *)&pReq->Cbw + cbCopy, 0, sizeof(pReq->Cbw) - cbCopy);
816 pReq->ScsiReq.uLogicalUnit = pReq->Cbw.bCBWLun;
817 pReq->ScsiReq.uDataDirection = (pReq->Cbw.bmCBWFlags & USBCBW_DIR_MASK) == USBCBW_DIR_OUT
820 pReq->ScsiReq.cbCDB = pReq->Cbw.bCBWCBLength;
822 pReq->ScsiReq.pbCDB = &pReq->Cbw.CBWCB[0];
825 pReq->ScsiReqSeg.cbSeg = pReq->Cbw
[all...]

Completed in 2141 milliseconds