50 REQ_PRIORITY_HIGH = 0,
52 NUMBER_OF_RQUEST_PRIORITIES
68#define SET_REQUEST_PRIORITY(properties, priority)({ \
70 if(properties < 0 || priority < 0 || priority >= NUMBER_OF_RQUEST_PRIORITIES) { \
73 retVal = (int32_t) ((properties | priority)); \
78#define ADD_ALLOWED_MODE(properties, mode)({ \
80 if(properties < 0 || mode < MODE_RESUME || mode > MODE_DOZE) { \
83 retVal = (int32_t) (properties | (((properties >> 8) | mode) << 8)); \
88#define EXTRACT_REQUEST_PRIORITY(properties)({ \
89 (int8_t) ((properties) & ((1 << 8) - 1)); \
92#define EXTRACT_ALLOWED_MODES(properties)({ \
93 (int8_t) ((properties >> 8) & ((1 << 8) - 1)); \
97#define EXTRACT_RESOURCE_CORE_VALUE(resInfo)({ \
98 (int8_t) ((resInfo) & ((1 << 8) - 1)); \
101#define EXTRACT_RESOURCE_CLUSTER_VALUE(resInfo)({ \
102 (int8_t) ((resInfo >> 8) & ((1 << 8) - 1)); \
105#define EXTRACT_RESOURCE_MPAM_VALUE(resInfo)({ \
106 (int8_t) ((resInfo >> 16) & ((1 << 8) - 1)); \
109#define SET_RESOURCE_CORE_VALUE(resInfo, newValue)({ \
110 (int32_t) ((resInfo ^ EXTRACT_RESOURCE_CORE_VALUE(resInfo)) | newValue); \
113#define SET_RESOURCE_CLUSTER_VALUE(resInfo, newValue)({ \
114 (int32_t) ((resInfo ^ (EXTRACT_RESOURCE_CLUSTER_VALUE(resInfo) << 8)) | (newValue << 8)); \
117#define SET_RESOURCE_MPAM_VALUE(resInfo, newValue)({ \
118 (int32_t) ((resInfo ^ (EXTRACT_RESOURCE_MPAM_VALUE(resInfo) << 16)) | (newValue << 16)); \
Used to store information regarding Resources / Tunables which need to be Provisioned as part of the ...
int32_t value
Use this field for single Valued Resources.
uint32_t mResCode
A uniqued 32-bit (unsigned) identifier for the Resource.
int32_t mNumValues
Number of values to be configured for the Resource, both single-valued and multi-valued Resources are...
int32_t mResInfo
Holds Logical Core and Cluster Information:
int32_t mOptionalInfo
Field to hold optional information for Request Processing.
int32_t * values
Use this field for Multi Valued Resources.