Searched refs:cppcr (Results 1 – 1 of 1) sorted by relevance
274 uint32_t clkgr, cppcr; in jz4740_clock_suspend() local280 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() local289 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()