Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/char/hw_random/
Dimx-rngc.c74 static inline void imx_rngc_irq_mask_clear(struct imx_rngc *rngc) in imx_rngc_irq_mask_clear() argument
79 ctrl = readl(rngc->base + RNGC_CONTROL); in imx_rngc_irq_mask_clear()
81 writel(ctrl, rngc->base + RNGC_CONTROL); in imx_rngc_irq_mask_clear()
88 cmd = readl(rngc->base + RNGC_COMMAND); in imx_rngc_irq_mask_clear()
90 writel(cmd, rngc->base + RNGC_COMMAND); in imx_rngc_irq_mask_clear()
93 static inline void imx_rngc_irq_unmask(struct imx_rngc *rngc) in imx_rngc_irq_unmask() argument
97 ctrl = readl(rngc->base + RNGC_CONTROL); in imx_rngc_irq_unmask()
99 writel(ctrl, rngc->base + RNGC_CONTROL); in imx_rngc_irq_unmask()
102 static int imx_rngc_self_test(struct imx_rngc *rngc) in imx_rngc_self_test() argument
107 imx_rngc_irq_unmask(rngc); in imx_rngc_self_test()
[all …]
DMakefile24 obj-$(CONFIG_HW_RANDOM_IMX_RNGC) += imx-rngc.o
DKconfig255 module will be called imx-rngc.
/linux-6.6.21/arch/sparc/prom/
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()
/linux-6.6.21/Documentation/devicetree/bindings/rng/
Dimx-rng.yaml26 - const: fsl,imx35-rngc