Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/entropy/
Dentropy_nrf5.c101 static struct entropy_nrf5_dev_data entropy_nrf5_data; variable
213 ret = rng_pool_put((struct rng_pool *)(entropy_nrf5_data.isr), byte); in isr()
215 ret = rng_pool_put((struct rng_pool *)(entropy_nrf5_data.thr), in isr()
221 k_sem_give(&entropy_nrf5_data.sem_sync); in isr()
229 __ASSERT_NO_MSG(&entropy_nrf5_data == dev->data); in entropy_nrf5_get_entropy()
234 k_sem_take(&entropy_nrf5_data.sem_lock, K_FOREVER); in entropy_nrf5_get_entropy()
235 bytes = rng_pool_get((struct rng_pool *)(entropy_nrf5_data.thr), in entropy_nrf5_get_entropy()
237 k_sem_give(&entropy_nrf5_data.sem_lock); in entropy_nrf5_get_entropy()
241 k_sem_take(&entropy_nrf5_data.sem_sync, K_FOREVER); in entropy_nrf5_get_entropy()
259 __ASSERT_NO_MSG(&entropy_nrf5_data == dev->data); in entropy_nrf5_get_entropy_isr()
[all …]