Searched refs:rngc (Results 1 – 5 of 5) sorted by relevance
74 static inline void imx_rngc_irq_mask_clear(struct imx_rngc *rngc) in imx_rngc_irq_mask_clear() argument79 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() argument97 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() argument107 imx_rngc_irq_unmask(rngc); in imx_rngc_self_test()[all …]
24 obj-$(CONFIG_HW_RANDOM_IMX_RNGC) += imx-rngc.o
255 module will be called imx-rngc.
23 int regc, rngc; in prom_adjust_regs() local26 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()
26 - const: fsl,imx35-rngc