Home
last modified time | relevance | path

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

/external/u-boot/drivers/clk/rockchip/
Dclk_rk3328.c209 u32 *pll_con; in rkclk_set_pll() local
212 pll_con = NULL; in rkclk_set_pll()
216 pll_con = cru->apll_con; in rkclk_set_pll()
220 pll_con = cru->dpll_con; in rkclk_set_pll()
224 pll_con = cru->cpll_con; in rkclk_set_pll()
228 pll_con = cru->gpll_con; in rkclk_set_pll()
232 pll_con = cru->npll_con; in rkclk_set_pll()
246 pll_con, div->fbdiv, div->refdiv, div->postdiv1, in rkclk_set_pll()
259 rk_clrsetreg(&pll_con[1], PLL_DSMPD_MASK, in rkclk_set_pll()
262 rk_clrsetreg(&pll_con[0], in rkclk_set_pll()
[all …]
Dclk_rk3399.c291 static void rkclk_set_pll(u32 *pll_con, const struct pll_div *div) in rkclk_set_pll() argument
299 pll_con, div->fbdiv, div->refdiv, div->postdiv1, in rkclk_set_pll()
309 rk_clrsetreg(&pll_con[3], PLL_MODE_MASK, in rkclk_set_pll()
313 rk_clrsetreg(&pll_con[3], PLL_DSMPD_MASK, in rkclk_set_pll()
316 rk_clrsetreg(&pll_con[0], PLL_FBDIV_MASK, in rkclk_set_pll()
318 rk_clrsetreg(&pll_con[1], in rkclk_set_pll()
326 while (!(readl(&pll_con[2]) & (1 << PLL_LOCK_STATUS_SHIFT))) in rkclk_set_pll()
330 rk_clrsetreg(&pll_con[3], PLL_MODE_MASK, in rkclk_set_pll()