Lines Matching refs:pllr
66 unsigned int pllr; in clk_pll_prepare() local
71 regmap_read(regmap, offset, &pllr); in clk_pll_prepare()
72 div = PLL_DIV(pllr); in clk_pll_prepare()
73 mul = PLL_MUL(pllr, layout); in clk_pll_prepare()
280 unsigned int pllr, pllr_out, pllr_count; in clk_pll_restore_context() local
286 regmap_read(pll->regmap, PLL_REG(pll->id), &pllr); in clk_pll_restore_context()
288 calc_rate = (pll->pms.parent_rate / PLL_DIV(pllr)) * in clk_pll_restore_context()
289 (PLL_MUL(pllr, pll->layout) + 1); in clk_pll_restore_context()
290 pllr_count = (pllr >> PLL_COUNT_SHIFT) & PLL_MAX_COUNT; in clk_pll_restore_context()
291 pllr_out = (pllr >> PLL_OUT_SHIFT) & out; in clk_pll_restore_context()
321 unsigned int pllr; in at91_clk_register_pll() local
342 regmap_read(regmap, offset, &pllr); in at91_clk_register_pll()
343 pll->div = PLL_DIV(pllr); in at91_clk_register_pll()
344 pll->mul = PLL_MUL(pllr, layout); in at91_clk_register_pll()