Searched refs:rng_lock (Results 1 – 3 of 3) sorted by relevance
80 struct mutex rng_lock; member193 mutex_init(&dev->rng_lock); in chaoskey_probe()442 result = mutex_lock_interruptible(&dev->rng_lock); in chaoskey_read()445 mutex_unlock(&dev->rng_lock); in chaoskey_read()508 mutex_lock(&dev->rng_lock); in chaoskey_rng_read()512 mutex_unlock(&dev->rng_lock); in chaoskey_rng_read()
115 struct mutex rng_lock; member
1174 mutex_lock(&dev->core_dev->rng_lock); in crypto4xx_prng_generate()1176 mutex_unlock(&dev->core_dev->rng_lock); in crypto4xx_prng_generate()1445 mutex_init(&core_dev->rng_lock); in crypto4xx_probe()1523 mutex_destroy(&core_dev->rng_lock); in crypto4xx_remove()