]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Include/Protocol/UsbDevice.h
EmbeddedPkg: Apply uncrustify changes
[mirror_edk2.git] / EmbeddedPkg / Include / Protocol / UsbDevice.h
index 13a48dda079fbcf11b8243087a47e714470c4df4..b299ee10a7b1c7565683b986efd946dbdb3f25cb 100644 (file)
@@ -2,13 +2,7 @@
 \r
   Copyright (c) 2013-2014, ARM Ltd. All rights reserved.<BR>\r
 \r
-  This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -17,7 +11,7 @@
 \r
 #include <IndustryStandard/Usb.h>\r
 \r
-extern EFI_GUID gUsbDeviceProtocolGuid;\r
+extern EFI_GUID  gUsbDeviceProtocolGuid;\r
 \r
 /*\r
  * Note: This Protocol is just  the bare minimum for Android Fastboot. It\r
@@ -36,8 +30,8 @@ extern EFI_GUID gUsbDeviceProtocolGuid;
 typedef\r
 VOID\r
 (*USB_DEVICE_RX_CALLBACK) (\r
-  IN UINTN    Size,\r
-  IN VOID    *Buffer\r
+  IN UINTN  Size,\r
+  IN VOID   *Buffer\r
   );\r
 \r
 /*\r
@@ -52,7 +46,7 @@ VOID
 typedef\r
 VOID\r
 (*USB_DEVICE_TX_CALLBACK) (\r
-  IN UINT8    EndpointIndex\r
+  IN UINT8  EndpointIndex\r
   );\r
 \r
 /*\r
@@ -70,9 +64,9 @@ VOID
 typedef\r
 EFI_STATUS\r
 (*USB_DEVICE_SEND) (\r
-  IN       UINT8    EndpointIndex,\r
-  IN       UINTN    Size,\r
-  IN CONST VOID    *Buffer\r
+  IN       UINT8  EndpointIndex,\r
+  IN       UINTN  Size,\r
+  IN CONST VOID   *Buffer\r
   );\r
 \r
 /*\r
@@ -102,15 +96,15 @@ EFI_STATUS
 typedef\r
 EFI_STATUS\r
 (*USB_DEVICE_START) (\r
-  IN USB_DEVICE_DESCRIPTOR     *DeviceDescriptor,\r
-  IN VOID                     **Descriptors,\r
-  IN USB_DEVICE_RX_CALLBACK     RxCallback,\r
-  IN USB_DEVICE_TX_CALLBACK     TxCallback\r
+  IN USB_DEVICE_DESCRIPTOR   *DeviceDescriptor,\r
+  IN VOID                    **Descriptors,\r
+  IN USB_DEVICE_RX_CALLBACK  RxCallback,\r
+  IN USB_DEVICE_TX_CALLBACK  TxCallback\r
   );\r
 \r
 struct _USB_DEVICE_PROTOCOL {\r
-  USB_DEVICE_START Start;\r
-  USB_DEVICE_SEND  Send;\r
+  USB_DEVICE_START    Start;\r
+  USB_DEVICE_SEND     Send;\r
 };\r
 \r
 typedef struct _USB_DEVICE_PROTOCOL USB_DEVICE_PROTOCOL;\r