Lines Matching refs:kcontrol

108 static int stac9460_dac_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)  in stac9460_dac_mute_get()  argument
110 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_get()
114 if (kcontrol->private_value) in stac9460_dac_mute_get()
117 idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME; in stac9460_dac_mute_get()
123 static int stac9460_dac_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in stac9460_dac_mute_put() argument
125 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_mute_put()
129 if (kcontrol->private_value) in stac9460_dac_mute_put()
132 idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME; in stac9460_dac_mute_put()
147 static int stac9460_dac_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in stac9460_dac_vol_info() argument
156 static int stac9460_dac_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in stac9460_dac_vol_get() argument
158 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_get()
162 if (kcontrol->private_value) in stac9460_dac_vol_get()
165 idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME; in stac9460_dac_vol_get()
172 static int stac9460_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in stac9460_dac_vol_put() argument
174 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_dac_vol_put()
179 if (kcontrol->private_value) in stac9460_dac_vol_put()
182 idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME; in stac9460_dac_vol_put()
203 static int stac9460_adc_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in stac9460_adc_mute_get() argument
205 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_get()
217 static int stac9460_adc_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in stac9460_adc_mute_put() argument
219 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_mute_put()
239 static int stac9460_adc_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in stac9460_adc_vol_info() argument
248 static int stac9460_adc_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in stac9460_adc_vol_get() argument
250 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_vol_get()
263 static int stac9460_adc_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in stac9460_adc_vol_put() argument
265 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_adc_vol_put()
282 static int stac9460_mic_sw_info(struct snd_kcontrol *kcontrol, in stac9460_mic_sw_info() argument
291 static int stac9460_mic_sw_get(struct snd_kcontrol *kcontrol, in stac9460_mic_sw_get() argument
294 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_mic_sw_get()
302 static int stac9460_mic_sw_put(struct snd_kcontrol *kcontrol, in stac9460_mic_sw_put() argument
305 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in stac9460_mic_sw_put()
553 static int ak4114_input_sw_info(struct snd_kcontrol *kcontrol, in ak4114_input_sw_info() argument
562 static int ak4114_input_sw_get(struct snd_kcontrol *kcontrol, in ak4114_input_sw_get() argument
565 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in ak4114_input_sw_get()
576 static int ak4114_input_sw_put(struct snd_kcontrol *kcontrol, in ak4114_input_sw_put() argument
579 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in ak4114_input_sw_put()