Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clk/ingenic/
Djz4740-cgu.c274 uint32_t clkgr, cppcr; in jz4740_clock_suspend() local
280 cppcr = readl(cgu->base + CGU_REG_CPPCR); in jz4740_clock_suspend()
281 cppcr &= ~BIT(jz4740_cgu_clocks[JZ4740_CLK_PLL].pll.enable_bit); in jz4740_clock_suspend()
282 writel(cppcr, cgu->base + CGU_REG_CPPCR); in jz4740_clock_suspend()
287 uint32_t clkgr, cppcr, stable; in jz4740_clock_resume() local
289 cppcr = readl(cgu->base + CGU_REG_CPPCR); in jz4740_clock_resume()
290 cppcr |= BIT(jz4740_cgu_clocks[JZ4740_CLK_PLL].pll.enable_bit); in jz4740_clock_resume()
291 writel(cppcr, cgu->base + CGU_REG_CPPCR); in jz4740_clock_resume()
295 cppcr = readl(cgu->base + CGU_REG_CPPCR); in jz4740_clock_resume()
296 } while (!(cppcr & stable)); in jz4740_clock_resume()