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