X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FUsbHostController.h;h=cd9d52d9496529b6057d6b2f41d93c9191513d18;hb=06128e8f42e3c0dda35eaf30bd58c223e7573f4b;hp=d36c2b4dbe362857ef39fe007bf594cb24304b13;hpb=09254044e5eef6df71e4fec8a5c55fc66c9e98b4;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/UsbHostController.h b/MdePkg/Include/Protocol/UsbHostController.h index d36c2b4dbe..cd9d52d949 100644 --- a/MdePkg/Include/Protocol/UsbHostController.h +++ b/MdePkg/Include/Protocol/UsbHostController.h @@ -5,8 +5,8 @@ running in the EFI boot services environment, to perform data transactions over a USB bus. In addition, it provides an abstraction for the root hub of the USB bus. - Copyright (c) 2006 - 2008, Intel Corporation - All rights reserved. This program and the accompanying materials + Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+ This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -150,7 +150,7 @@ EFI_STATUS direction of the target USB device. Each endpoint address supports data transfer in one direction except the control endpoint (whose default endpoint address is 0). It is the - caller’s responsibility to make sure that the EndPointAddress + caller's responsibility to make sure that the EndPointAddress represents a bulk endpoint. @param MaximumPacketLength Indicates the maximum packet size that the default control transfer endpoint is capable of sending or receiving. @@ -195,7 +195,7 @@ EFI_STATUS direction of the target USB device. Each endpoint address supports data transfer in one direction except the control endpoint (whose default endpoint address is zero). It is the - caller’s responsibility to make sure that the + caller's responsibility to make sure that the EndPointAddress represents an interrupt endpoint. @param IsSlowDevice Indicates whether the target device is slow device or full-speed device. @@ -253,7 +253,7 @@ EFI_STATUS direction of the target USB device. Each endpoint address supports data transfer in one direction except the control endpoint (whose default endpoint address is zero). It is the - caller’s responsibility to make sure that the + caller's responsibility to make sure that the EndPointAddress represents an interrupt endpoint. @param IsSlowDevice Indicates whether the target device is slow device or full-speed device. @@ -303,7 +303,7 @@ EFI_STATUS @param EndPointAddress The combination of an endpoint number and an endpoint direction of the target USB device. Each endpoint address supports data transfer in one direction except the control - endpoint (whose default endpoint address is 0). It is the caller’s + endpoint (whose default endpoint address is 0). It is the caller's responsibility to make sure that the EndPointAddress represents an isochronous endpoint. @param MaximumPacketLength Indicates the maximum packet size that the default control @@ -344,7 +344,7 @@ EFI_STATUS direction of the target USB device. Each endpoint address supports data transfer in one direction except the control endpoint (whose default endpoint address is zero). It is the - caller’s responsibility to make sure that the + caller's responsibility to make sure that the EndPointAddress represents an isochronous endpoint. @param MaximumPacketLength Indicates the maximum packet size that the default control transfer endpoint is capable of sending or receiving. For isochronous @@ -468,67 +468,13 @@ EFI_STATUS ); -/** - @par Protocol Description: - The EFI_USB_HC_PROTOCOL provides USB host controller management, basic data transactions - over a USB bus, and USB root hub access. A device driver that wishes to manage a USB bus in a - system retrieves the EFI_USB_HC_PROTOCOL instance that is associated with the USB bus to be - managed. A device handle for a USB host controller will minimally contain an - EFI_DEVICE_PATH_PROTOCOL instance, and an EFI_USB_HC_PROTOCOL instance. - - @param Reset - Software reset of USB. - - @param GetState - Retrieves the current state of the USB host controller. - - @param SetState - Sets the USB host controller to a specific state. - - @param ControlTransfer - Submits a control transfer to a target USB device. - - @param BulkTransfer - Submits a bulk transfer to a bulk endpoint of a USB device. - - @param AsyncInterruptTransfer - Submits an asynchronous interrupt transfer to an interrupt endpoint - of a USB device. - - @param SyncInterruptTransfer - Submits a synchronous interrupt transfer to an interrupt endpoint - of a USB device. - - @param IsochronousTransfer - Submits isochronous transfer to an isochronous endpoint of a USB device. - - @param AsyncIsochronousTransfer - Submits nonblocking USB isochronous transfer. - - @param GetRootHubPortNumber - Retrieves the number of root hub ports that are produced by the - USB host controller. - - @param GetRootHubPortStatus - Retrieves the status of the specified root hub port. - - @param SetRootHubPortFeature - Sets the feature for the specified root hub port. - - @param ClearRootHubPortFeature - Clears the feature for the specified root hub port. - - @param MajorRevision - The major revision number of the USB host controller. The - revision information indicates the release of the Universal Serial - Bus Specification with which the host controller is compliant. - - @param MinorRevision - The minor revision number of the USB host controller. The - revision information indicates the release of the Universal Serial - Bus Specification with which the host controller is compliant. - -**/ +/// +/// The EFI_USB_HC_PROTOCOL provides USB host controller management, basic data transactions +/// over a USB bus, and USB root hub access. A device driver that wishes to manage a USB bus in a +/// system retrieves the EFI_USB_HC_PROTOCOL instance that is associated with the USB bus to be +/// managed. A device handle for a USB host controller will minimally contain an +/// EFI_DEVICE_PATH_PROTOCOL instance, and an EFI_USB_HC_PROTOCOL instance. +/// struct _EFI_USB_HC_PROTOCOL { EFI_USB_HC_PROTOCOL_RESET Reset; EFI_USB_HC_PROTOCOL_GET_STATE GetState; @@ -543,7 +489,17 @@ struct _EFI_USB_HC_PROTOCOL { 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; + /// + /// The major revision number of the USB host controller. The revision information + /// indicates the release of the Universal Serial Bus Specification with which the + /// host controller is compliant. + /// UINT16 MajorRevision; + /// + /// The minor revision number of the USB host controller. The revision information + /// indicates the release of the Universal Serial Bus Specification with which the + /// host controller is compliant. + /// UINT16 MinorRevision; };