starfive_trng
static inline int starfive_trng_wait_idle(struct starfive_trng *trng)
static inline void starfive_trng_irq_mask_clear(struct starfive_trng *trng)
static int starfive_trng_cmd(struct starfive_trng *trng, u32 cmd, bool wait)
struct starfive_trng *trng = to_trng(rng);
struct starfive_trng *trng = (struct starfive_trng *)priv;
struct starfive_trng *trng = to_trng(rng);
struct starfive_trng *trng = to_trng(rng);
struct starfive_trng *trng;
struct starfive_trng *trng = dev_get_drvdata(dev);
struct starfive_trng *trng = dev_get_drvdata(dev);
#define to_trng(p) container_of(p, struct starfive_trng, rng)