Searched refs:param_max (Results 1 – 1 of 1) sorted by relevance
2092 static uint32_t prvTraceGetParam(uint32_t param_max, uint32_t param) in prvTraceGetParam() argument2096 TRACE_ASSERT(param_max == 0xFF || param_max == 0xFFFF, in prvTraceGetParam()2099 if (param <= param_max) in prvTraceGetParam()2109 xps->xps_8 = (uint8_t)((param & (0xFF00 & ~param_max)) >> 8); in prvTraceGetParam()2110 xps->xps_16 = (uint16_t)((param & (0xFFFF0000 & ~param_max)) >> 16); in prvTraceGetParam()2114 return param & param_max; in prvTraceGetParam()