Home
last modified time | relevance | path

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

/hal_ti-2.7.6/simplelink/kernel/zephyr/dpl/
DSemaphoreP_zephyr.c43 static SemaphoreP_Status dpl_sem_pool_free(struct k_sem *sem) in dpl_sem_pool_free() argument
45 k_mem_slab_free(&sem_slab, (void **)&sem); in dpl_sem_pool_free()
68 struct k_sem *sem; in SemaphoreP_create() local
75 sem = dpl_sem_pool_alloc(); in SemaphoreP_create()
76 if (sem) { in SemaphoreP_create()
77 k_sem_init(sem, count, limit); in SemaphoreP_create()
80 return (SemaphoreP_Handle)sem; in SemaphoreP_create()
143 struct k_sem *sem; in SemaphoreP_construct() local
150 sem = (struct k_sem *)handle; in SemaphoreP_construct()
151 if (sem) { in SemaphoreP_construct()
[all …]
/hal_ti-2.7.6/simplelink/source/ti/drivers/crypto/
DCryptoCC32XX.c173 if (object->sem[type] != NULL) in CryptoCC32XX_close()
175 SemaphoreP_delete(object->sem[type]); in CryptoCC32XX_close()
245 object->sem[type] = SemaphoreP_create(1, &semParams); in CryptoCC32XX_open()
246 if (object->sem[type] == NULL) in CryptoCC32XX_open()
261 object->sem[type] = NULL; in CryptoCC32XX_open()
292 if (object->sem[cryptoIndex] == NULL) in CryptoCC32XX_encrypt()
297 if (SemaphoreP_OK == SemaphoreP_pend(object->sem[cryptoIndex], in CryptoCC32XX_encrypt()
313 SemaphoreP_post(object->sem[cryptoIndex]); in CryptoCC32XX_encrypt()
331 if (object->sem[cryptoIndex] == NULL) in CryptoCC32XX_decrypt()
336 if (SemaphoreP_OK == SemaphoreP_pend(object->sem[cryptoIndex], in CryptoCC32XX_decrypt()
[all …]
DCryptoCC32XX.h378 SemaphoreP_Handle sem[CryptoCC32XX_MAX_TYPES]; member
/hal_ti-2.7.6/simplelink/source/ti/drivers/nvs/
DNVSRAM.c123 SemaphoreP_Handle sem; in NVSRAM_init() local
126 sem = SemaphoreP_createBinary(1); in NVSRAM_init()
133 writeSem = sem; in NVSRAM_init()
141 if (sem) { in NVSRAM_init()
142 SemaphoreP_delete(sem); in NVSRAM_init()
/hal_ti-2.7.6/simplelink/source/ti/drivers/gpio/
DGPIOCC32XX.c444 SemaphoreP_Handle sem; in GPIO_init() local
448 sem = SemaphoreP_createBinary(1); in GPIO_init()
451 if (sem == NULL) return; in GPIO_init()
456 initSem = sem; in GPIO_init()
463 if (sem) SemaphoreP_delete(sem); in GPIO_init()