/** @file\r
\r
- Copyright (c) 2017-2018, Arm Limited. All rights reserved.\r
+ Copyright (c) 2017-2021, Arm Limited. All rights reserved.\r
\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
either Rate or Min/Max/Step triplet is valid.\r
*/\r
typedef struct {\r
- union {\r
UINT64 Min;\r
- UINT64 Rate;\r
- };\r
UINT64 Max;\r
UINT64 Step;\r
+} SCMI_CLOCK_RATE_CONTINUOUS;\r
+\r
+typedef struct {\r
+ UINT64 Rate;\r
+} SCMI_CLOCK_RATE_DISCRETE;\r
+\r
+typedef union {\r
+ SCMI_CLOCK_RATE_CONTINUOUS ContinuousRate;\r
+ SCMI_CLOCK_RATE_DISCRETE DiscreteRate;\r
} SCMI_CLOCK_RATE;\r
\r
#pragma pack()\r