Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/misc/
H A Dchaoskey.c80 struct mutex rng_lock; member
193 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()
/openbmc/linux/drivers/crypto/amcc/
H A Dcrypto4xx_core.h115 struct mutex rng_lock; member
H A Dcrypto4xx_core.c1174 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()