Searched refs:to_rng_priv (Results 1 – 2 of 2) sorted by relevance
37 static inline struct bcm2835_rng_priv *to_rng_priv(struct hwrng *rng) in to_rng_priv() function65 struct bcm2835_rng_priv *priv = to_rng_priv(rng); in bcm2835_rng_read()87 struct bcm2835_rng_priv *priv = to_rng_priv(rng); in bcm2835_rng_init()113 struct bcm2835_rng_priv *priv = to_rng_priv(rng); in bcm2835_rng_cleanup()
55 #define to_rng_priv(rng) container_of(rng, struct iproc_rng200_dev, rng) macro97 struct iproc_rng200_dev *priv = to_rng_priv(rng); in iproc_rng200_read()157 struct iproc_rng200_dev *priv = to_rng_priv(rng); in iproc_rng200_init()171 struct iproc_rng200_dev *priv = to_rng_priv(rng); in iproc_rng200_cleanup()