Searched refs:nmin (Results 1 – 2 of 2) sorted by relevance
492 u32 nmin, nsafe; in gm20b_dvfs_calc_safe_pll() local501 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()
438 static long snd_mixer_oss_conv(long val, long omin, long omax, long nmin, long nmax) in snd_mixer_oss_conv() argument440 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()