Home
last modified time | relevance | path

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

/linux/drivers/char/hw_random/
H A Dimx-rngc.c77 static inline void imx_rngc_irq_mask_clear(struct imx_rngc *rngc) in imx_rngc_irq_mask_clear() argument
82 ctrl = readl(rngc->base + RNGC_CONTROL); in imx_rngc_irq_mask_clear()
84 writel(ctrl, rngc->base + RNGC_CONTROL); in imx_rngc_irq_mask_clear()
91 cmd = readl(rngc->base + RNGC_COMMAND); in imx_rngc_irq_mask_clear()
93 writel(cmd, rngc->base + RNGC_COMMAND); in imx_rngc_irq_mask_clear()
96 static inline void imx_rngc_irq_unmask(struct imx_rngc *rngc) in imx_rngc_irq_unmask() argument
100 ctrl = readl(rngc->base + RNGC_CONTROL); in imx_rngc_irq_unmask()
102 writel(ctrl, rngc->base + RNGC_CONTROL); in imx_rngc_irq_unmask()
105 static int imx_rngc_self_test(struct imx_rngc *rngc) in imx_rngc_self_test() argument
110 imx_rngc_irq_unmask(rngc); in imx_rngc_self_test()
127 struct imx_rngc *rngc = container_of(rng, struct imx_rngc, rng); imx_rngc_read() local
159 struct imx_rngc *rngc = (struct imx_rngc *)priv; imx_rngc_irq() local
179 struct imx_rngc *rngc = container_of(rng, struct imx_rngc, rng); imx_rngc_init() local
236 struct imx_rngc *rngc = container_of(rng, struct imx_rngc, rng); imx_rngc_cleanup() local
248 struct imx_rngc *rngc; imx_rngc_probe() local
329 struct imx_rngc *rngc = dev_get_drvdata(dev); imx_rngc_suspend() local
338 struct imx_rngc *rngc = dev_get_drvdata(dev); imx_rngc_resume() local
[all...]
H A DMakefile25 obj-$(CONFIG_HW_RANDOM_IMX_RNGC) += imx-rngc.o
H A DKconfig281 module will be called imx-rngc.
/linux/arch/sparc/prom/
H A Dranges.c23 int regc, rngc; in prom_adjust_regs() local
26 for (rngc = 0; rngc < nranges; rngc++) in prom_adjust_regs()
27 if (regp[regc].which_io == rangep[rngc].ot_child_space) in prom_adjust_regs()
29 if (rngc == nranges) /* oops */ in prom_adjust_regs()
31 regp[regc].which_io = rangep[rngc].ot_parent_space; in prom_adjust_regs()
32 regp[regc].phys_addr -= rangep[rngc].ot_child_base; in prom_adjust_regs()
33 regp[regc].phys_addr += rangep[rngc].ot_parent_base; in prom_adjust_regs()