Searched refs:pllr (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/clk/at91/ |
D | clk-pll.c | 65 unsigned int pllr; in clk_pll_prepare() local 70 regmap_read(regmap, offset, &pllr); in clk_pll_prepare() 71 div = PLL_DIV(pllr); in clk_pll_prepare() 72 mul = PLL_MUL(pllr, layout); in clk_pll_prepare() 282 unsigned int pllr; in at91_clk_register_pll() local 303 regmap_read(regmap, offset, &pllr); in at91_clk_register_pll() 304 pll->div = PLL_DIV(pllr); in at91_clk_register_pll() 305 pll->mul = PLL_MUL(pllr, layout); in at91_clk_register_pll()
|
D | clk-sam9x60-pll.c | 293 unsigned int pllr; in sam9x60_clk_register_pll() local 316 regmap_read(regmap, PMC_PLL_CTRL0, &pllr); in sam9x60_clk_register_pll() 317 pll->div = FIELD_GET(PMC_PLL_CTRL0_DIV_MSK, pllr); in sam9x60_clk_register_pll() 318 regmap_read(regmap, PMC_PLL_CTRL1, &pllr); in sam9x60_clk_register_pll() 319 pll->mul = FIELD_GET(PMC_PLL_CTRL1_MUL_MSK, pllr); in sam9x60_clk_register_pll()
|