Home
last modified time | relevance | path

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

/linux-6.1.9/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()