Home
last modified time | relevance | path

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

/sound/pci/pcxhr/
Dpcxhr_mixer.c135 int new_volume = ucontrol->value.integer.value[i]; in pcxhr_analog_vol_put() local
141 if (new_volume < HR222_LINE_CAPTURE_LEVEL_MIN || in pcxhr_analog_vol_put()
142 new_volume > HR222_LINE_CAPTURE_LEVEL_MAX) in pcxhr_analog_vol_put()
145 if (new_volume < PCXHR_LINE_CAPTURE_LEVEL_MIN || in pcxhr_analog_vol_put()
146 new_volume > PCXHR_LINE_CAPTURE_LEVEL_MAX) in pcxhr_analog_vol_put()
151 if (new_volume < HR222_LINE_PLAYBACK_LEVEL_MIN || in pcxhr_analog_vol_put()
152 new_volume > HR222_LINE_PLAYBACK_LEVEL_MAX) in pcxhr_analog_vol_put()
155 if (new_volume < PCXHR_LINE_PLAYBACK_LEVEL_MIN || in pcxhr_analog_vol_put()
156 new_volume > PCXHR_LINE_PLAYBACK_LEVEL_MAX) in pcxhr_analog_vol_put()
160 if (*stored_volume != new_volume) { in pcxhr_analog_vol_put()
[all …]
/sound/pci/mixart/
Dmixart_mixer.c368 int new_volume = ucontrol->value.integer.value[i]; in mixart_analog_vol_put() local
373 if (new_volume < MIXART_ANALOG_CAPTURE_LEVEL_MIN || in mixart_analog_vol_put()
374 new_volume > MIXART_ANALOG_CAPTURE_LEVEL_MAX) in mixart_analog_vol_put()
377 if (new_volume < MIXART_ANALOG_PLAYBACK_LEVEL_MIN || in mixart_analog_vol_put()
378 new_volume > MIXART_ANALOG_PLAYBACK_LEVEL_MAX) in mixart_analog_vol_put()
381 if (*stored_volume != new_volume) { in mixart_analog_vol_put()
382 *stored_volume = new_volume; in mixart_analog_vol_put()