Lines Matching refs:kcontrol

833 static int mixer_bass_treble_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)  in mixer_bass_treble_info()  argument
842 static int mixer_bass_treble_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixer_bass_treble_get() argument
844 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); in mixer_bass_treble_get()
846 ucontrol->value.integer.value[0] = kcontrol->private_value ? emu->treble_level : emu->bass_level; in mixer_bass_treble_get()
850 static int mixer_bass_treble_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixer_bass_treble_put() argument
852 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); in mixer_bass_treble_put()
859 if (kcontrol->private_value) { in mixer_bass_treble_put()
894 static int mixer_chorus_reverb_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in mixer_chorus_reverb_info() argument
899 …uinfo->value.integer.max = kcontrol->private_value ? (SNDRV_EMU8000_CHORUS_NUMBERS-1) : (SNDRV_EMU… in mixer_chorus_reverb_info()
903 static int mixer_chorus_reverb_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontr… in mixer_chorus_reverb_get() argument
905 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); in mixer_chorus_reverb_get()
907 ucontrol->value.integer.value[0] = kcontrol->private_value ? emu->chorus_mode : emu->reverb_mode; in mixer_chorus_reverb_get()
911 static int mixer_chorus_reverb_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontr… in mixer_chorus_reverb_put() argument
913 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); in mixer_chorus_reverb_put()
919 if (kcontrol->private_value) { in mixer_chorus_reverb_put()
930 if (kcontrol->private_value) in mixer_chorus_reverb_put()
961 static int mixer_fm_depth_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in mixer_fm_depth_info() argument
970 static int mixer_fm_depth_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixer_fm_depth_get() argument
972 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); in mixer_fm_depth_get()
974 …ucontrol->value.integer.value[0] = kcontrol->private_value ? emu->fm_chorus_depth : emu->fm_reverb… in mixer_fm_depth_get()
978 static int mixer_fm_depth_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in mixer_fm_depth_put() argument
980 struct snd_emu8000 *emu = snd_kcontrol_chip(kcontrol); in mixer_fm_depth_put()
987 if (kcontrol->private_value) { in mixer_fm_depth_put()