Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/osa/
Dfsl_os_abstraction_threadx.c346 osa_status_t OSA_SemaphorePrecreate(osa_semaphore_handle_t semaphoreHandle, osa_task_ptr_t taskHand… in OSA_SemaphorePrecreate() argument
348 semaphoreHandle = semaphoreHandle; in OSA_SemaphorePrecreate()
360 osa_status_t OSA_SemaphoreCreate(osa_semaphore_handle_t semaphoreHandle, uint32_t initValue) in OSA_SemaphoreCreate() argument
364 assert(semaphoreHandle != NULL); in OSA_SemaphoreCreate()
366 if (TX_SUCCESS != tx_semaphore_create((TX_SEMAPHORE *)semaphoreHandle, NULL, (ULONG)initValue)) in OSA_SemaphoreCreate()
381 osa_status_t OSA_SemaphoreCreateBinary(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphoreCreateBinary() argument
394 osa_status_t OSA_SemaphoreDestroy(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphoreDestroy() argument
398 assert(semaphoreHandle != NULL); in OSA_SemaphoreDestroy()
400 if (TX_SUCCESS != tx_semaphore_delete((TX_SEMAPHORE *)semaphoreHandle)) in OSA_SemaphoreDestroy()
421 osa_status_t OSA_SemaphoreWait(osa_semaphore_handle_t semaphoreHandle, uint32_t millisec) in OSA_SemaphoreWait() argument
[all …]
Dfsl_os_abstraction_free_rtos.c369 osa_status_t OSA_SemaphorePrecreate(osa_semaphore_handle_t semaphoreHandle, osa_task_ptr_t taskHand… in OSA_SemaphorePrecreate() argument
371 semaphoreHandle = semaphoreHandle; in OSA_SemaphorePrecreate()
383 osa_status_t OSA_SemaphoreCreate(osa_semaphore_handle_t semaphoreHandle, uint32_t initValue) in OSA_SemaphoreCreate() argument
386 assert(NULL != semaphoreHandle); in OSA_SemaphoreCreate()
397 *(uint32_t *)semaphoreHandle = xSemaHandle.semhandle; in OSA_SemaphoreCreate()
410 osa_status_t OSA_SemaphoreCreateBinary(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphoreCreateBinary() argument
413 assert(NULL != semaphoreHandle); in OSA_SemaphoreCreateBinary()
424 *(uint32_t *)semaphoreHandle = xSemaHandle.semhandle; in OSA_SemaphoreCreateBinary()
437 osa_status_t OSA_SemaphoreDestroy(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphoreDestroy() argument
439 assert(NULL != semaphoreHandle); in OSA_SemaphoreDestroy()
[all …]
Dfsl_os_abstraction_bm.c543 osa_status_t OSA_SemaphorePrecreate(osa_semaphore_handle_t semaphoreHandle, osa_task_ptr_t taskHand… in OSA_SemaphorePrecreate() argument
545 semaphoreHandle = semaphoreHandle; in OSA_SemaphorePrecreate()
558 osa_status_t OSA_SemaphoreCreate(osa_semaphore_handle_t semaphoreHandle, uint32_t initValue) in OSA_SemaphoreCreate() argument
560 semaphore_t *pSemStruct = (semaphore_t *)semaphoreHandle; in OSA_SemaphoreCreate()
562 assert(semaphoreHandle); in OSA_SemaphoreCreate()
587 osa_status_t OSA_SemaphoreCreateBinary(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphoreCreateBinary() argument
589 semaphore_t *pSemStruct = (semaphore_t *)semaphoreHandle; in OSA_SemaphoreCreateBinary()
591 assert(semaphoreHandle); in OSA_SemaphoreCreateBinary()
615 osa_status_t OSA_SemaphoreDestroy(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphoreDestroy() argument
617 assert(semaphoreHandle); in OSA_SemaphoreDestroy()
[all …]
Dfsl_os_abstraction.h584 osa_status_t OSA_SemaphorePrecreate(osa_semaphore_handle_t semaphoreHandle, osa_task_ptr_t taskHand…
609 osa_status_t OSA_SemaphoreCreate(osa_semaphore_handle_t semaphoreHandle, uint32_t initValue);
632 osa_status_t OSA_SemaphoreCreateBinary(osa_semaphore_handle_t semaphoreHandle);
644 osa_status_t OSA_SemaphoreDestroy(osa_semaphore_handle_t semaphoreHandle);
662 osa_status_t OSA_SemaphoreWait(osa_semaphore_handle_t semaphoreHandle, uint32_t millisec);
676 osa_status_t OSA_SemaphorePost(osa_semaphore_handle_t semaphoreHandle);