Home
last modified time | relevance | path

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

/linux-6.12.1/sound/drivers/opl3/
Dopl3_midi.c56 int oldvol, newvol, n; in snd_opl3_calc_volume() local
65 newvol = opl3_volume_table[volume] + oldvol; in snd_opl3_calc_volume()
66 if (newvol > OPL3_TOTAL_LEVEL_MASK) in snd_opl3_calc_volume()
67 newvol = OPL3_TOTAL_LEVEL_MASK; in snd_opl3_calc_volume()
68 else if (newvol < 0) in snd_opl3_calc_volume()
69 newvol = 0; in snd_opl3_calc_volume()
71 n = OPL3_TOTAL_LEVEL_MASK - (newvol & OPL3_TOTAL_LEVEL_MASK); in snd_opl3_calc_volume()
/linux-6.12.1/sound/mips/
Dsgio2audio.c174 int newvol, oldvol; in sgio2audio_gain_put() local
177 newvol = (ucontrol->value.integer.value[0] << 8) | in sgio2audio_gain_put()
180 newvol = ad1843_set_gain(&chip->ad1843, kcontrol->private_value, in sgio2audio_gain_put()
181 newvol); in sgio2audio_gain_put()
183 return newvol != oldvol; in sgio2audio_gain_put()
/linux-6.12.1/drivers/platform/x86/
Dthinkpad_acpi.c2365 const unsigned int newvol, in issue_volchange() argument
2370 while (i > newvol) { in issue_volchange()
2374 while (i < newvol) { in issue_volchange()