Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/imx/
H A Dclk-pll14xx.c354 u32 gnrl_ctl, div_ctl0; in clk_pll1443x_set_rate() local
359 div_ctl0 = readl_relaxed(pll->base + DIV_CTL0); in clk_pll1443x_set_rate()
361 if (!clk_pll14xx_mp_change(&rate, div_ctl0)) { in clk_pll1443x_set_rate()
363 div_ctl0 &= ~SDIV_MASK; in clk_pll1443x_set_rate()
364 div_ctl0 |= FIELD_PREP(SDIV_MASK, rate.sdiv); in clk_pll1443x_set_rate()
365 writel_relaxed(div_ctl0, pll->base + DIV_CTL0); in clk_pll1443x_set_rate()
382 div_ctl0 = FIELD_PREP(MDIV_MASK, rate.mdiv) | in clk_pll1443x_set_rate()
385 writel_relaxed(div_ctl0, pll->base + DIV_CTL0); in clk_pll1443x_set_rate()