\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
/// 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
**/\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
///\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
/// 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