Lines Matching refs:pxEventData
56 TraceEvent0_t* pxEventData = (void*)0; in xTraceEventCreate0() local
70 …if (xTraceStreamPortAllocate(sizeof(TraceEvent0_t), (void**)&pxEventData) == TRC_FAIL) /*cstat !MI… in xTraceEventCreate0()
76 …SET_BASE_EVENT_DATA(pxEventData, uiEventCode, 0, pxTraceEventDataTable->coreEventData[TRC_CFG_GET_… in xTraceEventCreate0()
78 (void)xTraceStreamPortCommit(pxEventData, sizeof(TraceEvent0_t), &iBytesCommitted); in xTraceEventCreate0()
91 TraceEvent1_t* pxEventData = (void*)0; in xTraceEventCreate1() local
106 …if (xTraceStreamPortAllocate(sizeof(TraceEvent1_t), (void**)&pxEventData) == TRC_FAIL) /*cstat !MI… in xTraceEventCreate1()
112 …SET_BASE_EVENT_DATA(pxEventData, uiEventCode, 1, pxTraceEventDataTable->coreEventData[TRC_CFG_GET_… in xTraceEventCreate1()
114 pxEventData->uxParams[0] = uxParam1; in xTraceEventCreate1()
116 (void)xTraceStreamPortCommit(pxEventData, sizeof(TraceEvent1_t), &iBytesCommitted); in xTraceEventCreate1()
129 TraceEvent2_t* pxEventData = (void*)0; in xTraceEventCreate2() local
144 …if (xTraceStreamPortAllocate(sizeof(TraceEvent2_t), (void**)&pxEventData) == TRC_FAIL) /*cstat !MI… in xTraceEventCreate2()
150 …SET_BASE_EVENT_DATA(pxEventData, uiEventCode, 2, pxTraceEventDataTable->coreEventData[TRC_CFG_GET_… in xTraceEventCreate2()
152 pxEventData->uxParams[0] = uxParam1; in xTraceEventCreate2()
153 pxEventData->uxParams[1] = uxParam2; in xTraceEventCreate2()
155 (void)xTraceStreamPortCommit(pxEventData, sizeof(TraceEvent2_t), &iBytesCommitted); in xTraceEventCreate2()
168 TraceEvent3_t* pxEventData = (void*)0; in xTraceEventCreate3() local
183 …if (xTraceStreamPortAllocate(sizeof(TraceEvent3_t), (void**)&pxEventData) == TRC_FAIL) /*cstat !MI… in xTraceEventCreate3()
189 …SET_BASE_EVENT_DATA(pxEventData, uiEventCode, 3, pxTraceEventDataTable->coreEventData[TRC_CFG_GET_… in xTraceEventCreate3()
191 pxEventData->uxParams[0] = uxParam1; in xTraceEventCreate3()
192 pxEventData->uxParams[1] = uxParam2; in xTraceEventCreate3()
193 pxEventData->uxParams[2] = uxParam3; in xTraceEventCreate3()
195 (void)xTraceStreamPortCommit(pxEventData, sizeof(TraceEvent3_t), &iBytesCommitted); in xTraceEventCreate3()
208 TraceEvent4_t* pxEventData = (void*)0; in xTraceEventCreate4() local
223 …if (xTraceStreamPortAllocate(sizeof(TraceEvent4_t), (void**)&pxEventData) == TRC_FAIL) /*cstat !MI… in xTraceEventCreate4()
229 …SET_BASE_EVENT_DATA(pxEventData, uiEventCode, 4, pxTraceEventDataTable->coreEventData[TRC_CFG_GET_… in xTraceEventCreate4()
231 pxEventData->uxParams[0] = uxParam1; in xTraceEventCreate4()
232 pxEventData->uxParams[1] = uxParam2; in xTraceEventCreate4()
233 pxEventData->uxParams[2] = uxParam3; in xTraceEventCreate4()
234 pxEventData->uxParams[3] = uxParam4; in xTraceEventCreate4()
236 (void)xTraceStreamPortCommit(pxEventData, sizeof(TraceEvent4_t), &iBytesCommitted); in xTraceEventCreate4()
249 TraceEvent5_t* pxEventData = (void*)0; in xTraceEventCreate5() local
264 …if (xTraceStreamPortAllocate(sizeof(TraceEvent5_t), (void**)&pxEventData) == TRC_FAIL) /*cstat !MI… in xTraceEventCreate5()
270 …SET_BASE_EVENT_DATA(pxEventData, uiEventCode, 5, pxTraceEventDataTable->coreEventData[TRC_CFG_GET_… in xTraceEventCreate5()
272 pxEventData->uxParams[0] = uxParam1; in xTraceEventCreate5()
273 pxEventData->uxParams[1] = uxParam2; in xTraceEventCreate5()
274 pxEventData->uxParams[2] = uxParam3; in xTraceEventCreate5()
275 pxEventData->uxParams[3] = uxParam4; in xTraceEventCreate5()
276 pxEventData->uxParams[4] = uxParam5; in xTraceEventCreate5()
278 (void)xTraceStreamPortCommit(pxEventData, sizeof(TraceEvent5_t), &iBytesCommitted); in xTraceEventCreate5()
291 TraceEvent6_t* pxEventData = (void*)0; in xTraceEventCreate6() local
306 …if (xTraceStreamPortAllocate(sizeof(TraceEvent6_t), (void**)&pxEventData) == TRC_FAIL) /*cstat !MI… in xTraceEventCreate6()
312 …SET_BASE_EVENT_DATA(pxEventData, uiEventCode, 6, pxTraceEventDataTable->coreEventData[TRC_CFG_GET_… in xTraceEventCreate6()
314 pxEventData->uxParams[0] = uxParam1; in xTraceEventCreate6()
315 pxEventData->uxParams[1] = uxParam2; in xTraceEventCreate6()
316 pxEventData->uxParams[2] = uxParam3; in xTraceEventCreate6()
317 pxEventData->uxParams[3] = uxParam4; in xTraceEventCreate6()
318 pxEventData->uxParams[4] = uxParam5; in xTraceEventCreate6()
319 pxEventData->uxParams[5] = uxParam6; in xTraceEventCreate6()
321 (void)xTraceStreamPortCommit(pxEventData, sizeof(TraceEvent6_t), &iBytesCommitted); in xTraceEventCreate6()
335 TraceEventData_t* pxEventData; in xTraceEventBeginRawOffline() local
361 pxEventData = &pxCoreEventData->eventData[ISR_nesting + 1]; in xTraceEventBeginRawOffline()
364 …TRC_ASSERT_CUSTOM_ON_FAIL(pxEventData->pvBlob == 0, TRACE_EXIT_CRITICAL_SECTION(); return TRC_FAIL… in xTraceEventBeginRawOffline()
368 …pxEventData->size = ((uiSize + (sizeof(TraceUnsignedBaseType_t) - 1u)) / sizeof(TraceUnsignedBaseT… in xTraceEventBeginRawOffline()
370 pxEventData->offset = 0u; in xTraceEventBeginRawOffline()
373 if (xTraceStreamPortAllocate(pxEventData->size, &pxEventData->pvBlob) == TRC_FAIL) in xTraceEventBeginRawOffline()
379 *pxEventHandle = (TraceEventHandle_t)pxEventData; in xTraceEventBeginRawOffline()
386 TraceEventData_t* pxEventData; in xTraceEventBeginRawOfflineBlocking() local
414 …pxEventData = &pxTraceEventDataTable->coreEventData[TRC_CFG_GET_CURRENT_CORE()].eventData[ISR_nest… in xTraceEventBeginRawOfflineBlocking()
417 …TRC_ASSERT_CUSTOM_ON_FAIL(pxEventData->pvBlob == 0, TRACE_EXIT_CRITICAL_SECTION(); return TRC_FAIL… in xTraceEventBeginRawOfflineBlocking()
421 …pxEventData->size = ((uiSize + (sizeof(TraceUnsignedBaseType_t) - 1u)) / sizeof(TraceUnsignedBaseT… in xTraceEventBeginRawOfflineBlocking()
423 pxEventData->offset = 0u; in xTraceEventBeginRawOfflineBlocking()
426 while (xTraceStreamPortAllocate(pxEventData->size, &pxEventData->pvBlob) != TRC_SUCCESS) in xTraceEventBeginRawOfflineBlocking()
431 *pxEventHandle = (TraceEventHandle_t)pxEventData; in xTraceEventBeginRawOfflineBlocking()
438 TraceEventData_t* pxEventData = (TraceEventData_t*)xEventHandle; in xTraceEventEndOffline() local
453 …TRC_ASSERT_CUSTOM_ON_FAIL(pxEventData != (void*)0, TRACE_EXIT_CRITICAL_SECTION(); return TRC_FAIL;… in xTraceEventEndOffline()
456 …TRC_ASSERT_CUSTOM_ON_FAIL(pxEventData->pvBlob != (void*)0, TRACE_EXIT_CRITICAL_SECTION(); return T… in xTraceEventEndOffline()
458 (void)xTraceStreamPortCommit(pxEventData->pvBlob, pxEventData->size, &iBytesCommitted); in xTraceEventEndOffline()
464 RESET_EVENT_DATA(pxEventData); in xTraceEventEndOffline()
473 TraceEventData_t* pxEventData = (TraceEventData_t*)xEventHandle; in xTraceEventEndOfflineBlocking() local
490 …TRC_ASSERT_CUSTOM_ON_FAIL(pxEventData != (void*)0, TRACE_EXIT_CRITICAL_SECTION(); return TRC_FAIL;… in xTraceEventEndOfflineBlocking()
493 …TRC_ASSERT_CUSTOM_ON_FAIL(pxEventData->pvBlob != (void*)0, TRACE_EXIT_CRITICAL_SECTION(); return T… in xTraceEventEndOfflineBlocking()
495 pubBlob = (uint8_t*)pxEventData->pvBlob; /*cstat !MISRAC2012-Rule-11.5 Suppress pointer checks*/ in xTraceEventEndOfflineBlocking()
497 while (pxEventData->size > uiByteOffset) in xTraceEventEndOfflineBlocking()
500 …(void)xTraceStreamPortCommit((void*)&pubBlob[uiByteOffset], pxEventData->size - uiByteOffset, &iBy… in xTraceEventEndOfflineBlocking()
505 RESET_EVENT_DATA(pxEventData); in xTraceEventEndOfflineBlocking()