Home
last modified time | relevance | path

Searched refs:pMutex (Results 1 – 9 of 9) sorted by relevance

/hardware/ti/omap4xxx/security/tf_crypto_sst/
Dlib_mutex_linux.c37 void libMutexInit(LIB_MUTEX* pMutex) in libMutexInit() argument
39 pthread_mutex_init(pMutex, NULL); in libMutexInit()
43 void libMutexLock(LIB_MUTEX* pMutex) in libMutexLock() argument
45 pthread_mutex_lock(pMutex); in libMutexLock()
48 void libMutexUnlock(LIB_MUTEX* pMutex) in libMutexUnlock() argument
50 pthread_mutex_unlock(pMutex); in libMutexUnlock()
53 void libMutexDestroy(LIB_MUTEX* pMutex) in libMutexDestroy() argument
55 pthread_mutex_destroy(pMutex); in libMutexDestroy()
Dlib_mutex.h80 void libMutexInit(LIB_MUTEX* pMutex);
85 void libMutexLock(LIB_MUTEX* pMutex);
90 void libMutexUnlock(LIB_MUTEX* pMutex);
95 void libMutexDestroy(LIB_MUTEX* pMutex);
/hardware/ti/omap4xxx/domx/mm_osal/src/
Dtimm_osal_mutex.c73 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexCreate(TIMM_OSAL_PTR * pMutex) in TIMM_OSAL_MutexCreate() argument
95 *pMutex = (TIMM_OSAL_PTR) plMutex; in TIMM_OSAL_MutexCreate()
121 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexDelete(TIMM_OSAL_PTR pMutex) in TIMM_OSAL_MutexDelete() argument
124 pthread_mutex_t *plMutex = (pthread_mutex_t *) pMutex; in TIMM_OSAL_MutexDelete()
155 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexObtain(TIMM_OSAL_PTR pMutex, argument
162 pthread_mutex_t *plMutex = (pthread_mutex_t *) pMutex;
221 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexRelease(TIMM_OSAL_PTR pMutex) argument
224 pthread_mutex_t *plMutex = (pthread_mutex_t *) pMutex;
/hardware/ti/omap4xxx/domx/mm_osal/inc/
Dtimm_osal_mutex.h61 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexCreate(TIMM_OSAL_PTR * pMutex);
62 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexDelete(TIMM_OSAL_PTR pMutex);
63 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexObtain(TIMM_OSAL_PTR pMutex,
65 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexRelease(TIMM_OSAL_PTR pMutex);
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/
DExynosVideoEncoder.c122 pthread_mutex_t *pMutex = NULL; in MFC_Encoder_Init() local
149 pMutex = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t)); in MFC_Encoder_Init()
150 if (pMutex == NULL) { in MFC_Encoder_Init()
154 if (pthread_mutex_init(pMutex, NULL) != 0) { in MFC_Encoder_Init()
155 free(pMutex); in MFC_Encoder_Init()
158 pCtx->pInMutex = (void*)pMutex; in MFC_Encoder_Init()
160 pMutex = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t)); in MFC_Encoder_Init()
161 if (pMutex == NULL) { in MFC_Encoder_Init()
165 if (pthread_mutex_init(pMutex, NULL) != 0) { in MFC_Encoder_Init()
166 free(pMutex); in MFC_Encoder_Init()
[all …]
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/
DExynosVideoDecoder.c114 pthread_mutex_t *pMutex = NULL; in MFC_Decoder_Init() local
141 pMutex = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t)); in MFC_Decoder_Init()
142 if (pMutex == NULL) { in MFC_Decoder_Init()
146 if (pthread_mutex_init(pMutex, NULL) != 0) { in MFC_Decoder_Init()
147 free(pMutex); in MFC_Decoder_Init()
150 pCtx->pInMutex = (void*)pMutex; in MFC_Decoder_Init()
152 pMutex = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t)); in MFC_Decoder_Init()
153 if (pMutex == NULL) { in MFC_Decoder_Init()
157 if (pthread_mutex_init(pMutex, NULL) != 0) { in MFC_Decoder_Init()
158 free(pMutex); in MFC_Decoder_Init()
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/
DOMX_VideoDec_Utils.h1445 OMX_ERRORTYPE IncrementCount (OMX_U8 * pCounter, pthread_mutex_t *pMutex);
1446 OMX_ERRORTYPE DecrementCount (OMX_U8 * pCounter, pthread_mutex_t *pMutex);
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
DOMX_VideoDec_Utils.c9203 OMX_ERRORTYPE IncrementCount (OMX_U8 * pCounter, pthread_mutex_t *pMutex) { argument
9205 if(pthread_mutex_lock(pMutex)) {
9209 if(pthread_mutex_unlock(pMutex)) {
9215 OMX_ERRORTYPE DecrementCount (OMX_U8 * pCounter, pthread_mutex_t *pMutex) { argument
9217 if(pthread_mutex_lock(pMutex)) {
9221 if(pthread_mutex_unlock(pMutex)) {
DOMX_VideoDecoder.c99 extern OMX_ERRORTYPE IncrementCount (OMX_U8 * pCounter, pthread_mutex_t *pMutex);
100 extern OMX_ERRORTYPE DecrementCount (OMX_U8 * pCounter, pthread_mutex_t *pMutex);