Home
last modified time | relevance | path

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

/linux-4.1.27/sound/pci/mixart/
Dmixart_mixer.c382 int *stored_volume = is_capture ? in mixart_analog_vol_put() local
394 if (*stored_volume != new_volume) { in mixart_analog_vol_put()
395 *stored_volume = new_volume; in mixart_analog_vol_put()
838 int *stored_volume; in mixart_pcm_vol_get() local
843 if(is_aes) stored_volume = chip->digital_capture_volume[1]; /* AES capture */ in mixart_pcm_vol_get()
844 else stored_volume = chip->digital_capture_volume[0]; /* analog capture */ in mixart_pcm_vol_get()
847 …if(is_aes) stored_volume = chip->digital_playback_volume[MIXART_PLAYBACK_STREAMS + idx]; /* AES pl… in mixart_pcm_vol_get()
848 else stored_volume = chip->digital_playback_volume[idx]; /* analog playback */ in mixart_pcm_vol_get()
850 ucontrol->value.integer.value[0] = stored_volume[0]; in mixart_pcm_vol_get()
851 ucontrol->value.integer.value[1] = stored_volume[1]; in mixart_pcm_vol_get()
[all …]
/linux-4.1.27/sound/pci/pcxhr/
Dpcxhr_mixer.c149 int *stored_volume = is_capture ? in pcxhr_analog_vol_put() local
173 if (*stored_volume != new_volume) { in pcxhr_analog_vol_put()
174 *stored_volume = new_volume; in pcxhr_analog_vol_put()
365 int *stored_volume; in pcxhr_pcm_vol_get() local
370 stored_volume = chip->digital_capture_volume; in pcxhr_pcm_vol_get()
372 stored_volume = chip->digital_playback_volume[idx]; in pcxhr_pcm_vol_get()
373 ucontrol->value.integer.value[0] = stored_volume[0]; in pcxhr_pcm_vol_get()
374 ucontrol->value.integer.value[1] = stored_volume[1]; in pcxhr_pcm_vol_get()
386 int *stored_volume; in pcxhr_pcm_vol_put() local
391 stored_volume = chip->digital_capture_volume; in pcxhr_pcm_vol_put()
[all …]