]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/I2cIo.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Protocol / I2cIo.h
index 09076df7d03533d38dffdd00c34cb867e1f251c1..e38fd9450ef8937490786f421bf0155cd7df75c1 100644 (file)
@@ -17,7 +17,7 @@
 \r
 #include <Pi/PiI2c.h>\r
 \r
-#define EFI_I2C_IO_PROTOCOL_GUID { 0xb60a3e6b, 0x18c4, 0x46e5, { 0xa2, 0x9a, 0xc9, 0xa1, 0x06, 0x65, 0xa2, 0x8e }}\r
+#define EFI_I2C_IO_PROTOCOL_GUID  { 0xb60a3e6b, 0x18c4, 0x46e5, { 0xa2, 0x9a, 0xc9, 0xa1, 0x06, 0x65, 0xa2, 0x8e }}\r
 \r
 ///\r
 /// I2C I/O protocol\r
@@ -38,8 +38,7 @@
 /// for the I2C device required to implement the EFI_I2C_ENUMERATE_PROTOCOL.\r
 /// The order of the list must be preserved.\r
 ///\r
-typedef struct _EFI_I2C_IO_PROTOCOL  EFI_I2C_IO_PROTOCOL;\r
-\r
+typedef struct _EFI_I2C_IO_PROTOCOL EFI_I2C_IO_PROTOCOL;\r
 \r
 /**\r
   Queue an I2C transaction for execution on the I2C device.\r
@@ -114,7 +113,7 @@ typedef struct _EFI_I2C_IO_PROTOCOL  EFI_I2C_IO_PROTOCOL;
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_I2C_IO_PROTOCOL_QUEUE_REQUEST) (\r
+(EFIAPI *EFI_I2C_IO_PROTOCOL_QUEUE_REQUEST)(\r
   IN CONST EFI_I2C_IO_PROTOCOL  *This,\r
   IN UINTN                      SlaveAddressIndex,\r
   IN EFI_EVENT                  Event      OPTIONAL,\r
@@ -129,7 +128,7 @@ struct _EFI_I2C_IO_PROTOCOL {
   ///\r
   /// Queue an I2C transaction for execution on the I2C device.\r
   ///\r
-  EFI_I2C_IO_PROTOCOL_QUEUE_REQUEST         QueueRequest;\r
+  EFI_I2C_IO_PROTOCOL_QUEUE_REQUEST        QueueRequest;\r
 \r
   ///\r
   /// Unique value assigned by the silicon manufacture or the third\r
@@ -137,30 +136,30 @@ struct _EFI_I2C_IO_PROTOCOL {
   /// combines both the manufacture name and the I2C part number into\r
   /// a single value specified as a GUID.\r
   ///\r
-  CONST EFI_GUID                            *DeviceGuid;\r
+  CONST EFI_GUID                           *DeviceGuid;\r
 \r
   ///\r
   /// Unique ID of the I2C part within the system\r
   ///\r
-  UINT32                                    DeviceIndex;\r
+  UINT32                                   DeviceIndex;\r
 \r
   ///\r
   /// Hardware revision - ACPI _HRV value.  See the Advanced Configuration\r
   /// and Power Interface Specification, Revision 5.0  for the field format\r
   /// and the Plug and play support for I2C web-page for restriction on values.\r
   ///\r
-  UINT32                                    HardwareRevision;\r
+  UINT32                                   HardwareRevision;\r
 \r
   ///\r
   /// Pointer to an EFI_I2C_CONTROLLER_CAPABILITIES data structure containing\r
   /// the capabilities of the I2C host controller.\r
   ///\r
-  CONST EFI_I2C_CONTROLLER_CAPABILITIES     *I2cControllerCapabilities;\r
+  CONST EFI_I2C_CONTROLLER_CAPABILITIES    *I2cControllerCapabilities;\r
 };\r
 \r
 ///\r
 /// Reference to variable defined in the .DEC file\r
 ///\r
-extern EFI_GUID gEfiI2cIoProtocolGuid;\r
+extern EFI_GUID  gEfiI2cIoProtocolGuid;\r
 \r
-#endif  //  __I2C_IO_H__\r
+#endif //  __I2C_IO_H__\r