Home
last modified time | relevance | path

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

/external/u-boot/drivers/clk/
Dclk_stm32h7.c501 u32 divm1, divn1, divp1, divq1, divr1, fracn1; in stm32_get_PLL1_rate() local
538 divr1 = readl(&regs->pll1divr) & RCC_PLL1DIVR_DIVR1_MASK; in stm32_get_PLL1_rate()
539 divr1 = (divr1 >> RCC_PLL1DIVR_DIVR1_SHIFT) + 1; in stm32_get_PLL1_rate()
548 __func__, divm1, divn1, divp1, divq1, divr1); in stm32_get_PLL1_rate()
561 return (vco + rate) / divr1; in stm32_get_PLL1_rate()
/external/u-boot/arch/arm/mach-imx/imx8m/
Dclock_imx8mq.c82 u32 divr1, divr2, divf1, divf2, divq, div; in decode_sscg_pll() local
224 divr1 = (pll_cfg2 & SSCG_PLL_REF_DIVR1_MASK) >> in decode_sscg_pll()
241 pllout = pll_refclk / (divr1 + 1) * sse * (divf1 + 1) / in decode_sscg_pll()