Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clk/at91/
Dclk-pll.c66 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()
[all …]