Lines Matching refs:vco_freq
744 uint64_t vco_freq; in litex_clk_set_both_globs() local
748 vco_freq = litex_clk_calc_global_frequency( in litex_clk_set_both_globs()
751 if (vco_freq > ldev->vco.max || vco_freq < ldev->vco.min) { in litex_clk_set_both_globs()
753 vco_freq = litex_clk_calc_global_frequency( in litex_clk_set_both_globs()
756 if (vco_freq > ldev->vco.max || vco_freq < ldev->vco.min) { in litex_clk_set_both_globs()
1248 uint64_t vco_freq) in litex_clk_calc_clkout_params() argument
1261 clk_freq = vco_freq; in litex_clk_calc_clkout_params()
1296 static int litex_clk_calc_all_clkout_params(uint64_t vco_freq) in litex_clk_calc_all_clkout_params() argument
1303 if (!litex_clk_calc_clkout_params(lcko, vco_freq)) { in litex_clk_calc_all_clkout_params()
1314 uint64_t vco_freq = 0; in litex_clk_calc_all_params() local
1322 vco_freq = CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC * (uint64_t)mul; in litex_clk_calc_all_params()
1323 vco_freq /= div; in litex_clk_calc_all_params()
1324 below = vco_freq < (ldev->vco.min in litex_clk_calc_all_params()
1326 above = vco_freq > (ldev->vco.max in litex_clk_calc_all_params()
1331 (vco_freq); in litex_clk_calc_all_params()
1334 ldev->ts_g_config.freq = vco_freq; in litex_clk_calc_all_params()