Lines Matching defs:ucontrol
30 static int vx_mic_level_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
34 ucontrol->value.integer.value[0] = chip->mic_level;
38 static int vx_mic_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
42 unsigned int val = ucontrol->value.integer.value[0];
47 if (chip->mic_level != ucontrol->value.integer.value[0]) {
48 vx_set_mic_level(_chip, ucontrol->value.integer.value[0]);
49 chip->mic_level = ucontrol->value.integer.value[0];
75 static int vx_mic_boost_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
79 ucontrol->value.integer.value[0] = chip->mic_level;
83 static int vx_mic_boost_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
87 int val = !!ucontrol->value.integer.value[0];