Searched refs:session_sem (Results 1 – 3 of 3) sorted by relevance
312 k_sem_take(&data->session_sem, K_FOREVER); in crypto_stm32_get_unused_session_index()317 k_sem_give(&data->session_sem); in crypto_stm32_get_unused_session_index()322 k_sem_give(&data->session_sem); in crypto_stm32_get_unused_session_index()486 k_sem_take(&data->session_sem, K_FOREVER); in crypto_stm32_session_free()491 k_sem_give(&data->session_sem); in crypto_stm32_session_free()500 k_sem_give(&data->session_sem); in crypto_stm32_session_free()507 k_sem_give(&data->session_sem); in crypto_stm32_session_free()534 k_sem_init(&data->session_sem, 1, 1); in crypto_stm32_init()
28 struct k_sem session_sem; member
50 struct k_sem session_sem; member140 k_sem_take(&data->session_sem, K_FOREVER); in crypto_smartbond_lock_session()151 k_sem_give(&data->session_sem); in crypto_smartbond_lock_session()160 k_sem_take(&data->session_sem, K_FOREVER); in crypto_smartbond_unlock_session()169 k_sem_give(&data->session_sem); in crypto_smartbond_unlock_session()970 k_sem_init(&data->session_sem, 1, 1); in crypto_smartbond_init()