Lines Matching defs:kcontrol
94 static int stac9460_dac_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
96 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
100 if (kcontrol->private_value)
103 idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME;
109 static int stac9460_dac_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
111 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
115 if (kcontrol->private_value)
118 idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME;
133 static int stac9460_dac_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
142 static int stac9460_dac_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
144 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
148 if (kcontrol->private_value)
151 idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME;
158 static int stac9460_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
160 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
165 if (kcontrol->private_value)
168 idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME;
189 static int stac9460_adc_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
191 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
203 static int stac9460_adc_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
205 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
225 static int stac9460_adc_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
234 static int stac9460_adc_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
236 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
249 static int stac9460_adc_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
251 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
268 static int stac9460_mic_sw_info(struct snd_kcontrol *kcontrol,
277 static int stac9460_mic_sw_get(struct snd_kcontrol *kcontrol,
280 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
288 static int stac9460_mic_sw_put(struct snd_kcontrol *kcontrol,
291 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
539 static int ak4114_input_sw_info(struct snd_kcontrol *kcontrol,
548 static int ak4114_input_sw_get(struct snd_kcontrol *kcontrol,
551 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);
562 static int ak4114_input_sw_put(struct snd_kcontrol *kcontrol,
565 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol);