Home
last modified time | relevance | path

Searched refs:semCount (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/components/osa/
Dfsl_os_abstraction_bm.c92 volatile uint8_t semCount; /*!< The count value of the object */ member
659 pSemStruct->semCount = (uint8_t)initValue; in OSA_SemaphoreCreate()
688 pSemStruct->semCount = 1U; in OSA_SemaphoreCreateBinary()
751 if (0U != pSemStruct->semCount) in OSA_SemaphoreWait()
753 pSemStruct->semCount--; in OSA_SemaphoreWait()
815 …(0xFFU == pSemStruct->semCount)) || /* For counting semaphore: the max value is … in OSA_SemaphorePost()
816 ((0x01U == pSemStruct->semCount) && in OSA_SemaphorePost()
823 ++pSemStruct->semCount; in OSA_SemaphorePost()
Dfsl_os_abstraction_zephyr.c985 osa_semaphore_count_t semCount; in OSA_SemaphoreGetCount() local
990 semCount = (osa_semaphore_count_t) k_sem_count_get((struct k_sem *)&z_semHandle->handle); in OSA_SemaphoreGetCount()
992 return semCount; in OSA_SemaphoreGetCount()