/hardware/ti/omap4-aah/security/tf_daemon/ |
D | lib_manifest2.c | 39 #define LOG_ERROR(pContext, msg, ...) log_error("%s - line %d: " msg, pContext->pManifestName, pCon… argument 50 #define LOG_ERROR(pContext...) argument 57 LIB_MANIFEST2_CONTEXT* pContext) in libManifest2InitContext() argument 59 pContext->nOffset = 0; in libManifest2InitContext() 60 pContext->nLine = 1; in libManifest2InitContext() 61 pContext->nSectionStartOffset = 0; in libManifest2InitContext() 132 LIB_MANIFEST2_CONTEXT* pContext, in static_libManifest2GetNextItemInternal() argument 139 uint8_t* pCurrent = pContext->pManifestContent + pContext->nOffset; in static_libManifest2GetNextItemInternal() 140 uint8_t* pEnd = pContext->pManifestContent + pContext->nManifestLength; in static_libManifest2GetNextItemInternal() 145 if (pContext->nType != LIB_MANIFEST2_TYPE_COMPILED) in static_libManifest2GetNextItemInternal() [all …]
|
D | lib_manifest2.h | 81 LIB_MANIFEST2_CONTEXT* pContext); 94 LIB_MANIFEST2_CONTEXT* pContext, 101 LIB_MANIFEST2_CONTEXT* pContext,
|
D | delegation_client.c | 993 static int runSession(TEEC_Context* pContext, TEEC_Session* pSession, TEEC_Operation* pOperation) in runSession() argument 1273 static int createSession(TEEC_Context* pContext, TEEC_Session* pSession, TEEC_Operation* pOperation) in createSession() argument 1281 nError = TEEC_OpenSession(pContext, in createSession() 1328 nError = TEEC_RegisterSharedMemory(pContext, &sExchangeSharedMem); in createSession()
|
/hardware/ti/omap4xxx/security/tf_daemon/ |
D | lib_manifest2.c | 39 #define LOG_ERROR(pContext, msg, ...) log_error("%s - line %d: " msg, pContext->pManifestName, pCon… argument 50 #define LOG_ERROR(pContext...) argument 57 LIB_MANIFEST2_CONTEXT* pContext) in libManifest2InitContext() argument 59 pContext->nOffset = 0; in libManifest2InitContext() 60 pContext->nLine = 1; in libManifest2InitContext() 61 pContext->nSectionStartOffset = 0; in libManifest2InitContext() 132 LIB_MANIFEST2_CONTEXT* pContext, in static_libManifest2GetNextItemInternal() argument 139 uint8_t* pCurrent = pContext->pManifestContent + pContext->nOffset; in static_libManifest2GetNextItemInternal() 140 uint8_t* pEnd = pContext->pManifestContent + pContext->nManifestLength; in static_libManifest2GetNextItemInternal() 145 if (pContext->nType != LIB_MANIFEST2_TYPE_COMPILED) in static_libManifest2GetNextItemInternal() [all …]
|
D | lib_manifest2.h | 81 LIB_MANIFEST2_CONTEXT* pContext); 94 LIB_MANIFEST2_CONTEXT* pContext, 101 LIB_MANIFEST2_CONTEXT* pContext,
|
D | delegation_client.c | 875 static int runSession(TEEC_Context* pContext, TEEC_Session* pSession, TEEC_Operation* pOperation) in runSession() argument 1107 static int createSession(TEEC_Context* pContext, TEEC_Session* pSession, TEEC_Operation* pOperation) in createSession() argument 1115 nError = TEEC_OpenSession(pContext, in createSession() 1162 nError = TEEC_RegisterSharedMemory(pContext, &sExchangeSharedMem); in createSession()
|
/hardware/intel/img/psb_video/src/ |
D | pnw_hostjpeg.c | 517 IMG_ERRORCODE AllocateCodedDataBuffers(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext) in AllocateCodedDataBuffers() argument 521 for (ui8Loop = 0 ; ui8Loop < pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers; ui8Loop ++) in AllocateCodedDataBuffers() 522 if (pContext->sScan_Encode_Info.aBufferTable[ui8Loop].pMemInfo == NULL) { in AllocateCodedDataBuffers() 523 …pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui32DataBufferSizeBytes = ((DATA_BUFFER_SIZE(pCo… in AllocateCodedDataBuffers() 524 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui32DataBufferUsedBytes = 0; in AllocateCodedDataBuffers() 525 … pContext->sScan_Encode_Info.aBufferTable[ui8Loop].i8MTXNumber = 0; // Indicates buffer is idle in AllocateCodedDataBuffers() 526 … pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui16ScanNumber = 0; // Indicates buffer is idle in AllocateCodedDataBuffers() 527 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].pMemInfo = in AllocateCodedDataBuffers() 528 …(unsigned char *)pContext->jpeg_coded_buf.pMemInfo + PNW_JPEG_HEADER_MAX_SIZE + ui8Loop * pContext… in AllocateCodedDataBuffers() 545 IMG_UINT32 FreeCodedDataBuffers(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext) [all …]
|
D | pnw_jpeg.c | 553 TOPAZSC_JPEG_ENCODER_CONTEXT *pContext = ctx->jpeg_ctx; in pnw_jpeg_EndPicture() local 562 ui32RemainMCUs = pContext->sScan_Encode_Info.ui32NumberMCUsToEncode; in pnw_jpeg_EndPicture() 564 for (ui16BCnt = 0; ui16BCnt < pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers in pnw_jpeg_EndPicture() 565 && pContext->sScan_Encode_Info.ui16SScan > 0; ui16BCnt++) { in pnw_jpeg_EndPicture() 566 pContext->sScan_Encode_Info.aBufferTable[ui16BCnt].ui16ScanNumber = in pnw_jpeg_EndPicture() 567 pContext->sScan_Encode_Info.ui16SScan--; in pnw_jpeg_EndPicture() 568 if (pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers < 2 || in pnw_jpeg_EndPicture() 569 pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers > PNW_JPEG_MAX_SCAN_NUM) { in pnw_jpeg_EndPicture() 575 pContext->sScan_Encode_Info.aBufferTable[ui16BCnt].i8MTXNumber = in pnw_jpeg_EndPicture() 576 (aui32_jpg_mtx_num[pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers - 1] in pnw_jpeg_EndPicture() [all …]
|
D | pnw_hostjpeg.h | 648 IMG_ERRORCODE Legacy_PrepareHeader(LEGACY_JPEG_ENCODER_CONTEXT * pContext, IMG_CODED_BUFFER *pCBuff… 663 IMG_ERRORCODE PrepareHeader(TOPAZSC_JPEG_ENCODER_CONTEXT * pContext, IMG_CODED_BUFFER *pCBuffer, IM… 664 IMG_ERRORCODE AllocateCodedDataBuffers(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext); 674 IMG_ERRORCODE InitializeJpegEncode(TOPAZSC_JPEG_ENCODER_CONTEXT * pContext, object_surface_p pTFram… 675 IMG_ERRORCODE SetupJPEGTables(TOPAZSC_JPEG_ENCODER_CONTEXT * pContext, IMG_CODED_BUFFER *pCBuffer, … 676 IMG_ERRORCODE SubmitScanToMTX(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext, IMG_UINT16 ui16BCnt, IMG_INT8…
|
/hardware/ti/omap4-aah/domx/test/sample_proxy/ |
D | test_sample_proxy.c | 418 SampleCompTestCtxt *pContext; in SampleTest_EventHandler() local 425 pContext = (SampleCompTestCtxt *) pAppData; in SampleTest_EventHandler() 435 pContext->eState = (OMX_STATETYPE) nData2; in SampleTest_EventHandler() 436 TIMM_OSAL_SemaphoreRelease(pContext->hStateSetEvent); in SampleTest_EventHandler() 443 TIMM_OSAL_SemaphoreRelease(pContext-> in SampleTest_EventHandler() 494 SampleCompTestCtxt *pContext; in SampleTest_EmptyBufferDone() local 501 pContext = (SampleCompTestCtxt *) pAppData; in SampleTest_EmptyBufferDone() 502 pContext->nBufDoneCalls++; in SampleTest_EmptyBufferDone() 504 BUFFER_LIST_SET_ENTRY(pContext->pInBufferList, pBuffer); in SampleTest_EmptyBufferDone() 519 SampleCompTestCtxt *pContext; in SampleTest_FillBufferDone() local [all …]
|
/hardware/ti/omap4xxx/domx/test/sample_proxy/ |
D | test_sample_proxy.c | 418 SampleCompTestCtxt *pContext; in SampleTest_EventHandler() local 425 pContext = (SampleCompTestCtxt *) pAppData; in SampleTest_EventHandler() 435 pContext->eState = (OMX_STATETYPE) nData2; in SampleTest_EventHandler() 436 TIMM_OSAL_SemaphoreRelease(pContext->hStateSetEvent); in SampleTest_EventHandler() 443 TIMM_OSAL_SemaphoreRelease(pContext-> in SampleTest_EventHandler() 494 SampleCompTestCtxt *pContext; in SampleTest_EmptyBufferDone() local 501 pContext = (SampleCompTestCtxt *) pAppData; in SampleTest_EmptyBufferDone() 502 pContext->nBufDoneCalls++; in SampleTest_EmptyBufferDone() 504 BUFFER_LIST_SET_ENTRY(pContext->pInBufferList, pBuffer); in SampleTest_EmptyBufferDone() 519 SampleCompTestCtxt *pContext; in SampleTest_FillBufferDone() local [all …]
|
/hardware/ti/omap4-aah/security/tee_client_api/ |
D | tee_client_api_linux_driver.c | 165 IN TEEC_Context* pContext, in scxExchangeMessage() argument 172 TRACE_INFO("scxExchangeMessage[0x%X]\n",pContext); in scxExchangeMessage() 245 nResult = ioctl((S_HANDLE)pContext->imp._hConnection, IOCTL_SCX_EXCHANGE, pCommand); in scxExchangeMessage() 248 …TRACE_INFO("scxExchangeMessage[0x%X]: Ioctl returned error: 0x%x (0x%x - %d)\n",pContext,nResult,e… in scxExchangeMessage() 388 TEEC_Context* pContext) in TEEC_InitializeContext() argument 439 pContext->imp._hConnection = hDriver; in TEEC_InitializeContext() 444 pContext->imp._hConnection = 0; in TEEC_InitializeContext() 451 void TEEC_FinalizeContext(TEEC_Context* pContext) in TEEC_FinalizeContext() argument 453 TRACE_INFO("TEEC_FinalizeContext[0x%X]", pContext); in TEEC_FinalizeContext() 455 if (pContext == NULL) return; in TEEC_FinalizeContext() [all …]
|
/hardware/ti/omap4xxx/security/tee_client_api/ |
D | tee_client_api_linux_driver.c | 157 IN TEEC_Context* pContext, in scxExchangeMessage() argument 164 TRACE_INFO("scxExchangeMessage[0x%X]\n",pContext); in scxExchangeMessage() 237 nResult = ioctl((S_HANDLE)pContext->imp._hConnection, IOCTL_SCX_EXCHANGE, pCommand); in scxExchangeMessage() 240 …TRACE_INFO("scxExchangeMessage[0x%X]: Ioctl returned error: 0x%x (0x%x - %d)\n",pContext,nResult,e… in scxExchangeMessage() 380 TEEC_Context* pContext) in TEEC_InitializeContext() argument 431 pContext->imp._hConnection = hDriver; in TEEC_InitializeContext() 436 pContext->imp._hConnection = 0; in TEEC_InitializeContext() 443 void TEEC_FinalizeContext(TEEC_Context* pContext) in TEEC_FinalizeContext() argument 445 TRACE_INFO("TEEC_FinalizeContext[0x%X]", pContext); in TEEC_FinalizeContext() 447 if (pContext == NULL) return; in TEEC_FinalizeContext() [all …]
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/inc/ |
D | OMX_VideoEnc_DSP.h | 258 …void (*pfNalUnitCallBack)(OMX_U32 *pNalu, OMX_U32 *pPacketSizeInBytes, void *pContext) ; /* Func… 259 void *pContext ; /*pointer to context structure used during callback*/ member
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/ |
D | OMX_VideoEnc_Utils.c | 2554 ((H264VE_GPP_SN_UALGInputParams*)pUalgInpParams)->H264VENC_TI_DYNAMICPARAMS.pContext = NULL; in OMX_VIDENC_Process_FilledInBuf()
|