Searched refs:psem (Results 1 – 2 of 2) sorted by relevance
/hardware/ti/omap4-aah/domx/mm_osal/src/ |
D | timm_osal_semaphores.c | 87 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 …]
|
/hardware/ti/omap4xxx/domx/mm_osal/src/ |
D | timm_osal_semaphores.c | 87 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 …]
|