Lines Matching refs:refdiv
41 u32 refdiv; member
53 .refdiv = _refdiv,\
328 u32 vco_khz = OSC_HZ / 1000 * div->fbdiv / div->refdiv; in rkclk_set_pll()
333 pll_con, div->fbdiv, div->refdiv, div->postdiv1, in rkclk_set_pll()
357 (div->refdiv << PLL_REFDIV_SHIFT)); in rkclk_set_pll()
370 u32 ref_khz = OSC_HZ / KHz, refdiv, fbdiv = 0; in pll_para_config() local
403 for (refdiv = 1; refdiv < max_refdiv && best_diff_khz; refdiv++) { in pll_para_config()
404 fref_khz = ref_khz / refdiv; in pll_para_config()
419 div->refdiv = refdiv; in pll_para_config()
843 {.refdiv = 1, .fbdiv = 12, .postdiv1 = 3, .postdiv2 = 2}; in rk3399_ddr_set_clk()
847 {.refdiv = 1, .fbdiv = 50, .postdiv1 = 6, .postdiv2 = 1}; in rk3399_ddr_set_clk()
851 {.refdiv = 2, .fbdiv = 100, .postdiv1 = 4, .postdiv2 = 1}; in rk3399_ddr_set_clk()
855 {.refdiv = 1, .fbdiv = 50, .postdiv1 = 3, .postdiv2 = 1}; in rk3399_ddr_set_clk()
859 {.refdiv = 2, .fbdiv = 111, .postdiv1 = 2, .postdiv2 = 1}; in rk3399_ddr_set_clk()
863 {.refdiv = 1, .fbdiv = 100, .postdiv1 = 3, .postdiv2 = 1}; in rk3399_ddr_set_clk()
867 {.refdiv = 1, .fbdiv = 116, .postdiv1 = 3, .postdiv2 = 1}; in rk3399_ddr_set_clk()