Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/hw_random/
H A Dmxc-rnga.c23 #define RNGA_CONTROL 0x00 macro
92 ctrl = __raw_readl(mxc_rng->mem + RNGA_CONTROL); in mxc_rnga_data_read()
94 mxc_rng->mem + RNGA_CONTROL); in mxc_rnga_data_read()
106 ctrl = __raw_readl(mxc_rng->mem + RNGA_CONTROL); in mxc_rnga_init()
107 __raw_writel(ctrl & ~RNGA_CONTROL_SLEEP, mxc_rng->mem + RNGA_CONTROL); in mxc_rnga_init()
117 ctrl = __raw_readl(mxc_rng->mem + RNGA_CONTROL); in mxc_rnga_init()
118 __raw_writel(ctrl | RNGA_CONTROL_GO, mxc_rng->mem + RNGA_CONTROL); in mxc_rnga_init()
128 ctrl = __raw_readl(mxc_rng->mem + RNGA_CONTROL); in mxc_rnga_cleanup()
131 __raw_writel(ctrl & ~RNGA_CONTROL_GO, mxc_rng->mem + RNGA_CONTROL); in mxc_rnga_cleanup()