2 EFI_USB2_HC_PROTOCOL as defined in UEFI 2.0.
3 The USB Host Controller Protocol is used by code, typically USB bus drivers,
4 running in the EFI boot services environment, to perform data transactions over
5 a USB bus. In addition, it provides an abstraction for the root hub of the USB bus.
7 Copyright (c) 2006 - 2008, Intel Corporation
8 All rights reserved. This program and the accompanying materials
9 are licensed and made available under the terms and conditions of the BSD License
10 which accompanies this distribution. The full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 #ifndef _USB2_HOSTCONTROLLER_H_
19 #define _USB2_HOSTCONTROLLER_H_
21 #include <IndustryStandard/Usb.h>
22 #include <Protocol/UsbIo.h>
24 #define EFI_USB2_HC_PROTOCOL_GUID \
26 0x3e745226, 0x9818, 0x45b6, {0xa2, 0xac, 0xd7, 0xcd, 0xe, 0x8b, 0xa2, 0xbc } \
30 /// Forward reference for pure ANSI compatability
32 typedef struct _EFI_USB2_HC_PROTOCOL EFI_USB2_HC_PROTOCOL
;
36 UINT16 PortStatus
; ///< Contains current port status bitmap.
37 UINT16 PortChangeStatus
; ///< Contains current port status change bitmap.
38 } EFI_USB_PORT_STATUS
;
41 /// EFI_USB_PORT_STATUS.PortStatus bit definition
43 #define USB_PORT_STAT_CONNECTION 0x0001
44 #define USB_PORT_STAT_ENABLE 0x0002
45 #define USB_PORT_STAT_SUSPEND 0x0004
46 #define USB_PORT_STAT_OVERCURRENT 0x0008
47 #define USB_PORT_STAT_RESET 0x0010
48 #define USB_PORT_STAT_POWER 0x0100
49 #define USB_PORT_STAT_LOW_SPEED 0x0200
50 #define USB_PORT_STAT_HIGH_SPEED 0x0400
51 #define USB_PORT_STAT_OWNER 0x0800
54 /// EFI_USB_PORT_STATUS.PortChangeStatus bit definition
56 #define USB_PORT_STAT_C_CONNECTION 0x0001
57 #define USB_PORT_STAT_C_ENABLE 0x0002
58 #define USB_PORT_STAT_C_SUSPEND 0x0004
59 #define USB_PORT_STAT_C_OVERCURRENT 0x0008
60 #define USB_PORT_STAT_C_RESET 0x0010
64 /// Usb port features value
65 /// Each value indicates its bit index in the port status and status change bitmaps,
66 /// if combines these two bitmaps into a 32-bit bitmap.
70 EfiUsbPortSuspend
= 2,
74 EfiUsbPortConnectChange
= 16,
75 EfiUsbPortEnableChange
= 17,
76 EfiUsbPortSuspendChange
= 18,
77 EfiUsbPortOverCurrentChange
= 19,
78 EfiUsbPortResetChange
= 20
79 } EFI_USB_PORT_FEATURE
;
81 #define EFI_USB_SPEED_FULL 0x0000 ///< 12 Mb/s, USB 1.1 OHCI and UHCI HC.
82 #define EFI_USB_SPEED_LOW 0x0001 ///< 1 Mb/s, USB 1.1 OHCI and UHCI HC.
83 #define EFI_USB_SPEED_HIGH 0x0002 ///< 480 Mb/s, USB 2.0 EHCI HC.
86 UINT8 TranslatorHubAddress
; ///< device address
87 UINT8 TranslatorPortNumber
; ///< the port number of the hub that device is connected to.
88 } EFI_USB2_HC_TRANSACTION_TRANSLATOR
;
91 // Protocol definitions
95 Retrieves the Host Controller capabilities.
97 @param This A pointer to the EFI_USB2_HC_PROTOCOL instance.
98 @param MaxSpeed Host controller data transfer speed.
99 @param PortNumber Number of the root hub ports.
100 @param Is64BitCapable TRUE if controller supports 64-bit memory addressing,
103 @retval EFI_SUCCESS The host controller capabilities were retrieved successfully.
104 @retval EFI_INVALID_PARAMETER One of the input args was NULL.
105 @retval EFI_DEVICE_ERROR An error was encountered while attempting to
106 retrieve the capabilities.
111 (EFIAPI
*EFI_USB2_HC_PROTOCOL_GET_CAPABILITY
)(
112 IN EFI_USB2_HC_PROTOCOL
*This
,
114 OUT UINT8
*PortNumber
,
115 OUT UINT8
*Is64BitCapable
118 #define EFI_USB_HC_RESET_GLOBAL 0x0001
119 #define EFI_USB_HC_RESET_HOST_CONTROLLER 0x0002
120 #define EFI_USB_HC_RESET_GLOBAL_WITH_DEBUG 0x0004
121 #define EFI_USB_HC_RESET_HOST_WITH_DEBUG 0x0008
123 Provides software reset for the USB host controller.
125 @param This A pointer to the EFI_USB2_HC_PROTOCOL instance.
126 @param Attributes A bit mask of the reset operation to perform.
128 @retval EFI_SUCCESS The reset operation succeeded.
129 @retval EFI_INVALID_PARAMETER Attributes is not valid.
130 @retval EFI_UNSUPPORTED The type of reset specified by Attributes is not currently
131 supported by the host controller hardware.
132 @retval EFI_ACCESS_DENIED Reset operation is rejected due to the debug port being configured
133 and active; only EFI_USB_HC_RESET_GLOBAL_WITH_DEBUG or
134 EFI_USB_HC_RESET_HOST_WITH_DEBUG reset Attributes can be used to
135 perform reset operation for this host controller.
136 @retval EFI_DEVICE_ERROR An error was encountered while attempting to
137 retrieve the capabilities.
142 (EFIAPI
*EFI_USB2_HC_PROTOCOL_RESET
)(
143 IN EFI_USB2_HC_PROTOCOL
*This
,
148 Enumration value for status of USB HC.
151 EfiUsbHcStateHalt
, ///< The host controller is in halt
152 ///< state. No USB transactions can occur
153 ///< while in this state. The host
154 ///< controller can enter this state for
155 ///< three reasons: 1) After host
156 ///< controller hardware reset. 2)
157 ///< Explicitly set by software. 3)
158 ///< Triggered by a fatal error such as
159 ///< consistency check failure.
161 EfiUsbHcStateOperational
, ///< The host controller is in an
162 ///< operational state. When in
163 ///< this state, the host
164 ///< controller can execute bus
165 ///< traffic. This state must be
166 ///< explicitly set to enable the
167 ///< USB bus traffic.
169 EfiUsbHcStateSuspend
, ///< The host controller is in the
170 ///< suspend state. No USB
171 ///< transactions can occur while in
172 ///< this state. The host controller
173 ///< enters this state for the
174 ///< following reasons: 1) Explicitly
175 ///< set by software. 2) Triggered
176 ///< when there is no bus traffic for
179 EfiUsbHcStateMaximum
///< Maximum value for enumration value of HC status.
183 Retrieves current state of the USB host controller.
185 @param This A pointer to the EFI_USB2_HC_PROTOCOL instance.
186 @param State A pointer to the EFI_USB_HC_STATE data structure that
187 indicates current state of the USB host controller.
189 @retval EFI_SUCCESS The state information of the host controller was returned in State.
190 @retval EFI_INVALID_PARAMETER State is NULL.
191 @retval EFI_DEVICE_ERROR An error was encountered while attempting to retrieve the
192 host controller's current state.
197 (EFIAPI
*EFI_USB2_HC_PROTOCOL_GET_STATE
)(
198 IN CONST EFI_USB2_HC_PROTOCOL
*This
,
199 OUT EFI_USB_HC_STATE
*State
203 Sets the USB host controller to a specific state.
205 @param This A pointer to the EFI_USB2_HC_PROTOCOL instance.
206 @param State Indicates the state of the host controller that will be set.
208 @retval EFI_SUCCESS The USB host controller was successfully placed in the state
210 @retval EFI_INVALID_PARAMETER State is not valid.
211 @retval EFI_DEVICE_ERROR Failed to set the state specified by State due to device error.
216 (EFIAPI
*EFI_USB2_HC_PROTOCOL_SET_STATE
)(
217 IN EFI_USB2_HC_PROTOCOL
*This
,
218 IN EFI_USB_HC_STATE State
222 Submits control transfer to a target USB device.
224 @param This A pointer to the EFI_USB2_HC_PROTOCOL instance.
225 @param DeviceAddress Represents the address of the target device on the USB.
226 @param DeviceSpeed Indicates device speed.
227 @param MaximumPacketLength Indicates the maximum packet size that the default control transfer
228 endpoint is capable of sending or receiving.
229 @param Request A pointer to the USB device request that will be sent to the USB device.
230 @param TransferDirection Specifies the data direction for the transfer. There are three values
231 available, EfiUsbDataIn, EfiUsbDataOut and EfiUsbNoData.
232 @param Data A pointer to the buffer of data that will be transmitted to USB device or
233 received from USB device.
234 @param DataLength On input, indicates the size, in bytes, of the data buffer specified by Data.
235 On output, indicates the amount of data actually transferred.
236 @param TimeOut Indicates the maximum time, in milliseconds, which the transfer is
238 @param Translator A pointer to the transaction translator data.
239 @param TransferResult A pointer to the detailed result information generated by this control
242 @retval EFI_SUCCESS The control transfer was completed successfully.
243 @retval EFI_INVALID_PARAMETER Some parameters are invalid.
244 @retval EFI_OUT_OF_RESOURCES The control transfer could not be completed due to a lack of resources.
245 @retval EFI_TIMEOUT The control transfer failed due to timeout.
246 @retval EFI_DEVICE_ERROR The control transfer failed due to host controller or device error.
247 Caller should check TransferResult for detailed error information.
252 (EFIAPI
*EFI_USB2_HC_PROTOCOL_CONTROL_TRANSFER
)(
253 IN EFI_USB2_HC_PROTOCOL
*This
,
254 IN UINT8 DeviceAddress
,
255 IN UINT8 DeviceSpeed
,
256 IN UINTN MaximumPacketLength
,
257 IN EFI_USB_DEVICE_REQUEST
*Request
,
258 IN EFI_USB_DATA_DIRECTION TransferDirection
,
259 IN OUT VOID
*Data OPTIONAL
,
260 IN OUT UINTN
*DataLength OPTIONAL
,
262 IN EFI_USB2_HC_TRANSACTION_TRANSLATOR
*Translator
,
263 OUT UINT32
*TransferResult
266 #define EFI_USB_MAX_BULK_BUFFER_NUM 10
269 Submits bulk transfer to a bulk endpoint of a USB device.
271 @param This A pointer to the EFI_USB2_HC_PROTOCOL instance.
272 @param DeviceAddress Represents the address of the target device on the USB.
273 @param EndPointAddress The combination of an endpoint number and an endpoint direction of the
275 @param DeviceSpeed Indicates device speed.
276 @param MaximumPacketLength Indicates the maximum packet size the target endpoint is capable of
277 sending or receiving.
278 @param DataBuffersNumber Number of data buffers prepared for the transfer.
279 @param Data Array of pointers to the buffers of data that will be transmitted to USB
280 device or received from USB device.
281 @param DataLength When input, indicates the size, in bytes, of the data buffers specified by
282 Data. When output, indicates the actually transferred data size.
283 @param DataToggle A pointer to the data toggle value.
284 @param TimeOut Indicates the maximum time, in milliseconds, which the transfer is
286 @param Translator A pointer to the transaction translator data.
287 @param TransferResult A pointer to the detailed result information of the bulk transfer.
289 @retval EFI_SUCCESS The bulk transfer was completed successfully.
290 @retval EFI_INVALID_PARAMETER Some parameters are invalid.
291 @retval EFI_OUT_OF_RESOURCES The bulk transfer could not be submitted due to a lack of resources.
292 @retval EFI_TIMEOUT The bulk transfer failed due to timeout.
293 @retval EFI_DEVICE_ERROR The bulk transfer failed due to host controller or device error.
294 Caller should check TransferResult for detailed error information.
299 (EFIAPI
*EFI_USB2_HC_PROTOCOL_BULK_TRANSFER
)(
300 IN EFI_USB2_HC_PROTOCOL
*This
,
301 IN UINT8 DeviceAddress
,
302 IN UINT8 EndPointAddress
,
303 IN UINT8 DeviceSpeed
,
304 IN UINTN MaximumPacketLength
,
305 IN UINT8 DataBuffersNumber
,
306 IN OUT VOID
*Data
[EFI_USB_MAX_BULK_BUFFER_NUM
],
307 IN OUT UINTN
*DataLength
,
308 IN OUT UINT8
*DataToggle
,
310 IN EFI_USB2_HC_TRANSACTION_TRANSLATOR
*Translator
,
311 OUT UINT32
*TransferResult
315 Submits an asynchronous interrupt transfer to an interrupt endpoint of a USB device.
316 Translator parameter doesn't exist in UEFI2.0 spec, but it will be updated in the following specification version.
318 @param This A pointer to the EFI_USB2_HC_PROTOCOL instance.
319 @param DeviceAddress Represents the address of the target device on the USB.
320 @param EndPointAddress The combination of an endpoint number and an endpoint direction of the
322 @param DeviceSpeed Indicates device speed.
323 @param MaximumPacketLength Indicates the maximum packet size the target endpoint is capable of
324 sending or receiving.
325 @param IsNewTransfer If TRUE, an asynchronous interrupt pipe is built between the host and the
326 target interrupt endpoint. If FALSE, the specified asynchronous interrupt
327 pipe is canceled. If TRUE, and an interrupt transfer exists for the target
328 end point, then EFI_INVALID_PARAMETER is returned.
329 @param DataToggle A pointer to the data toggle value.
330 @param PollingInterval Indicates the interval, in milliseconds, that the asynchronous interrupt
332 @param DataLength Indicates the length of data to be received at the rate specified by
333 PollingInterval from the target asynchronous interrupt endpoint.
334 @param Translator A pointr to the transaction translator data.
335 @param CallBackFunction The Callback function. This function is called at the rate specified by
337 @param Context The context that is passed to the CallBackFunction. This is an
338 optional parameter and may be NULL.
340 @retval EFI_SUCCESS The asynchronous interrupt transfer request has been successfully
341 submitted or canceled.
342 @retval EFI_INVALID_PARAMETER Some parameters are invalid.
343 @retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.
348 (EFIAPI
*EFI_USB2_HC_PROTOCOL_ASYNC_INTERRUPT_TRANSFER
)(
349 IN EFI_USB2_HC_PROTOCOL
*This
,
350 IN UINT8 DeviceAddress
,
351 IN UINT8 EndPointAddress
,
352 IN UINT8 DeviceSpeed
,
353 IN UINTN MaxiumPacketLength
,
354 IN BOOLEAN IsNewTransfer
,
355 IN OUT UINT8
*DataToggle
,
356 IN UINTN PollingInterval OPTIONAL
,
357 IN UINTN DataLength OPTIONAL
,
358 IN EFI_USB2_HC_TRANSACTION_TRANSLATOR
*Translator OPTIONAL
,
359 IN EFI_ASYNC_USB_TRANSFER_CALLBACK CallBackFunction OPTIONAL
,
360 IN VOID
*Context OPTIONAL
364 Submits synchronous interrupt transfer to an interrupt endpoint of a USB device.
365 Translator parameter doesn't exist in UEFI2.0 spec, but it will be updated in the following specification version.
367 @param This A pointer to the EFI_USB2_HC_PROTOCOL instance.
368 @param DeviceAddress Represents the address of the target device on the USB.
369 @param EndPointAddress The combination of an endpoint number and an endpoint direction of the
371 @param DeviceSpeed Indicates device speed.
372 @param MaximumPacketLength Indicates the maximum packet size the target endpoint is capable of
373 sending or receiving.
374 @param Data A pointer to the buffer of data that will be transmitted to USB device or
375 received from USB device.
376 @param DataLength On input, the size, in bytes, of the data buffer specified by Data. On
377 output, the number of bytes transferred.
378 @param DataToggle A pointer to the data toggle value.
379 @param TimeOut Indicates the maximum time, in milliseconds, which the transfer is
381 @param Translator A pointr to the transaction translator data.
382 @param TransferResult A pointer to the detailed result information from the synchronous
385 @retval EFI_SUCCESS The synchronous interrupt transfer was completed successfully.
386 @retval EFI_INVALID_PARAMETER Some parameters are invalid.
387 @retval EFI_OUT_OF_RESOURCES The synchronous interrupt transfer could not be submitted due to a lack of resources.
388 @retval EFI_TIMEOUT The synchronous interrupt transfer failed due to timeout.
389 @retval EFI_DEVICE_ERROR The synchronous interrupt transfer failed due to host controller or device error.
390 Caller should check TransferResult for detailed error information.
395 (EFIAPI
*EFI_USB2_HC_PROTOCOL_SYNC_INTERRUPT_TRANSFER
)(
396 IN EFI_USB2_HC_PROTOCOL
*This
,
397 IN UINT8 DeviceAddress
,
398 IN UINT8 EndPointAddress
,
399 IN UINT8 DeviceSpeed
,
400 IN UINTN MaximumPacketLength
,
402 IN OUT UINTN
*DataLength
,
403 IN OUT UINT8
*DataToggle
,
405 IN EFI_USB2_HC_TRANSACTION_TRANSLATOR
*Translator
,
406 OUT UINT32
*TransferResult
409 #define EFI_USB_MAX_ISO_BUFFER_NUM 7
410 #define EFI_USB_MAX_ISO_BUFFER_NUM1 2
413 Submits isochronous transfer to an isochronous endpoint of a USB device.
415 @param This A pointer to the EFI_USB2_HC_PROTOCOL instance.
416 @param DeviceAddress Represents the address of the target device on the USB.
417 @param EndPointAddress The combination of an endpoint number and an endpoint direction of the
419 @param DeviceSpeed Indicates device speed.
420 @param MaximumPacketLength Indicates the maximum packet size the target endpoint is capable of
421 sending or receiving.
422 @param DataBuffersNumber Number of data buffers prepared for the transfer.
423 @param Data Array of pointers to the buffers of data that will be transmitted to USB
424 device or received from USB device.
425 @param DataLength Specifies the length, in bytes, of the data to be sent to or received from
427 @param Translator A pointer to the transaction translator data.
428 @param TransferResult A pointer to the detailed result information of the isochronous transfer.
430 @retval EFI_SUCCESS The isochronous transfer was completed successfully.
431 @retval EFI_INVALID_PARAMETER Some parameters are invalid.
432 @retval EFI_OUT_OF_RESOURCES The isochronous transfer could not be submitted due to a lack of resources.
433 @retval EFI_TIMEOUT The isochronous transfer cannot be completed within the one USB frame time.
434 @retval EFI_DEVICE_ERROR The isochronous transfer failed due to host controller or device error.
435 Caller should check TransferResult for detailed error information.
440 (EFIAPI
*EFI_USB2_HC_PROTOCOL_ISOCHRONOUS_TRANSFER
)(
441 IN EFI_USB2_HC_PROTOCOL
*This
,
442 IN UINT8 DeviceAddress
,
443 IN UINT8 EndPointAddress
,
444 IN UINT8 DeviceSpeed
,
445 IN UINTN MaximumPacketLength
,
446 IN UINT8 DataBuffersNumber
,
447 IN OUT VOID
*Data
[EFI_USB_MAX_ISO_BUFFER_NUM
],
449 IN EFI_USB2_HC_TRANSACTION_TRANSLATOR
*Translator
,
450 OUT UINT32
*TransferResult
454 Submits nonblocking isochronous transfer to an isochronous endpoint of a USB device.
456 @param This A pointer to the EFI_USB2_HC_PROTOCOL instance.
457 @param DeviceAddress Represents the address of the target device on the USB.
458 @param EndPointAddress The combination of an endpoint number and an endpoint direction of the
460 @param DeviceSpeed Indicates device speed.
461 @param MaximumPacketLength Indicates the maximum packet size the target endpoint is capable of
462 sending or receiving.
463 @param DataBuffersNumber Number of data buffers prepared for the transfer.
464 @param Data Array of pointers to the buffers of data that will be transmitted to USB
465 device or received from USB device.
466 @param DataLength Specifies the length, in bytes, of the data to be sent to or received from
468 @param Translator A pointer to the transaction translator data.
469 @param IsochronousCallback The Callback function. This function is called if the requested
470 isochronous transfer is completed.
471 @param Context Data passed to the IsochronousCallback function. This is an
472 optional parameter and may be NULL.
474 @retval EFI_SUCCESS The asynchronous isochronous transfer request has been successfully
475 submitted or canceled.
476 @retval EFI_INVALID_PARAMETER Some parameters are invalid.
477 @retval EFI_OUT_OF_RESOURCES The asynchronous isochronous transfer could not be submitted due to
483 (EFIAPI
*EFI_USB2_HC_PROTOCOL_ASYNC_ISOCHRONOUS_TRANSFER
)(
484 IN EFI_USB2_HC_PROTOCOL
*This
,
485 IN UINT8 DeviceAddress
,
486 IN UINT8 EndPointAddress
,
487 IN UINT8 DeviceSpeed
,
488 IN UINTN MaximumPacketLength
,
489 IN UINT8 DataBuffersNumber
,
490 IN OUT VOID
*Data
[EFI_USB_MAX_ISO_BUFFER_NUM
],
492 IN EFI_USB2_HC_TRANSACTION_TRANSLATOR
*Translator
,
493 IN EFI_ASYNC_USB_TRANSFER_CALLBACK IsochronousCallBack
,
494 IN VOID
*Context OPTIONAL
498 Retrieves the current status of a USB root hub port.
500 @param This A pointer to the EFI_USB2_HC_PROTOCOL instance.
501 @param PortNumber Specifies the root hub port from which the status is to be retrieved.
502 This value is zero based.
503 @param PortStatus A pointer to the current port status bits and port status change bits.
505 @retval EFI_SUCCESS The status of the USB root hub port specified by PortNumber
506 was returned in PortStatus.
507 @retval EFI_INVALID_PARAMETER PortNumber is invalid.
512 (EFIAPI
*EFI_USB2_HC_PROTOCOL_GET_ROOTHUB_PORT_STATUS
)(
513 IN CONST EFI_USB2_HC_PROTOCOL
*This
,
514 IN CONST UINT8 PortNumber
,
515 OUT EFI_USB_PORT_STATUS
*PortStatus
519 Sets a feature for the specified root hub port.
521 @param This A pointer to the EFI_USB2_HC_PROTOCOL instance.
522 @param PortNumber Specifies the root hub port whose feature is requested to be set. This
524 @param PortFeature Indicates the feature selector associated with the feature set request.
526 @retval EFI_SUCCESS The feature specified by PortFeature was set for the USB
527 root hub port specified by PortNumber.
528 @retval EFI_INVALID_PARAMETER PortNumber is invalid or PortFeature is invalid for this function.
533 (EFIAPI
*EFI_USB2_HC_PROTOCOL_SET_ROOTHUB_PORT_FEATURE
)(
534 IN EFI_USB2_HC_PROTOCOL
*This
,
536 IN EFI_USB_PORT_FEATURE PortFeature
540 Clears a feature for the specified root hub port.
542 @param This A pointer to the EFI_USB2_HC_PROTOCOL instance.
543 @param PortNumber Specifies the root hub port whose feature is requested to be cleared. This
545 @param PortFeature Indicates the feature selector associated with the feature clear request.
547 @retval EFI_SUCCESS The feature specified by PortFeature was cleared for the USB
548 root hub port specified by PortNumber.
549 @retval EFI_INVALID_PARAMETER PortNumber is invalid or PortFeature is invalid for this function.
554 (EFIAPI
*EFI_USB2_HC_PROTOCOL_CLEAR_ROOTHUB_PORT_FEATURE
)(
555 IN EFI_USB2_HC_PROTOCOL
*This
,
557 IN EFI_USB_PORT_FEATURE PortFeature
561 /// The EFI_USB2_HC_PROTOCOL provides USB host controller management, basic
562 /// data transactions over a USB bus, and USB root hub access. A device driver
563 /// that wishes to manage a USB bus in a system retrieves the EFI_USB2_HC_PROTOCOL
564 /// instance that is associated with the USB bus to be managed. A device handle
565 /// for a USB host controller will minimally contain an EFI_DEVICE_PATH_PROTOCOL
566 /// instance, and an EFI_USB2_HC_PROTOCOL instance.
568 struct _EFI_USB2_HC_PROTOCOL
{
569 EFI_USB2_HC_PROTOCOL_GET_CAPABILITY GetCapability
;
570 EFI_USB2_HC_PROTOCOL_RESET Reset
;
571 EFI_USB2_HC_PROTOCOL_GET_STATE GetState
;
572 EFI_USB2_HC_PROTOCOL_SET_STATE SetState
;
573 EFI_USB2_HC_PROTOCOL_CONTROL_TRANSFER ControlTransfer
;
574 EFI_USB2_HC_PROTOCOL_BULK_TRANSFER BulkTransfer
;
575 EFI_USB2_HC_PROTOCOL_ASYNC_INTERRUPT_TRANSFER AsyncInterruptTransfer
;
576 EFI_USB2_HC_PROTOCOL_SYNC_INTERRUPT_TRANSFER SyncInterruptTransfer
;
577 EFI_USB2_HC_PROTOCOL_ISOCHRONOUS_TRANSFER IsochronousTransfer
;
578 EFI_USB2_HC_PROTOCOL_ASYNC_ISOCHRONOUS_TRANSFER AsyncIsochronousTransfer
;
579 EFI_USB2_HC_PROTOCOL_GET_ROOTHUB_PORT_STATUS GetRootHubPortStatus
;
580 EFI_USB2_HC_PROTOCOL_SET_ROOTHUB_PORT_FEATURE SetRootHubPortFeature
;
581 EFI_USB2_HC_PROTOCOL_CLEAR_ROOTHUB_PORT_FEATURE ClearRootHubPortFeature
;
584 /// The major revision number of the USB host controller. The revision information
585 /// indicates the release of the Universal Serial Bus Specification with which the
586 /// host controller is compliant.
588 UINT16 MajorRevision
;
591 /// The minor revision number of the USB host controller. The revision information
592 /// indicates the release of the Universal Serial Bus Specification with which the
593 /// host controller is compliant.
595 UINT16 MinorRevision
;
598 extern EFI_GUID gEfiUsb2HcProtocolGuid
;