Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/char/hw_random/
Dks-sa-rng.c82 struct ks_sa_rng { struct
94 struct ks_sa_rng *ks_sa_rng = dev_get_drvdata(dev); in ks_sa_rng_init() argument
97 regmap_write_bits(ks_sa_rng->regmap_cfg, SA_CMD_STATUS_OFS, in ks_sa_rng_init()
102 writel(0, &ks_sa_rng->reg_rng->control); in ks_sa_rng_init()
104 writel(value, &ks_sa_rng->reg_rng->control); in ks_sa_rng_init()
113 writel(value, &ks_sa_rng->reg_rng->config); in ks_sa_rng_init()
116 writel(0, &ks_sa_rng->reg_rng->intmask); in ks_sa_rng_init()
119 value = readl(&ks_sa_rng->reg_rng->control); in ks_sa_rng_init()
121 writel(value, &ks_sa_rng->reg_rng->control); in ks_sa_rng_init()
129 struct ks_sa_rng *ks_sa_rng = dev_get_drvdata(dev); in ks_sa_rng_cleanup() local
[all …]