Lines Matching refs:refdiv
33 u32 refdiv; member
45 .refdiv = _refdiv,\
294 u32 vco_khz = OSC_HZ / 1000 * div->fbdiv / div->refdiv; in rkclk_set_pll()
299 pll_con, div->fbdiv, div->refdiv, div->postdiv1, in rkclk_set_pll()
323 (div->refdiv << PLL_REFDIV_SHIFT)); in rkclk_set_pll()
336 u32 ref_khz = OSC_HZ / KHz, refdiv, fbdiv = 0; in pll_para_config() local
369 for (refdiv = 1; refdiv < max_refdiv && best_diff_khz; refdiv++) { in pll_para_config()
370 fref_khz = ref_khz / refdiv; in pll_para_config()
385 div->refdiv = refdiv; in pll_para_config()
779 {.refdiv = 1, .fbdiv = 50, .postdiv1 = 6, .postdiv2 = 1}; in rk3399_ddr_set_clk()
783 {.refdiv = 2, .fbdiv = 100, .postdiv1 = 4, .postdiv2 = 1}; in rk3399_ddr_set_clk()
787 {.refdiv = 2, .fbdiv = 111, .postdiv1 = 2, .postdiv2 = 1}; in rk3399_ddr_set_clk()
791 {.refdiv = 1, .fbdiv = 100, .postdiv1 = 3, .postdiv2 = 1}; in rk3399_ddr_set_clk()
795 {.refdiv = 1, .fbdiv = 116, .postdiv1 = 3, .postdiv2 = 1}; in rk3399_ddr_set_clk()