Searched refs:rng_clk (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/drivers/char/hw_random/ |
D | picoxcell-rng.c | 35 static struct clk *rng_clk; variable 124 rng_clk = clk_get(&pdev->dev, NULL); in picoxcell_trng_probe() 125 if (IS_ERR(rng_clk)) { in picoxcell_trng_probe() 127 return PTR_ERR(rng_clk); in picoxcell_trng_probe() 130 ret = clk_enable(rng_clk); in picoxcell_trng_probe() 147 clk_disable(rng_clk); in picoxcell_trng_probe() 149 clk_put(rng_clk); in picoxcell_trng_probe() 157 clk_disable(rng_clk); in picoxcell_trng_remove() 158 clk_put(rng_clk); in picoxcell_trng_remove() 166 clk_disable(rng_clk); in picoxcell_trng_suspend() [all …]
|
D | nomadik-rng.c | 21 static struct clk *rng_clk; variable 47 rng_clk = clk_get(&dev->dev, NULL); in nmk_rng_probe() 48 if (IS_ERR(rng_clk)) { in nmk_rng_probe() 50 ret = PTR_ERR(rng_clk); in nmk_rng_probe() 54 clk_enable(rng_clk); in nmk_rng_probe() 74 clk_disable(rng_clk); in nmk_rng_probe() 75 clk_put(rng_clk); in nmk_rng_probe() 85 clk_disable(rng_clk); in nmk_rng_remove() 86 clk_put(rng_clk); in nmk_rng_remove()
|
/linux-3.4.99/arch/arm/mach-imx/ |
D | clock-imx31.c | 482 DEFINE_CLOCK(rng_clk, 0, MXC_CCM_CGR0, 18, NULL, NULL, &ipg_clk); 567 _REGISTER_CLOCK(NULL, "rng", rng_clk)
|