]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThruHci.h
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Bus / Ufs / UfsPassThruDxe / UfsPassThruHci.h
index 0a0cf71894b9a11286c3c5b14bff4fb48dd2b7a9..69fae956ce54a8c79ebb820c7a70d7b86f390e07 100644 (file)
@@ -2,7 +2,7 @@
   UfsPassThruDxe driver is used to produce EFI_EXT_SCSI_PASS_THRU protocol interface\r
   for upper layer application to execute UFS-supported SCSI cmds.\r
 \r
-  Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>\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
@@ -153,7 +153,7 @@ typedef struct {
 // UFSHCI 2.0 Spec Section 5.2.5 Offset 18h: AHIT - Auto-Hibernate Idle Timer\r
 //\r
 typedef struct {\r
-  UINT32 Ahitv:10;     // Auto-Hibernate Idle Timer Value \r
+  UINT32 Ahitv:10;     // Auto-Hibernate Idle Timer Value\r
   UINT32 Ts:3;         // Timer scale\r
   UINT32 Rsvd1:19;\r
 } UFS_HC_AHIT;\r
@@ -165,19 +165,19 @@ typedef struct {
   UINT16 Utrcs:1;      // UTP Transfer Request Completion Status\r
   UINT16 Udepri:1;     // UIC DME_ENDPOINT_RESET Indication\r
   UINT16 Ue:1;         // UIC Error\r
-  UINT16 Utms:1;       // UIC Test Mode Status \r
+  UINT16 Utms:1;       // UIC Test Mode Status\r
 \r
-  UINT16 Upms:1;       // UIC Power Mode Status \r
-  UINT16 Uhxs:1;       // UIC Hibernate Exit Status \r
-  UINT16 Uhes:1;       // UIC Hibernate Enter Status \r
-  UINT16 Ulls:1;       // UIC Link Lost Status \r
+  UINT16 Upms:1;       // UIC Power Mode Status\r
+  UINT16 Uhxs:1;       // UIC Hibernate Exit Status\r
+  UINT16 Uhes:1;       // UIC Hibernate Enter Status\r
+  UINT16 Ulls:1;       // UIC Link Lost Status\r
 \r
-  UINT16 Ulss:1;       // UIC Link Startup Status \r
-  UINT16 Utmrcs:1;     // UTP Task  Management Request Completion Status \r
-  UINT16 Uccs:1;       // UIC Command Completion Status \r
-  UINT16 Dfes:1;       // Device Fatal Error Status  \r
+  UINT16 Ulss:1;       // UIC Link Startup Status\r
+  UINT16 Utmrcs:1;     // UTP Task  Management Request Completion Status\r
+  UINT16 Uccs:1;       // UIC Command Completion Status\r
+  UINT16 Dfes:1;       // Device Fatal Error Status\r
 \r
-  UINT16 Utpes:1;      // UTP Error Status  \r
+  UINT16 Utpes:1;      // UTP Error Status\r
   UINT16 Rsvd1:3;\r
 \r
   UINT16 Hcfes:1;      // Host Controller Fatal Error Status\r
@@ -194,9 +194,9 @@ typedef struct {
   UINT16 Uee:1;        // UIC Error Enable\r
   UINT16 Utmse:1;      // UIC Test Mode Status Enable\r
 \r
-  UINT16 Upmse:1;      // UIC Power Mode Status Enable \r
+  UINT16 Upmse:1;      // UIC Power Mode Status Enable\r
   UINT16 Uhxse:1;      // UIC Hibernate Exit Status Enable\r
-  UINT16 Uhese:1;      // UIC Hibernate Enter Status Enable \r
+  UINT16 Uhese:1;      // UIC Hibernate Enter Status Enable\r
   UINT16 Ullse:1;      // UIC Link Lost Status Enable\r
 \r
   UINT16 Ulsse:1;      // UIC Link Startup Status Enable\r
@@ -450,22 +450,22 @@ typedef struct {
   //\r
   UINT32 Rsvd6:7;\r
   UINT32 UcdBa:25;            /* UTP Command Descriptor Base Address */\r
-  \r
+\r
   //\r
   // DW5\r
   //\r
   UINT32 UcdBaU;              /* UTP Command Descriptor Base Address Upper 32-bits */\r
\r
+\r
   //\r
   // DW6\r
   //\r
-  UINT16 RuL;                 /* Response UPIU Length */  \r
+  UINT16 RuL;                 /* Response UPIU Length */\r
   UINT16 RuO;                 /* Response UPIU Offset */\r
 \r
   //\r
   // DW7\r
   //\r
-  UINT16 PrdtL;               /* PRDT Length */  \r
+  UINT16 PrdtL;               /* PRDT Length */\r
   UINT16 PrdtO;               /* PRDT Offset */\r
 } UTP_TRD;\r
 \r
@@ -475,12 +475,12 @@ typedef struct {
   //\r
   UINT32 Rsvd1:2;\r
   UINT32 DbAddr:30;           /* Data Base Address */\r
-  \r
+\r
   //\r
   // DW1\r
   //\r
   UINT32 DbAddrU;             /* Data Base Address Upper 32-bits */\r
\r
+\r
   //\r
   // DW2\r
   //\r
@@ -846,7 +846,7 @@ typedef struct {
   // DW4 - DW11\r
   //\r
   UTP_TM_REQ_UPIU TmReq;      /* Task Management Request UPIU */\r
-  \r
+\r
   //\r
   // DW12 - DW19\r
   //\r
@@ -972,7 +972,7 @@ typedef struct {
 typedef enum {\r
   UfsUtpQueryResponseSuccess             = 0x00,\r
   UfsUtpQueryResponseParamNotReadable    = 0xF6,\r
-  UfsUtpQueryResponseParamNotWriteable   = 0xF7,  \r
+  UfsUtpQueryResponseParamNotWriteable   = 0xF7,\r
   UfsUtpQueryResponseParamAlreadyWritten = 0xF8,\r
   UfsUtpQueryResponseInvalidLen          = 0xF9,\r
   UfsUtpQueryResponseInvalidVal          = 0xFA,\r
@@ -1305,7 +1305,7 @@ typedef enum {
   UfsFlagPurgeEn         = 0x06,\r
   UfsFlagPhyResRemoval   = 0x08,\r
   UfsFlagBusyRtc         = 0x09,\r
-  UfsFlagPermDisFwUpdate = 0x0B    \r
+  UfsFlagPermDisFwUpdate = 0x0B\r
 } UFS_FLAGS_IDN;\r
 \r
 //\r