\r
#include <Pi/PiI2c.h>\r
\r
-#define EFI_I2C_MASTER_PROTOCOL_GUID { 0xcd72881f, 0x45b5, 0x4feb, { 0x98, 0xc8, 0x31, 0x3d, 0xa8, 0x11, 0x74, 0x62 }}\r
+#define EFI_I2C_MASTER_PROTOCOL_GUID { 0xcd72881f, 0x45b5, 0x4feb, { 0x98, 0xc8, 0x31, 0x3d, 0xa8, 0x11, 0x74, 0x62 }}\r
\r
typedef struct _EFI_I2C_MASTER_PROTOCOL EFI_I2C_MASTER_PROTOCOL;\r
\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_I2C_MASTER_PROTOCOL_SET_BUS_FREQUENCY) (\r
+(EFIAPI *EFI_I2C_MASTER_PROTOCOL_SET_BUS_FREQUENCY)(\r
IN CONST EFI_I2C_MASTER_PROTOCOL *This,\r
IN OUT UINTN *BusClockHertz\r
);\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_I2C_MASTER_PROTOCOL_RESET) (\r
+(EFIAPI *EFI_I2C_MASTER_PROTOCOL_RESET)(\r
IN CONST EFI_I2C_MASTER_PROTOCOL *This\r
);\r
\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_I2C_MASTER_PROTOCOL_START_REQUEST) (\r
+(EFIAPI *EFI_I2C_MASTER_PROTOCOL_START_REQUEST)(\r
IN CONST EFI_I2C_MASTER_PROTOCOL *This,\r
IN UINTN SlaveAddress,\r
IN EFI_I2C_REQUEST_PACKET *RequestPacket,\r
///\r
/// Set the clock frequency for the I2C bus.\r
///\r
- EFI_I2C_MASTER_PROTOCOL_SET_BUS_FREQUENCY SetBusFrequency;\r
+ EFI_I2C_MASTER_PROTOCOL_SET_BUS_FREQUENCY SetBusFrequency;\r
\r
///\r
/// Reset the I2C host controller.\r
///\r
- EFI_I2C_MASTER_PROTOCOL_RESET Reset;\r
+ EFI_I2C_MASTER_PROTOCOL_RESET Reset;\r
\r
///\r
/// Start an I2C transaction in master mode on the host controller.\r
///\r
- EFI_I2C_MASTER_PROTOCOL_START_REQUEST StartRequest;\r
+ EFI_I2C_MASTER_PROTOCOL_START_REQUEST StartRequest;\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
-extern EFI_GUID gEfiI2cMasterProtocolGuid;\r
+extern EFI_GUID gEfiI2cMasterProtocolGuid;\r
\r
-#endif // __I2C_MASTER_H__\r
+#endif // __I2C_MASTER_H__\r