Home
last modified time | relevance | path

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

/linux-4.4.14/sound/pci/pcxhr/
Dpcxhr_mixer.c148 int new_volume = ucontrol->value.integer.value[i]; in pcxhr_analog_vol_put() local
154 if (new_volume < HR222_LINE_CAPTURE_LEVEL_MIN || in pcxhr_analog_vol_put()
155 new_volume > HR222_LINE_CAPTURE_LEVEL_MAX) in pcxhr_analog_vol_put()
158 if (new_volume < PCXHR_LINE_CAPTURE_LEVEL_MIN || in pcxhr_analog_vol_put()
159 new_volume > PCXHR_LINE_CAPTURE_LEVEL_MAX) in pcxhr_analog_vol_put()
164 if (new_volume < HR222_LINE_PLAYBACK_LEVEL_MIN || in pcxhr_analog_vol_put()
165 new_volume > HR222_LINE_PLAYBACK_LEVEL_MAX) in pcxhr_analog_vol_put()
168 if (new_volume < PCXHR_LINE_PLAYBACK_LEVEL_MIN || in pcxhr_analog_vol_put()
169 new_volume > PCXHR_LINE_PLAYBACK_LEVEL_MAX) in pcxhr_analog_vol_put()
173 if (*stored_volume != new_volume) { in pcxhr_analog_vol_put()
[all …]
/linux-4.4.14/sound/pci/mixart/
Dmixart_mixer.c381 int new_volume = ucontrol->value.integer.value[i]; in mixart_analog_vol_put() local
386 if (new_volume < MIXART_ANALOG_CAPTURE_LEVEL_MIN || in mixart_analog_vol_put()
387 new_volume > MIXART_ANALOG_CAPTURE_LEVEL_MAX) in mixart_analog_vol_put()
390 if (new_volume < MIXART_ANALOG_PLAYBACK_LEVEL_MIN || in mixart_analog_vol_put()
391 new_volume > MIXART_ANALOG_PLAYBACK_LEVEL_MAX) in mixart_analog_vol_put()
394 if (*stored_volume != new_volume) { in mixart_analog_vol_put()
395 *stored_volume = new_volume; in mixart_analog_vol_put()