]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Usb2HostController.h
automagically convert ELF to PE/COFF (i386 only)
[mirror_edk2.git] / MdePkg / Include / Protocol / Usb2HostController.h
index 5326d5b6237ec05918f83d9843664eaf57644891..15742281b7b278dd54e66e294f960a97c82dde72 100644 (file)
@@ -101,7 +101,7 @@ EFI_STATUS
   @retval EFI_SUCCESS           The state information of the host controller was returned in State.\r
   @retval EFI_INVALID_PARAMETER State is NULL.\r
   @retval EFI_DEVICE_ERROR      An error was encountered while attempting to retrieve the\r
-                                host controller¡¯s current state.\r
+                                host controller's current state.\r
 \r
 **/\r
 typedef\r
@@ -229,7 +229,8 @@ EFI_STATUS
 \r
 /**\r
   Submits an asynchronous interrupt transfer to an interrupt endpoint of a USB device.\r
-\r
+  Translator parameter doesn't exist in UEFI2.0 spec, but it will be updated in the following specification version.\r
+  \r
   @param  This                A pointer to the EFI_USB2_HC_PROTOCOL instance.\r
   @param  DeviceAddress       Represents the address of the target device on the USB.\r
   @param  EndPointAddress     The combination of an endpoint number and an endpoint direction of the\r
@@ -246,6 +247,7 @@ EFI_STATUS
                               transfer is polled.\r
   @param  DataLength          Indicates the length of data to be received at the rate specified by\r
                               PollingInterval from the target asynchronous interrupt endpoint.\r
+  @param  Translator          A pointr to the transaction translator data.\r
   @param  CallBackFunction    The Callback function. This function is called at the rate specified by\r
                               PollingInterval.\r
   @param  Context             The context that is passed to the CallBackFunction. This is an\r
@@ -269,6 +271,7 @@ EFI_STATUS
   IN OUT UINT8                                               *DataToggle,\r
   IN     UINTN                                               PollingInterval  OPTIONAL,\r
   IN     UINTN                                               DataLength       OPTIONAL,\r
+  IN     EFI_USB2_HC_TRANSACTION_TRANSLATOR                  *Translator      OPTIONAL,\r
   IN     EFI_ASYNC_USB_TRANSFER_CALLBACK                     CallBackFunction OPTIONAL,\r
   IN     VOID                                                *Context         OPTIONAL\r
   )\r
@@ -276,6 +279,7 @@ EFI_STATUS
 \r
 /**\r
   Submits synchronous interrupt transfer to an interrupt endpoint of a USB device.\r
+  Translator parameter doesn't exist in UEFI2.0 spec, but it will be updated in the following specification version.\r
 \r
   @param  This                  A pointer to the EFI_USB2_HC_PROTOCOL instance.\r
   @param  DeviceAddress         Represents the address of the target device on the USB.\r
@@ -291,6 +295,7 @@ EFI_STATUS
   @param  DataToggle            A pointer to the data toggle value.\r
   @param  TimeOut               Indicates the maximum time, in milliseconds, which the transfer is\r
                                 allowed to complete.\r
+  @param  Translator            A pointr to the transaction translator data.\r
   @param  TransferResult        A pointer to the detailed result information from the synchronous\r
                                 interrupt transfer.\r
 \r
@@ -305,16 +310,17 @@ EFI_STATUS
 typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_USB2_HC_PROTOCOL_SYNC_INTERRUPT_TRANSFER) (\r
-  IN     EFI_USB2_HC_PROTOCOL   *This,\r
-  IN     UINT8                  DeviceAddress,\r
-  IN     UINT8                  EndPointAddress,\r
-  IN     UINT8                  DeviceSpeed,\r
-  IN     UINTN                  MaximumPacketLength,\r
-  IN OUT VOID                   *Data,\r
-  IN OUT UINTN                  *DataLength,\r
-  IN OUT UINT8                  *DataToggle,\r
-  IN     UINTN                  TimeOut,\r
-  OUT    UINT32                 *TransferResult\r
+  IN     EFI_USB2_HC_PROTOCOL                        *This,\r
+  IN     UINT8                                       DeviceAddress,\r
+  IN     UINT8                                       EndPointAddress,\r
+  IN     UINT8                                       DeviceSpeed,\r
+  IN     UINTN                                       MaximumPacketLength,\r
+  IN OUT VOID                                        *Data,\r
+  IN OUT UINTN                                       *DataLength,\r
+  IN OUT UINT8                                       *DataToggle,\r
+  IN     UINTN                                       TimeOut,\r
+  IN     EFI_USB2_HC_TRANSACTION_TRANSLATOR          *Translator,\r
+  OUT    UINT32                                      *TransferResult\r
   )\r
 ;\r
 \r