Lines Matching refs:stored_volume
382 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()
863 int* stored_volume; in mixart_pcm_vol_put() local
868 stored_volume = chip->digital_capture_volume[1]; in mixart_pcm_vol_put()
870 stored_volume = chip->digital_capture_volume[0]; in mixart_pcm_vol_put()
874 stored_volume = chip->digital_playback_volume[MIXART_PLAYBACK_STREAMS + idx]; in mixart_pcm_vol_put()
876 stored_volume = chip->digital_playback_volume[idx]; in mixart_pcm_vol_put()
883 if (stored_volume[i] != vol) { in mixart_pcm_vol_put()
884 stored_volume[i] = vol; in mixart_pcm_vol_put()