• Home
  • Raw
  • Download

Lines Matching refs:ucontrol

344 static int mixart_analog_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)  in mixart_analog_vol_get()  argument
349 ucontrol->value.integer.value[0] = chip->analog_playback_volume[0]; in mixart_analog_vol_get()
350 ucontrol->value.integer.value[1] = chip->analog_playback_volume[1]; in mixart_analog_vol_get()
352 ucontrol->value.integer.value[0] = chip->analog_capture_volume[0]; in mixart_analog_vol_get()
353 ucontrol->value.integer.value[1] = chip->analog_capture_volume[1]; in mixart_analog_vol_get()
359 static int mixart_analog_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixart_analog_vol_put() argument
368 int new_volume = ucontrol->value.integer.value[i]; in mixart_analog_vol_put()
408 static int mixart_audio_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixart_audio_sw_get() argument
413 ucontrol->value.integer.value[0] = chip->analog_playback_active[0]; in mixart_audio_sw_get()
414 ucontrol->value.integer.value[1] = chip->analog_playback_active[1]; in mixart_audio_sw_get()
419 static int mixart_audio_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixart_audio_sw_put() argument
426 ucontrol->value.integer.value[i]) { in mixart_audio_sw_put()
428 !!ucontrol->value.integer.value[i]; in mixart_audio_sw_put()
821 static int mixart_pcm_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixart_pcm_vol_get() argument
824 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ 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()
843 static int mixart_pcm_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixart_pcm_vol_put() argument
846 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ in mixart_pcm_vol_put()
866 int vol = ucontrol->value.integer.value[i]; in mixart_pcm_vol_put()
901 static int mixart_pcm_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixart_pcm_sw_get() argument
904 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ in mixart_pcm_sw_get()
909 ucontrol->value.integer.value[0] = chip->digital_playback_active[idx][0]; in mixart_pcm_sw_get()
910 ucontrol->value.integer.value[1] = chip->digital_playback_active[idx][1]; in mixart_pcm_sw_get()
915 static int mixart_pcm_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixart_pcm_sw_put() argument
920 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ in mixart_pcm_sw_put()
929 ucontrol->value.integer.value[i]) { in mixart_pcm_sw_put()
931 !!ucontrol->value.integer.value[i]; in mixart_pcm_sw_put()
985 …atic int mixart_monitor_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixart_monitor_vol_get() argument
989 ucontrol->value.integer.value[0] = chip->monitoring_volume[0]; in mixart_monitor_vol_get()
990 ucontrol->value.integer.value[1] = chip->monitoring_volume[1]; in mixart_monitor_vol_get()
995 …atic int mixart_monitor_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixart_monitor_vol_put() argument
1003 ucontrol->value.integer.value[i]) { in mixart_monitor_vol_put()
1005 !!ucontrol->value.integer.value[i]; in mixart_monitor_vol_put()
1029 static int mixart_monitor_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixart_monitor_sw_get() argument
1033 ucontrol->value.integer.value[0] = chip->monitoring_active[0]; in mixart_monitor_sw_get()
1034 ucontrol->value.integer.value[1] = chip->monitoring_active[1]; in mixart_monitor_sw_get()
1039 static int mixart_monitor_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixart_monitor_sw_put() argument
1047 ucontrol->value.integer.value[i]) { in mixart_monitor_sw_put()
1049 !!ucontrol->value.integer.value[i]; in mixart_monitor_sw_put()