Lines Matching refs:pll
204 static u32 pll_read(struct pll_data *pll, int reg) in pll_read() argument
206 return soc_readl(pll->base + reg); in pll_read()
212 struct pll_data *pll; in clk_sysclk_recalc() local
224 pll = clk->parent->pll_data; in clk_sysclk_recalc()
228 rate = pll->input_rate; in clk_sysclk_recalc()
243 v = pll_read(pll, clk->div); in clk_sysclk_recalc()
273 struct pll_data *pll = clk->pll_data; in clk_pllclk_recalc() local
279 ctrl = pll_read(pll, PLLCTL); in clk_pllclk_recalc()
280 rate = pll->input_rate = clk->parent->rate; in clk_pllclk_recalc()
287 if (pll->flags & PLL_HAS_MUL) { in clk_pllclk_recalc()
288 mult = pll_read(pll, PLLM); in clk_pllclk_recalc()
291 if (pll->flags & PLL_HAS_PRE) { in clk_pllclk_recalc()
292 prediv = pll_read(pll, PLLPRE); in clk_pllclk_recalc()
298 if (pll->flags & PLL_HAS_POST) { in clk_pllclk_recalc()
299 postdiv = pll_read(pll, PLLPOST); in clk_pllclk_recalc()
316 pll->num, clk->parent->rate / 1000000, in clk_pllclk_recalc()
320 pll->num, clk->parent->rate / 1000000); in clk_pllclk_recalc()