Home
last modified time | relevance | path

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

/hardware/ti/omap4xxx/domx/mm_osal/src/
Dtimm_osal_semaphores.c87 sem_t *psem = (sem_t *) TIMM_OSAL_Malloc(sizeof(sem_t), 0, 0, 0); in TIMM_OSAL_SemaphoreCreate() local
89 if (TIMM_OSAL_NULL == psem) in TIMM_OSAL_SemaphoreCreate()
96 if (SUCCESS != sem_init(psem, 0, uInitCount)) in TIMM_OSAL_SemaphoreCreate()
102 *pSemaphore = (TIMM_OSAL_PTR) psem; in TIMM_OSAL_SemaphoreCreate()
106 if ((TIMM_OSAL_ERR_NONE != bReturnStatus) && (TIMM_OSAL_NULL != psem)) in TIMM_OSAL_SemaphoreCreate()
108 TIMM_OSAL_Free(psem); in TIMM_OSAL_SemaphoreCreate()
123 sem_t *psem = (sem_t *) pSemaphore; in TIMM_OSAL_SemaphoreDelete() local
125 if (psem == TIMM_OSAL_NULL) in TIMM_OSAL_SemaphoreDelete()
131 if (SUCCESS != sem_destroy(psem)) in TIMM_OSAL_SemaphoreDelete()
137 TIMM_OSAL_Free(psem); in TIMM_OSAL_SemaphoreDelete()
[all …]