Lines Matching refs:starfive_trng
83 #define to_trng(p) container_of(p, struct starfive_trng, rng)
95 struct starfive_trng { struct
123 static inline int starfive_trng_wait_idle(struct starfive_trng *trng) in starfive_trng_wait_idle() argument
133 static inline void starfive_trng_irq_mask_clear(struct starfive_trng *trng) in starfive_trng_irq_mask_clear()
141 static int starfive_trng_cmd(struct starfive_trng *trng, u32 cmd, bool wait) in starfive_trng_cmd()
175 struct starfive_trng *trng = to_trng(rng); in starfive_trng_init()
210 struct starfive_trng *trng = (struct starfive_trng *)priv; in starfive_trng_irq()
236 struct starfive_trng *trng = to_trng(rng); in starfive_trng_cleanup()
247 struct starfive_trng *trng = to_trng(rng); in starfive_trng_read()
278 struct starfive_trng *trng; in starfive_trng_probe()
354 struct starfive_trng *trng = dev_get_drvdata(dev); in starfive_trng_suspend()
364 struct starfive_trng *trng = dev_get_drvdata(dev); in starfive_trng_resume()