Home
last modified time | relevance | path

Searched refs:Cbw (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBotPei/
DBotPeim.c115 CBW Cbw; in BotCommandPhase() local
122 ZeroMem (&Cbw, sizeof (CBW)); in BotCommandPhase()
127 Cbw.Signature = CBWSIG; in BotCommandPhase()
128 Cbw.Tag = 0x01; in BotCommandPhase()
129 Cbw.DataTransferLength = DataTransferLength; in BotCommandPhase()
130 Cbw.Flags = (UINT8) ((Direction == EfiUsbDataIn) ? 0x80 : 0); in BotCommandPhase()
131 Cbw.Lun = 0; in BotCommandPhase()
132 Cbw.CmdLen = CommandSize; in BotCommandPhase()
134 CopyMem (Cbw.CmdBlock, Command, CommandSize); in BotCommandPhase()
142 (UINT8 *) &Cbw, in BotCommandPhase()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
DUsbMassBot.c162 USB_BOT_CBW Cbw; in UsbBotSendCommand() local
173 Cbw.Signature = USB_BOT_CBW_SIGNATURE; in UsbBotSendCommand()
174 Cbw.Tag = UsbBot->CbwTag; in UsbBotSendCommand()
175 Cbw.DataLen = TransLen; in UsbBotSendCommand()
176 Cbw.Flag = (UINT8) ((DataDir == EfiUsbDataIn) ? BIT7 : 0); in UsbBotSendCommand()
177 Cbw.Lun = Lun; in UsbBotSendCommand()
178 Cbw.CmdLen = CmdLen; in UsbBotSendCommand()
180 ZeroMem (Cbw.CmdBlock, USB_BOT_MAX_CMDLEN); in UsbBotSendCommand()
181 CopyMem (Cbw.CmdBlock, Cmd, CmdLen); in UsbBotSendCommand()
193 &Cbw, in UsbBotSendCommand()