Home
last modified time | relevance | path

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

/Linux-v5.4/sound/pci/mixart/
Dmixart_mixer.c369 int *stored_volume = is_capture ? in mixart_analog_vol_put() local
381 if (*stored_volume != new_volume) { in mixart_analog_vol_put()
382 *stored_volume = new_volume; in mixart_analog_vol_put()
825 int *stored_volume; in mixart_pcm_vol_get() local
830 if(is_aes) stored_volume = chip->digital_capture_volume[1]; /* AES capture */ in mixart_pcm_vol_get()
831 else stored_volume = chip->digital_capture_volume[0]; /* analog capture */ in mixart_pcm_vol_get()
834 …if(is_aes) stored_volume = chip->digital_playback_volume[MIXART_PLAYBACK_STREAMS + idx]; /* AES pl… in mixart_pcm_vol_get()
835 else stored_volume = chip->digital_playback_volume[idx]; /* analog playback */ in mixart_pcm_vol_get()
837 ucontrol->value.integer.value[0] = stored_volume[0]; in mixart_pcm_vol_get()
838 ucontrol->value.integer.value[1] = stored_volume[1]; in mixart_pcm_vol_get()
[all …]
/Linux-v5.4/sound/pci/pcxhr/
Dpcxhr_mixer.c136 int *stored_volume = is_capture ? in pcxhr_analog_vol_put() local
160 if (*stored_volume != new_volume) { in pcxhr_analog_vol_put()
161 *stored_volume = new_volume; in pcxhr_analog_vol_put()
352 int *stored_volume; in pcxhr_pcm_vol_get() local
357 stored_volume = chip->digital_capture_volume; in pcxhr_pcm_vol_get()
359 stored_volume = chip->digital_playback_volume[idx]; in pcxhr_pcm_vol_get()
360 ucontrol->value.integer.value[0] = stored_volume[0]; in pcxhr_pcm_vol_get()
361 ucontrol->value.integer.value[1] = stored_volume[1]; in pcxhr_pcm_vol_get()
373 int *stored_volume; in pcxhr_pcm_vol_put() local
378 stored_volume = chip->digital_capture_volume; in pcxhr_pcm_vol_put()
[all …]