Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgm20b.c492 u32 nmin, nsafe; in gm20b_dvfs_calc_safe_pll() local
501 nmin = DIV_ROUND_UP(pll->m * clk->base.params->min_vco, parent_rate); in gm20b_dvfs_calc_safe_pll()
504 if (nsafe < nmin) { in gm20b_dvfs_calc_safe_pll()
505 pll->pl = DIV_ROUND_UP(nmin * parent_rate, pll->m * rate); in gm20b_dvfs_calc_safe_pll()
506 nsafe = nmin; in gm20b_dvfs_calc_safe_pll()
/Linux-v6.6/sound/core/oss/
Dmixer_oss.c438 static long snd_mixer_oss_conv(long val, long omin, long omax, long nmin, long nmax) in snd_mixer_oss_conv() argument
440 long orange = omax - omin, nrange = nmax - nmin; in snd_mixer_oss_conv()
444 return DIV_ROUND_CLOSEST(nrange * (val - omin), orange) + nmin; in snd_mixer_oss_conv()