10#ifndef _USB_DESCRIPTOR_H_
11#define _USB_DESCRIPTOR_H_
13#define USB_MAX_INTERFACE_SETTING 256
20#define USB_REQUEST_TYPE(Dir, Type, Target) \
21 ((UINT8)((((Dir) == EfiUsbDataIn ? 0x01 : 0) << 7) | (Type) | (Target)))
151 IN UINT8 StringIndex,
EFI_STATUS UsbIoClearFeature(IN EFI_USB_IO_PROTOCOL *UsbIo, IN UINTN Target, IN UINT16 Feature, IN UINT16 Index)
EFI_USB_STRING_DESCRIPTOR * UsbGetOneString(IN USB_DEVICE *UsbDev, IN UINT8 StringIndex, IN UINT16 LangId)
EFI_STATUS UsbBuildDescTable(IN USB_DEVICE *UsbDev)
EFI_STATUS UsbSetConfig(IN USB_DEVICE *UsbDev, IN UINT8 ConfigIndex)
EFI_STATUS UsbSetAddress(IN USB_DEVICE *UsbDev, IN UINT8 Address)
EFI_STATUS UsbCtrlRequest(IN USB_DEVICE *UsbDev, IN EFI_USB_DATA_DIRECTION Direction, IN UINTN Type, IN UINTN Target, IN UINTN Request, IN UINT16 Value, IN UINT16 Index, IN OUT VOID *Buf, IN UINTN Length)
EFI_STATUS UsbGetMaxPacketSize0(IN USB_DEVICE *UsbDev)
VOID UsbFreeDevDesc(IN USB_DEVICE_DESC *DevDesc)