Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgk20a.c108 u32 target_vco_f; in gk20a_pllg_calc_mnp() local
116 target_vco_f = target_clk_f + target_clk_f / 50; in gk20a_pllg_calc_mnp()
117 max_vco_f = max(clk->params->max_vco, target_vco_f); in gk20a_pllg_calc_mnp()
124 high_pl = (max_vco_f + target_vco_f - 1) / target_vco_f; in gk20a_pllg_calc_mnp()
130 low_pl = min_vco_f / target_vco_f; in gk20a_pllg_calc_mnp()
142 target_vco_f = target_clk_f * clk->pl_to_div(pl); in gk20a_pllg_calc_mnp()
152 n = (target_vco_f * m) / ref_clk_f; in gk20a_pllg_calc_mnp()
153 n2 = ((target_vco_f * m) + (ref_clk_f - 1)) / ref_clk_f; in gk20a_pllg_calc_mnp()