]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Include/Protocol/ArmScmiClock2Protocol.h
ArmPkg: Apply uncrustify changes
[mirror_edk2.git] / ArmPkg / Include / Protocol / ArmScmiClock2Protocol.h
index 0e26491a62c4e7016e80f49bd5bdb1da7efa1493..d37d23f40c013631b4ae51478d1545e533ac8c4d 100644 (file)
 #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
@@ -39,7 +39,7 @@ typedef struct _SCMI_CLOCK2_PROTOCOL SCMI_CLOCK2_PROTOCOL;
 **/\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
@@ -57,7 +57,7 @@ EFI_STATUS
 **/\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
@@ -77,7 +77,7 @@ EFI_STATUS
 **/\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
@@ -109,7 +109,7 @@ EFI_STATUS
 **/\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
@@ -131,7 +131,7 @@ EFI_STATUS
 **/\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
@@ -149,7 +149,7 @@ EFI_STATUS
 **/\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
@@ -168,24 +168,24 @@ EFI_STATUS
 **/\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