#include <Protocol/ArmScmi.h>\r
#include <Protocol/ArmScmiClockProtocol.h>\r
\r
-#define ARM_SCMI_CLOCK2_PROTOCOL_GUID { \\r
+#define ARM_SCMI_CLOCK2_PROTOCOL_GUID {\\r
0xb8d8caf2, 0x9e94, 0x462c, { 0xa8, 0x34, 0x6c, 0x99, 0xfc, 0x05, 0xef, 0xcf } \\r
}\r
\r
-extern EFI_GUID gArmScmiClock2ProtocolGuid;\r
+extern EFI_GUID gArmScmiClock2ProtocolGuid;\r
\r
-#define SCMI_CLOCK2_PROTOCOL_VERSION 1\r
+#define SCMI_CLOCK2_PROTOCOL_VERSION 1\r
\r
typedef struct _SCMI_CLOCK2_PROTOCOL SCMI_CLOCK2_PROTOCOL;\r
\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *SCMI_CLOCK2_GET_VERSION) (\r
+(EFIAPI *SCMI_CLOCK2_GET_VERSION)(\r
IN SCMI_CLOCK2_PROTOCOL *This,\r
OUT UINT32 *Version\r
);\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *SCMI_CLOCK2_GET_TOTAL_CLOCKS) (\r
+(EFIAPI *SCMI_CLOCK2_GET_TOTAL_CLOCKS)(\r
IN SCMI_CLOCK2_PROTOCOL *This,\r
OUT UINT32 *TotalClocks\r
);\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *SCMI_CLOCK2_GET_CLOCK_ATTRIBUTES) (\r
+(EFIAPI *SCMI_CLOCK2_GET_CLOCK_ATTRIBUTES)(\r
IN SCMI_CLOCK2_PROTOCOL *This,\r
IN UINT32 ClockId,\r
OUT BOOLEAN *Enabled,\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *SCMI_CLOCK2_DESCRIBE_RATES) (\r
+(EFIAPI *SCMI_CLOCK2_DESCRIBE_RATES)(\r
IN SCMI_CLOCK2_PROTOCOL *This,\r
IN UINT32 ClockId,\r
OUT SCMI_CLOCK_RATE_FORMAT *Format,\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *SCMI_CLOCK2_RATE_GET) (\r
+(EFIAPI *SCMI_CLOCK2_RATE_GET)(\r
IN SCMI_CLOCK2_PROTOCOL *This,\r
IN UINT32 ClockId,\r
OUT UINT64 *Rate\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *SCMI_CLOCK2_RATE_SET) (\r
+(EFIAPI *SCMI_CLOCK2_RATE_SET)(\r
IN SCMI_CLOCK2_PROTOCOL *This,\r
IN UINT32 ClockId,\r
IN UINT64 Rate\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *SCMI_CLOCK2_ENABLE) (\r
+(EFIAPI *SCMI_CLOCK2_ENABLE)(\r
IN SCMI_CLOCK2_PROTOCOL *This,\r
IN UINT32 ClockId,\r
IN BOOLEAN Enable\r
);\r
\r
typedef struct _SCMI_CLOCK2_PROTOCOL {\r
- SCMI_CLOCK2_GET_VERSION GetVersion;\r
- SCMI_CLOCK2_GET_TOTAL_CLOCKS GetTotalClocks;\r
- SCMI_CLOCK2_GET_CLOCK_ATTRIBUTES GetClockAttributes;\r
- SCMI_CLOCK2_DESCRIBE_RATES DescribeRates;\r
- SCMI_CLOCK2_RATE_GET RateGet;\r
- SCMI_CLOCK2_RATE_SET RateSet;\r
+ SCMI_CLOCK2_GET_VERSION GetVersion;\r
+ SCMI_CLOCK2_GET_TOTAL_CLOCKS GetTotalClocks;\r
+ SCMI_CLOCK2_GET_CLOCK_ATTRIBUTES GetClockAttributes;\r
+ SCMI_CLOCK2_DESCRIBE_RATES DescribeRates;\r
+ SCMI_CLOCK2_RATE_GET RateGet;\r
+ SCMI_CLOCK2_RATE_SET RateSet;\r
\r
// Extension to original ClockProtocol, added here so SCMI_CLOCK2_PROTOCOL\r
// can be cast to SCMI_CLOCK_PROTOCOL\r
- UINTN Version; // For future expandability\r
- SCMI_CLOCK2_ENABLE Enable;\r
+ UINTN Version; // For future expandability\r
+ SCMI_CLOCK2_ENABLE Enable;\r
} SCMI_CLOCK2_PROTOCOL;\r
\r
#endif /* ARM_SCMI_CLOCK2_PROTOCOL_H_ */\r