Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/char/hw_random/
Dks-sa-rng.c88 struct trng_regs __iomem *reg_rng; member
126 writel(0, &ks_sa_rng->reg_rng->control); in ks_sa_rng_init()
128 writel(value, &ks_sa_rng->reg_rng->control); in ks_sa_rng_init()
137 writel(value, &ks_sa_rng->reg_rng->config); in ks_sa_rng_init()
140 writel(0, &ks_sa_rng->reg_rng->intmask); in ks_sa_rng_init()
143 value = readl(&ks_sa_rng->reg_rng->control); in ks_sa_rng_init()
145 writel(value, &ks_sa_rng->reg_rng->control); in ks_sa_rng_init()
160 writel(0, &ks_sa_rng->reg_rng->control); in ks_sa_rng_cleanup()
171 data[0] = readl(&ks_sa_rng->reg_rng->output_l); in ks_sa_rng_data_read()
172 data[1] = readl(&ks_sa_rng->reg_rng->output_h); in ks_sa_rng_data_read()
[all …]