Home
last modified time | relevance | path

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

/linux/drivers/clk/imx/
H A Dclk-sscg-pll.c72 int divr1, divf1; member
214 do_div(vco1, temp_setup->divr1 + 1); in clk_sscg_divf1_lookup()
233 for (temp_setup->divr1 = 0; temp_setup->divr1 <= PLL_DIVR1_MAX; in clk_sscg_divr1_lookup()
234 temp_setup->divr1++) { in clk_sscg_divr1_lookup()
236 do_div(temp_setup->ref_div1, temp_setup->divr1 + 1); in clk_sscg_divr1_lookup()
331 u32 val, divr1, divf1, divr2, divf2, divq; in clk_sscg_pll_recalc_rate() local
335 divr1 = FIELD_GET(PLL_DIVR1_MASK, val); in clk_sscg_pll_recalc_rate()
352 do_div(temp64, (divr1 + 1) * (divr2 + 1) * (divq + 1)); in clk_sscg_pll_recalc_rate()
376 val |= FIELD_PREP(PLL_DIVR1_MASK, setup->divr1); in clk_sscg_pll_set_rate()