]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/SpiIo.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Protocol / SpiIo.h
index 3e9c4b0e7a0a7eb13b62d4eb20d6c5ee9d6150ba..b4fc5e03b88135cd1c20ad2dee4f039535d96727 100644 (file)
@@ -125,7 +125,7 @@ typedef enum {
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_SPI_IO_PROTOCOL_TRANSACTION) (\r
+(EFIAPI *EFI_SPI_IO_PROTOCOL_TRANSACTION)(\r
   IN  CONST EFI_SPI_IO_PROTOCOL  *This,\r
   IN  EFI_SPI_TRANSACTION_TYPE   TransactionType,\r
   IN  BOOLEAN                    DebugTransaction,\r
@@ -158,7 +158,7 @@ EFI_STATUS
 \r
 **/\r
 typedef EFI_STATUS\r
-(EFIAPI *EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL) (\r
+(EFIAPI *EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL)(\r
   IN CONST EFI_SPI_IO_PROTOCOL  *This,\r
   IN CONST EFI_SPI_PERIPHERAL   *SpiPeripheral\r
   );\r
@@ -171,13 +171,13 @@ typedef struct _EFI_SPI_BUS_TRANSACTION {
   ///\r
   /// Pointer to the SPI peripheral being manipulated.\r
   ///\r
-  CONST EFI_SPI_PERIPHERAL *SpiPeripheral;\r
+  CONST EFI_SPI_PERIPHERAL    *SpiPeripheral;\r
 \r
   ///\r
   /// Type of transaction specified by one of the EFI_SPI_TRANSACTION_TYPE\r
   /// values.\r
   ///\r
-  EFI_SPI_TRANSACTION_TYPE TransactionType;\r
+  EFI_SPI_TRANSACTION_TYPE    TransactionType;\r
 \r
   ///\r
   /// TRUE if the transaction is being debugged. Debugging may be turned on for\r
@@ -185,34 +185,34 @@ typedef struct _EFI_SPI_BUS_TRANSACTION {
   /// messages. All other transactions with this value set to FALSE will not\r
   /// display any debugging messages.\r
   ///\r
-  BOOLEAN                  DebugTransaction;\r
+  BOOLEAN                     DebugTransaction;\r
 \r
   ///\r
   /// SPI bus width in bits: 1, 2, 4\r
   ///\r
-  UINT32                   BusWidth;\r
+  UINT32                      BusWidth;\r
 \r
   ///\r
   /// Frame size in bits, range: 1 - 32\r
   ///\r
-  UINT32                   FrameSize;\r
+  UINT32                      FrameSize;\r
 \r
   ///\r
   /// Length of the write buffer in bytes\r
   ///\r
-  UINT32                   WriteBytes;\r
+  UINT32                      WriteBytes;\r
 \r
   ///\r
   /// Buffer containing data to send to the SPI peripheral\r
   /// Frame sizes 1 - 8 bits: UINT8 (one byte) per frame\r
   /// Frame sizes 7 - 16 bits : UINT16 (two bytes) per frame\r
   ///\r
-  UINT8                    *WriteBuffer;\r
+  UINT8                       *WriteBuffer;\r
 \r
   ///\r
   /// Length of the read buffer in bytes\r
   ///\r
-  UINT32                   ReadBytes;\r
+  UINT32                      ReadBytes;\r
 \r
   ///\r
   /// Buffer to receive the data from the SPI peripheral\r
@@ -220,7 +220,7 @@ typedef struct _EFI_SPI_BUS_TRANSACTION {
   /// * Frame sizes 7 - 16 bits : UINT16 (two bytes) per frame\r
   /// * Frame sizes 17 - 32 bits : UINT32 (four bytes) per frame\r
   ///\r
-  UINT8                    *ReadBuffer;\r
+  UINT8                       *ReadBuffer;\r
 } EFI_SPI_BUS_TRANSACTION;\r
 \r
 ///\r
@@ -232,13 +232,13 @@ struct _EFI_SPI_IO_PROTOCOL {
   /// Address of an EFI_SPI_PERIPHERAL data structure associated with this\r
   /// protocol instance.\r
   ///\r
-  CONST EFI_SPI_PERIPHERAL                  *SpiPeripheral;\r
+  CONST EFI_SPI_PERIPHERAL    *SpiPeripheral;\r
 \r
   ///\r
   /// Address of the original EFI_SPI_PERIPHERAL data structure associated with\r
   /// this protocol instance.\r
   ///\r
-  CONST EFI_SPI_PERIPHERAL                  *OriginalSpiPeripheral;\r
+  CONST EFI_SPI_PERIPHERAL    *OriginalSpiPeripheral;\r
 \r
   ///\r
   /// Mask of frame sizes which the SPI 10 layer supports. Frame size of N-bits\r
@@ -247,12 +247,12 @@ struct _EFI_SPI_IO_PROTOCOL {
   /// 8-bit frame sizes by the SPI bus layer if the frame size is not supported\r
   /// by the SPI host controller.\r
   ///\r
-  UINT32                                    FrameSizeSupportMask;\r
+  UINT32    FrameSizeSupportMask;\r
 \r
   ///\r
   /// Maximum transfer size in bytes: 1 - Oxffffffff\r
   ///\r
-  UINT32                                    MaximumTransferBytes;\r
+  UINT32    MaximumTransferBytes;\r
 \r
   ///\r
   /// Transaction attributes: One or more from:\r
@@ -265,22 +265,22 @@ struct _EFI_SPI_IO_PROTOCOL {
   /// * SPI_IO_TRANSFER_SIZE_INCLUDES_ADDRESS\r
   ///   - Transfer size includes the 3 address bytes\r
   ///\r
-  UINT32                                    Attributes;\r
+  UINT32                                       Attributes;\r
 \r
   ///\r
   /// Pointer to legacy SPI controller protocol\r
   ///\r
-  CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL  *LegacySpiProtocol;\r
+  CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL     *LegacySpiProtocol;\r
 \r
   ///\r
   /// Initiate a SPI transaction between the host and a SPI peripheral.\r
   ///\r
-  EFI_SPI_IO_PROTOCOL_TRANSACTION           Transaction;\r
+  EFI_SPI_IO_PROTOCOL_TRANSACTION              Transaction;\r
 \r
   ///\r
   /// Update the SPI peripheral associated with this SPI 10 instance.\r
   ///\r
-  EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL UpdateSpiPeripheral;\r
+  EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL    UpdateSpiPeripheral;\r
 };\r
 \r
 #endif // __SPI_IO_PROTOCOL_H__\r