Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/osa/
Dfsl_os_abstraction_free_rtos.c493 osa_status_t OSA_SemaphorePrecreate(osa_semaphore_handle_t semaphoreHandle, osa_task_ptr_t taskHand… in OSA_SemaphorePrecreate() argument
495 semaphoreHandle = semaphoreHandle; in OSA_SemaphorePrecreate()
507 osa_status_t OSA_SemaphoreCreate(osa_semaphore_handle_t semaphoreHandle, uint32_t initValue) in OSA_SemaphoreCreate() argument
515 assert(NULL != semaphoreHandle); in OSA_SemaphoreCreate()
524 …CountingStatic(0xFF, initValue, (StaticQueue_t *)(void *)((uint8_t *)semaphoreHandle + sizeof(osa_… in OSA_SemaphoreCreate()
530 *(uint32_t *)semaphoreHandle = xSemaHandle.semhandle; in OSA_SemaphoreCreate()
543 osa_status_t OSA_SemaphoreCreateBinary(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphoreCreateBinary() argument
551 assert(NULL != semaphoreHandle); in OSA_SemaphoreCreateBinary()
560 … = xSemaphoreCreateBinaryStatic((StaticQueue_t *)(void *)((uint8_t *)semaphoreHandle + sizeof(osa_… in OSA_SemaphoreCreateBinary()
566 *(uint32_t *)semaphoreHandle = xSemaHandle.semhandle; in OSA_SemaphoreCreateBinary()
[all …]
Dfsl_os_abstraction_threadx.c467 osa_status_t OSA_SemaphorePrecreate(osa_semaphore_handle_t semaphoreHandle, osa_task_ptr_t taskHand… in OSA_SemaphorePrecreate() argument
469 semaphoreHandle = semaphoreHandle; in OSA_SemaphorePrecreate()
481 osa_status_t OSA_SemaphoreCreate(osa_semaphore_handle_t semaphoreHandle, uint32_t initValue) in OSA_SemaphoreCreate() argument
485 assert(semaphoreHandle != NULL); in OSA_SemaphoreCreate()
487 if (TX_SUCCESS != tx_semaphore_create((TX_SEMAPHORE *)semaphoreHandle, NULL, (ULONG)initValue)) in OSA_SemaphoreCreate()
502 osa_status_t OSA_SemaphoreCreateBinary(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphoreCreateBinary() argument
515 osa_status_t OSA_SemaphoreDestroy(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphoreDestroy() argument
519 assert(semaphoreHandle != NULL); in OSA_SemaphoreDestroy()
521 if (TX_SUCCESS != tx_semaphore_delete((TX_SEMAPHORE *)semaphoreHandle)) in OSA_SemaphoreDestroy()
542 osa_status_t OSA_SemaphoreWait(osa_semaphore_handle_t semaphoreHandle, uint32_t millisec) in OSA_SemaphoreWait() argument
[all …]
Dfsl_os_abstraction_zephyr.c888 osa_status_t OSA_SemaphoreCreate(osa_semaphore_handle_t semaphoreHandle, uint32_t initValue) in OSA_SemaphoreCreate() argument
890 osa_zephyr_semHandle_t *z_semHandle = (osa_zephyr_semHandle_t *)semaphoreHandle; in OSA_SemaphoreCreate()
905 osa_status_t OSA_SemaphoreCreateBinary(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphoreCreateBinary() argument
907 osa_zephyr_semHandle_t *z_semHandle = (osa_zephyr_semHandle_t *)semaphoreHandle; in OSA_SemaphoreCreateBinary()
926 osa_status_t OSA_SemaphoreDestroy(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphoreDestroy() argument
928 osa_zephyr_semHandle_t *z_semHandle = (osa_zephyr_semHandle_t *)semaphoreHandle; in OSA_SemaphoreDestroy()
938 osa_status_t OSA_SemaphoreWait(osa_semaphore_handle_t semaphoreHandle, uint32_t millisec) in OSA_SemaphoreWait() argument
940 osa_zephyr_semHandle_t *z_semHandle = (osa_zephyr_semHandle_t *)semaphoreHandle; in OSA_SemaphoreWait()
962 osa_status_t OSA_SemaphorePost(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphorePost() argument
964 osa_zephyr_semHandle_t *z_semHandle = (osa_zephyr_semHandle_t *)semaphoreHandle; in OSA_SemaphorePost()
[all …]
Dfsl_os_abstraction_bm.c638 osa_status_t OSA_SemaphorePrecreate(osa_semaphore_handle_t semaphoreHandle, osa_task_ptr_t taskHand… in OSA_SemaphorePrecreate() argument
640 semaphoreHandle = semaphoreHandle; in OSA_SemaphorePrecreate()
653 osa_status_t OSA_SemaphoreCreate(osa_semaphore_handle_t semaphoreHandle, uint32_t initValue) in OSA_SemaphoreCreate() argument
655 semaphore_t *pSemStruct = (semaphore_t *)semaphoreHandle; in OSA_SemaphoreCreate()
657 assert(semaphoreHandle); in OSA_SemaphoreCreate()
682 osa_status_t OSA_SemaphoreCreateBinary(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphoreCreateBinary() argument
684 semaphore_t *pSemStruct = (semaphore_t *)semaphoreHandle; in OSA_SemaphoreCreateBinary()
686 assert(semaphoreHandle); in OSA_SemaphoreCreateBinary()
710 osa_status_t OSA_SemaphoreDestroy(osa_semaphore_handle_t semaphoreHandle) in OSA_SemaphoreDestroy() argument
712 assert(semaphoreHandle); in OSA_SemaphoreDestroy()
[all …]
Dfsl_os_abstraction.h713 osa_status_t OSA_SemaphorePrecreate(osa_semaphore_handle_t semaphoreHandle, osa_task_ptr_t taskHand…
738 osa_status_t OSA_SemaphoreCreate(osa_semaphore_handle_t semaphoreHandle, uint32_t initValue);
761 osa_status_t OSA_SemaphoreCreateBinary(osa_semaphore_handle_t semaphoreHandle);
773 osa_status_t OSA_SemaphoreDestroy(osa_semaphore_handle_t semaphoreHandle);
791 osa_status_t OSA_SemaphoreWait(osa_semaphore_handle_t semaphoreHandle, uint32_t millisec);
805 osa_status_t OSA_SemaphorePost(osa_semaphore_handle_t semaphoreHandle);
815 osa_semaphore_count_t OSA_SemaphoreGetCount(osa_semaphore_handle_t semaphoreHandle);