Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/port/
Dsrtm_sem_freertos.c42 void SRTM_Sem_Destroy(srtm_sem_t sem) in SRTM_Sem_Destroy() argument
44 assert(sem); in SRTM_Sem_Destroy()
46 vSemaphoreDelete(sem); in SRTM_Sem_Destroy()
49 srtm_status_t SRTM_Sem_Post(srtm_sem_t sem) in SRTM_Sem_Post() argument
56 if (xSemaphoreGiveFromISR(sem, &taskToWake) == pdPASS) in SRTM_Sem_Post()
64 if (xSemaphoreGive(sem) == pdTRUE) in SRTM_Sem_Post()
73 srtm_status_t SRTM_Sem_Wait(srtm_sem_t sem, uint32_t timeout) in SRTM_Sem_Wait() argument
91 if (xSemaphoreTake(sem, ticks) == pdFALSE) in SRTM_Sem_Wait()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/osa/
Dfsl_os_abstraction_free_rtos.c390 QueueHandle_t sem; in OSA_SemaphoreCreate() member
394 xSemaHandle.sem = xSemaphoreCreateCounting(0xFF, initValue); in OSA_SemaphoreCreate()
395 if (NULL != xSemaHandle.sem) in OSA_SemaphoreCreate()
417 QueueHandle_t sem; in OSA_SemaphoreCreateBinary() member
421 xSemaHandle.sem = xSemaphoreCreateBinary(); in OSA_SemaphoreCreateBinary()
422 if (NULL != xSemaHandle.sem) in OSA_SemaphoreCreateBinary()
440 QueueHandle_t sem = (QueueHandle_t)(void *)(uint32_t *)(*(uint32_t *)semaphoreHandle); in OSA_SemaphoreDestroy() local
442 vSemaphoreDelete(sem); in OSA_SemaphoreDestroy()
463 QueueHandle_t sem = (QueueHandle_t)(void *)(uint32_t *)(*(uint32_t *)semaphoreHandle); in OSA_SemaphoreWait() local
475 if (((BaseType_t)0) == (BaseType_t)xSemaphoreTake(sem, timeoutTicks)) in OSA_SemaphoreWait()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/srtm/
Dsrtm_sem.h53 void SRTM_Sem_Destroy(srtm_sem_t sem);
61 srtm_status_t SRTM_Sem_Post(srtm_sem_t sem);
70 srtm_status_t SRTM_Sem_Wait(srtm_sem_t sem, uint32_t timeout);
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QM6/drivers/
Dfsl_sc_event.h131 typedef status_t (*sc_event_sema4_wait_t)(void *sem, uint32_t timeout);
138 typedef void (*sc_event_sema4_post_t)(void *sem);
258 status_t SCEvent_WaitEvent(sc_event_sema4_wait_t wait, sc_event_sema4_post_t post, void *sem, uint3…
Dfsl_sc_event.c354 status_t SCEvent_WaitEvent(sc_event_sema4_wait_t wait, sc_event_sema4_post_t post, void *sem, uint3… in SCEvent_WaitEvent() argument
365 s_sem = sem; in SCEvent_WaitEvent()
368 ret = wait(sem, timeout); in SCEvent_WaitEvent()