]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Internal.h
SourceLevelDebugPkg: Clean up source files
[mirror_edk2.git] / SourceLevelDebugPkg / Library / DebugCommunicationLibUsb3 / DebugCommunicationLibUsb3Internal.h
index 8673dad6c55e72cc7fd6a4ee1b0e9a1e53930133..f5a0279ac116994e414c51e648f9153f9f1fd3e4 100644 (file)
@@ -248,12 +248,12 @@ typedef struct _ENDPOINT_CONTEXT_64 {
   UINT32                  RsvdZ5;             // Reserved\r
   UINT32                  RsvdZ6;\r
   UINT32                  RsvdZ7;\r
-  \r
+\r
   UINT32                  RsvdZ8;\r
   UINT32                  RsvdZ9;\r
   UINT32                  RsvdZ10;\r
   UINT32                  RsvdZ11;\r
-  \r
+\r
   UINT32                  RsvdZ12;\r
   UINT32                  RsvdZ13;\r
   UINT32                  RsvdZ14;\r
@@ -396,7 +396,7 @@ typedef struct _DBC_INFO_CONTEXT {
   UINT64        RsvdZ1:32;\r
   UINT64        RsvdZ2;\r
   UINT64        RsvdZ3;\r
-  UINT64        RsvdZ4;  \r
+  UINT64        RsvdZ4;\r
 } DBC_INFO_CONTEXT;\r
 \r
 //\r
@@ -460,7 +460,7 @@ typedef struct _USB3_DEBUG_PORT_INSTANCE {
   // The flag indicates debug capability is supported\r
   //\r
   BOOLEAN                                 DebugSupport;\r
-  \r
+\r
   //\r
   // The flag indicates debug device is ready\r
   //\r
@@ -483,7 +483,7 @@ typedef struct _USB3_DEBUG_PORT_INSTANCE {
 \r
   //\r
   // The flag indicates if USB 3.0 ports has been turn off/on power\r
-  //  \r
+  //\r
   BOOLEAN                                 ChangePortPower;\r
 \r
   //\r
@@ -493,24 +493,24 @@ typedef struct _USB3_DEBUG_PORT_INSTANCE {
 \r
   //\r
   // XHCI OP RegisterBase address\r
-  //  \r
+  //\r
   EFI_PHYSICAL_ADDRESS                    XhciOpRegister;\r
-  \r
+\r
   //\r
   // XHCI Debug Register Base Address\r
   //\r
   EFI_PHYSICAL_ADDRESS                    DebugCapabilityBase;\r
-  \r
+\r
   //\r
   // XHCI Debug Capability offset\r
   //\r
-  UINT64                                  DebugCapabilityOffset;  \r
-  \r
+  UINT64                                  DebugCapabilityOffset;\r
+\r
   //\r
   // XHCI Debug Context Address\r
   //\r
   EFI_PHYSICAL_ADDRESS                    DebugCapabilityContext;\r
-  \r
+\r
   //\r
   // Transfer Ring\r
   //\r
@@ -521,7 +521,7 @@ typedef struct _USB3_DEBUG_PORT_INSTANCE {
   // EventRing\r
   //\r
   EVENT_RING                              EventRing;\r
-  \r
+\r
   //\r
   // URB - Read\r
   //\r
@@ -573,7 +573,7 @@ XhcSetDebugRegBit (
   IN UINT32                  Offset,\r
   IN UINT32                  Bit\r
   );\r
-  \r
+\r
 /**\r
   Write the data to the debug register.\r
 \r
@@ -581,7 +581,7 @@ XhcSetDebugRegBit (
   @param  Offset       The offset of the debug register.\r
   @param  Data         The data to write.\r
 \r
-**/  \r
+**/\r
 VOID\r
 XhcWriteDebugReg (\r
   IN USB3_DEBUG_PORT_HANDLE     *Handle,\r
@@ -596,12 +596,12 @@ XhcWriteDebugReg (
   @param[in]      BitMask     32-bit mask\r
 \r
   @return  BOOLEAN  - TRUE  if all bits specified by the mask are enabled.\r
-                    - FALSE even if one of the bits specified by the mask \r
+                    - FALSE even if one of the bits specified by the mask\r
                             is not enabled.\r
 **/\r
 BOOLEAN\r
 XhcIsBitSet(\r
-  UINTN   Register, \r
+  UINTN   Register,\r
   UINT32  BitMask\r
   );\r
 \r
@@ -613,7 +613,7 @@ XhcIsBitSet(
 **/\r
 VOID\r
 XhcSetR32Bit(\r
-  UINTN   Register, \r
+  UINTN   Register,\r
   UINT32  BitMask\r
   );\r
 \r
@@ -625,13 +625,13 @@ XhcSetR32Bit(
 **/\r
 VOID\r
 XhcClearR32Bit(\r
-  IN OUT  UINTN  Register, \r
+  IN OUT  UINTN  Register,\r
   IN      UINT32 BitMask\r
   );\r
 \r
 /**\r
   Initialize USB3 debug port.\r
-  \r
+\r
   This method invokes various internal functions to facilitate\r
   detection and initialization of USB3 debug port.\r
 \r
@@ -656,7 +656,7 @@ GetXhciPciCommand (
   Allocate aligned memory for XHC's usage.\r
 \r
   @param  BufferSize      The size, in bytes, of the Buffer.\r
-  \r
+\r
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
 \r
 **/\r
@@ -667,7 +667,7 @@ AllocateAlignBuffer (
 \r
 /**\r
   The real function to initialize USB3 debug port.\r
-  \r
+\r
   This method invokes various internal functions to facilitate\r
   detection and initialization of USB3 debug port.\r
 \r
@@ -725,7 +725,7 @@ InitializeUsbDebugHardware (
 /**\r
   Return USB3 debug instance address pointer.\r
 \r
-**/  \r
+**/\r
 EFI_PHYSICAL_ADDRESS *\r
 GetUsb3DebugPortInstanceAddrPtr (\r
   VOID\r
@@ -734,7 +734,7 @@ GetUsb3DebugPortInstanceAddrPtr (
 /**\r
   Return USB3 debug instance address.\r
 \r
-**/  \r
+**/\r
 USB3_DEBUG_PORT_HANDLE *\r
 GetUsb3DebugPortInstance (\r
   VOID\r