beautypg.com

Efi_usb_hc_protocol, Usb_hc, Usb host controller protocol – Intel Extensible Firmware Interface User Manual

Page 542

background image

Extensible Firmware Interface Specification

14-2 12/01/02

Version

1.10

EFI_USB_HC_PROTOCOL

Summary

Provides basic USB host controller management, basic data transactions over USB bus, and USB

root hub access.

GUID

#define EFI_USB_HC_PROTOCOL_GUID \

{0xF5089266,0x1AA0,0x4953,0x97,0xD8,0x56,0x2F,0x8A,0x73,0xB5,0x19}

Protocol Interface Structure

typedef struct _EFI_USB_HC_PROTOCOL {

EFI_USB_HC_PROTOCOL_RESET

Reset;

EFI_USB_HC_PROTOCOL_GET_STATE

GetState;

EFI_USB_HC_PROTOCOL_SET_STATE

SetState;

EFI_USB_HC_PROTOCOL_CONTROL_TRANSFER

ControlTransfer;

EFI_USB_HC_PROTOCOL_BULK_TRANSFER

BulkTransfer;

EFI_USB_HC_PROTOCOL_ASYNC_INTERRUPT_TRANSFER

AsyncInterruptTransfer;

EFI_USB_HC_PROTOCOL_SYNC_INTERRUPT_TRANSFER

SyncInterruptTransfer;

EFI_USB_HC_PROTOCOL_ISOCHRONOUS_TRANSFER

IsochronousTransfer;

EFI_USB_HC_PROTOCOL_ASYNC_ISOCHRONOUS_TRANSFER

AsyncIsochronousTransfer;

EFI_USB_HC_PROTOCOL_GET_ROOTHUB_PORT_NUMBER

GetRootHubPortNumber;

EFI_USB_HC_PROTOCOL_GET_ROOTHUB_PORT_STATUS

GetRootHubPortStatus;

EFI_USB_HC_PROTOCOL_SET_ROOTHUB_PORT_FEATURE

SetRootHubPortFeature;

EFI_USB_HC_PROTOCOL_CLEAR_ROOTHUB_PORT_FEATURE

ClearRootHubPortFeature;

UINT16

MajorRevision;

UINT16

MinorRevision;

} EFI_USB_HC_PROTOCOL;

Parameters

Reset

Software reset of USB. See the

Reset()

function description.

GetState

Retrieves the current state of the USB host controller. See the

GetState()

function description.

SetState

Sets the USB host controller to a specific state. See the

SetState()

function description.

ControlTransfer

Submits a control transfer to a target USB device. See the

ControlTransfer()

function description.