TianoCore EDK2 master
|
#include <Protocol/UsbDevice.h>
#include <Protocol/AndroidFastbootTransport.h>
#include <Protocol/SimpleTextOut.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiDriverEntryPoint.h>
Go to the source code of this file.
Data Structures | |
struct | _FASTBOOT_USB_PACKET_LIST |
struct | GET_CONFIG_DESCRIPTOR_RESPONSE |
Macros | |
#define | CONFIG_DESC_ATTRIBUTES (BIT7 | BIT6) |
#define | MAX_PACKET_SIZE_BULK 512 |
Typedefs | |
typedef struct _FASTBOOT_USB_PACKET_LIST | FASTBOOT_USB_PACKET_LIST |
Functions | |
STATIC VOID | DataReceived (IN UINTN Size, IN VOID *Buffer) |
STATIC VOID | DataSent (IN UINT8 EndpointIndex) |
EFI_STATUS | FastbootTransportUsbStart (EFI_EVENT ReceiveEvent) |
EFI_STATUS | FastbootTransportUsbStop (VOID) |
EFI_STATUS | FastbootTransportUsbSend (IN UINTN BufferSize, IN CONST VOID *Buffer, IN EFI_EVENT *FatalErrorEvent) |
EFI_STATUS | FastbootTransportUsbReceive (OUT UINTN *BufferSize, OUT VOID **Buffer) |
EFI_STATUS | FastbootTransportUsbEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Copyright (c) 2014, ARM Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FastbootTransportUsb.c.
#define CONFIG_DESC_ATTRIBUTES (BIT7 | BIT6) |
Definition at line 28 of file FastbootTransportUsb.c.
#define MAX_PACKET_SIZE_BULK 512 |
Definition at line 30 of file FastbootTransportUsb.c.
Definition at line 125 of file FastbootTransportUsb.c.
Definition at line 147 of file FastbootTransportUsb.c.
EFI_STATUS FastbootTransportUsbEntryPoint | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Definition at line 251 of file FastbootTransportUsb.c.
EFI_STATUS FastbootTransportUsbReceive | ( | OUT UINTN * | BufferSize, |
OUT VOID ** | Buffer | ||
) |
Definition at line 221 of file FastbootTransportUsb.c.
EFI_STATUS FastbootTransportUsbSend | ( | IN UINTN | BufferSize, |
IN CONST VOID * | Buffer, | ||
IN EFI_EVENT * | FatalErrorEvent | ||
) |
Definition at line 196 of file FastbootTransportUsb.c.
EFI_STATUS FastbootTransportUsbStart | ( | EFI_EVENT | ReceiveEvent | ) |
Definition at line 159 of file FastbootTransportUsb.c.
EFI_STATUS FastbootTransportUsbStop | ( | VOID | ) |
Definition at line 182 of file FastbootTransportUsb.c.
STATIC USB_DEVICE_DESCRIPTOR mDeviceDescriptor |
Definition at line 47 of file FastbootTransportUsb.c.
STATIC GET_CONFIG_DESCRIPTOR_RESPONSE mGetConfigDescriptorResponse |
Definition at line 80 of file FastbootTransportUsb.c.
STATIC LIST_ENTRY mPacketList |
Definition at line 34 of file FastbootTransportUsb.c.
Definition at line 33 of file FastbootTransportUsb.c.
STATIC FASTBOOT_TRANSPORT_PROTOCOL mTransportProtocol |
Definition at line 243 of file FastbootTransportUsb.c.
STATIC USB_DEVICE_PROTOCOL * mUsbDevice |
Definition at line 24 of file FastbootTransportUsb.c.