Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/osa/
Dfsl_os_abstraction_threadx.c481 osa_status_t OSA_MutexCreate(osa_mutex_handle_t mutexHandle) in OSA_MutexCreate() argument
483 assert(mutexHandle); in OSA_MutexCreate()
487 if (TX_SUCCESS != tx_mutex_create((TX_MUTEX *)mutexHandle, NULL, 0U)) in OSA_MutexCreate()
505 osa_status_t OSA_MutexLock(osa_mutex_handle_t mutexHandle, uint32_t millisec) in OSA_MutexLock() argument
507 assert(mutexHandle); in OSA_MutexLock()
522 if (TX_SUCCESS != tx_mutex_get((TX_MUTEX *)mutexHandle, timeoutTicks)) in OSA_MutexLock()
536 osa_status_t OSA_MutexUnlock(osa_mutex_handle_t mutexHandle) in OSA_MutexUnlock() argument
538 assert(mutexHandle); in OSA_MutexUnlock()
542 if (TX_SUCCESS != tx_mutex_put((TX_MUTEX *)mutexHandle)) in OSA_MutexUnlock()
557 osa_status_t OSA_MutexDestroy(osa_mutex_handle_t mutexHandle) in OSA_MutexDestroy() argument
[all …]
Dfsl_os_abstraction_free_rtos.c535 osa_status_t OSA_MutexCreate(osa_mutex_handle_t mutexHandle) in OSA_MutexCreate() argument
538 assert(NULL != mutexHandle); in OSA_MutexCreate()
549 *(uint32_t *)mutexHandle = xMutexHandle.pmutexHandle; in OSA_MutexCreate()
565 osa_status_t OSA_MutexLock(osa_mutex_handle_t mutexHandle, uint32_t millisec) in OSA_MutexLock() argument
567 assert(NULL != mutexHandle); in OSA_MutexLock()
569 QueueHandle_t mutex = (QueueHandle_t)(void *)(uint32_t *)(*(uint32_t *)mutexHandle); in OSA_MutexLock()
597 osa_status_t OSA_MutexUnlock(osa_mutex_handle_t mutexHandle) in OSA_MutexUnlock() argument
599 assert(NULL != mutexHandle); in OSA_MutexUnlock()
600 QueueHandle_t mutex = (QueueHandle_t)(void *)(uint32_t *)(*(uint32_t *)mutexHandle); in OSA_MutexUnlock()
619 osa_status_t OSA_MutexDestroy(osa_mutex_handle_t mutexHandle) in OSA_MutexDestroy() argument
[all …]
Dfsl_os_abstraction_bm.c749 osa_status_t OSA_MutexCreate(osa_mutex_handle_t mutexHandle) in OSA_MutexCreate() argument
751 mutex_t *pMutexStruct = (mutex_t *)mutexHandle; in OSA_MutexCreate()
753 assert(mutexHandle); in OSA_MutexCreate()
778 osa_status_t OSA_MutexLock(osa_mutex_handle_t mutexHandle, uint32_t millisec) in OSA_MutexLock() argument
785 mutex_t *pMutexStruct = (mutex_t *)mutexHandle; in OSA_MutexLock()
844 osa_status_t OSA_MutexUnlock(osa_mutex_handle_t mutexHandle) in OSA_MutexUnlock() argument
846 mutex_t *pMutexStruct = (mutex_t *)mutexHandle; in OSA_MutexUnlock()
848 assert(mutexHandle); in OSA_MutexUnlock()
862 osa_status_t OSA_MutexDestroy(osa_mutex_handle_t mutexHandle) in OSA_MutexDestroy() argument
864 assert(mutexHandle); in OSA_MutexDestroy()
[all …]
Dfsl_os_abstraction.h698 osa_status_t OSA_MutexCreate(osa_mutex_handle_t mutexHandle);
718 osa_status_t OSA_MutexLock(osa_mutex_handle_t mutexHandle, uint32_t millisec);
728 osa_status_t OSA_MutexUnlock(osa_mutex_handle_t mutexHandle);
739 osa_status_t OSA_MutexDestroy(osa_mutex_handle_t mutexHandle);