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