Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
DUsbMassBot.c51 USB_BOT_PROTOCOL *UsbBot; in UsbBotInit() local
60 UsbBot = AllocateZeroPool (sizeof (USB_BOT_PROTOCOL) + 2 * sizeof (EFI_USB_ENDPOINT_DESCRIPTOR)); in UsbBotInit()
61 ASSERT (UsbBot != NULL); in UsbBotInit()
63 UsbBot->UsbIo = UsbIo; in UsbBotInit()
69 Status = UsbIo->UsbGetInterfaceDescriptor (UsbIo, &UsbBot->Interface); in UsbBotInit()
75 Interface = &UsbBot->Interface; in UsbBotInit()
93 (UsbBot->BulkInEndpoint == NULL)) { in UsbBotInit()
95 UsbBot->BulkInEndpoint = (EFI_USB_ENDPOINT_DESCRIPTOR *) (UsbBot + 1); in UsbBotInit()
96 CopyMem(UsbBot->BulkInEndpoint, &EndPoint, sizeof (EndPoint)); in UsbBotInit()
100 (UsbBot->BulkOutEndpoint == NULL)) { in UsbBotInit()
[all …]
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/
DFtdiUsbSerialDriver.c117 IN USB_SER_DEV *UsbBot, in UsbSerialDataTransfer() argument
139 Endpoint = &UsbBot->InEndpointDescriptor; in UsbSerialDataTransfer()
141 Endpoint = &UsbBot->OutEndpointDescriptor; in UsbSerialDataTransfer()
145 Status = UsbBot->UsbIo->UsbBulkTransfer ( in UsbSerialDataTransfer()
146 UsbBot->UsbIo, in UsbSerialDataTransfer()
157 UsbBot->Shutdown = TRUE; // Fixes infinite loop in older EFI in UsbSerialDataTransfer()