Lines Matching refs:kcontrol
113 static int stac9460_dac_mute_get(struct snd_kcontrol *kcontrol, in stac9460_dac_mute_get() argument
116 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_get()
123 if (kcontrol->private_value) { in stac9460_dac_mute_get()
127 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_mute_get()
140 static int stac9460_dac_mute_put(struct snd_kcontrol *kcontrol, in stac9460_dac_mute_put() argument
143 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_put()
148 if (kcontrol->private_value) { in stac9460_dac_mute_put()
159 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_mute_put()
181 static int stac9460_dac_vol_info(struct snd_kcontrol *kcontrol, in stac9460_dac_vol_info() argument
191 static int stac9460_dac_vol_get(struct snd_kcontrol *kcontrol, in stac9460_dac_vol_get() argument
194 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_get()
198 if (kcontrol->private_value) { in stac9460_dac_vol_get()
202 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_vol_get()
213 static int stac9460_dac_vol_put(struct snd_kcontrol *kcontrol, in stac9460_dac_vol_put() argument
216 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_put()
221 if (kcontrol->private_value) { in stac9460_dac_vol_put()
232 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_vol_put()
258 static int stac9460_adc_mute_get(struct snd_kcontrol *kcontrol, in stac9460_adc_mute_get() argument
261 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_get()
265 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_adc_mute_get()
280 static int stac9460_adc_mute_put(struct snd_kcontrol *kcontrol, in stac9460_adc_mute_put() argument
283 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_put()
288 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_adc_mute_put()
316 static int stac9460_adc_vol_info(struct snd_kcontrol *kcontrol, in stac9460_adc_vol_info() argument
326 static int stac9460_adc_vol_get(struct snd_kcontrol *kcontrol, in stac9460_adc_vol_get() argument
329 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_vol_get()
333 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_adc_vol_get()
350 static int stac9460_adc_vol_put(struct snd_kcontrol *kcontrol, in stac9460_adc_vol_put() argument
353 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_vol_put()
358 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_adc_vol_put()
386 static int stac9460_mic_sw_info(struct snd_kcontrol *kcontrol, in stac9460_mic_sw_info() argument
395 static int stac9460_mic_sw_get(struct snd_kcontrol *kcontrol, in stac9460_mic_sw_get() argument
398 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_mic_sw_get()
402 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_mic_sw_get()
411 static int stac9460_mic_sw_put(struct snd_kcontrol *kcontrol, in stac9460_mic_sw_put() argument
414 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_mic_sw_put()
418 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_mic_sw_put()