Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgm20b.c230 s32 det_delta; in gm20b_dvfs_calc_ndiv() local
234 det_delta = DIV_ROUND_CLOSEST(((s32)clk->uv) - clk->uvdet_offs, in gm20b_dvfs_calc_ndiv()
236 det_delta -= clk->dvfs.dfs_ext_cal; in gm20b_dvfs_calc_ndiv()
237 det_delta = min(det_delta, clk->dvfs.dfs_det_max); in gm20b_dvfs_calc_ndiv()
238 det_delta *= clk->dvfs.dfs_coeff; in gm20b_dvfs_calc_ndiv()
241 n = (n_eff << DFS_DET_RANGE) - det_delta; in gm20b_dvfs_calc_ndiv()