Lines Matching defs:kcontrol

169 static int snd_ak4114_in_error_info(struct snd_kcontrol *kcontrol,
179 static int snd_ak4114_in_error_get(struct snd_kcontrol *kcontrol,
182 struct ak4114 *chip = snd_kcontrol_chip(kcontrol);
186 chip->errors[kcontrol->private_value];
187 chip->errors[kcontrol->private_value] = 0;
194 static int snd_ak4114_in_bit_get(struct snd_kcontrol *kcontrol,
197 struct ak4114 *chip = snd_kcontrol_chip(kcontrol);
198 unsigned char reg = kcontrol->private_value & 0xff;
199 unsigned char bit = (kcontrol->private_value >> 8) & 0xff;
200 unsigned char inv = (kcontrol->private_value >> 31) & 1;
206 static int snd_ak4114_rate_info(struct snd_kcontrol *kcontrol,
216 static int snd_ak4114_rate_get(struct snd_kcontrol *kcontrol,
219 struct ak4114 *chip = snd_kcontrol_chip(kcontrol);
225 static int snd_ak4114_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
232 static int snd_ak4114_spdif_get(struct snd_kcontrol *kcontrol,
235 struct ak4114 *chip = snd_kcontrol_chip(kcontrol);
243 static int snd_ak4114_spdif_playback_get(struct snd_kcontrol *kcontrol,
246 struct ak4114 *chip = snd_kcontrol_chip(kcontrol);
254 static int snd_ak4114_spdif_playback_put(struct snd_kcontrol *kcontrol,
257 struct ak4114 *chip = snd_kcontrol_chip(kcontrol);
265 static int snd_ak4114_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
272 static int snd_ak4114_spdif_mask_get(struct snd_kcontrol *kcontrol,
279 static int snd_ak4114_spdif_pinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
288 static int snd_ak4114_spdif_pget(struct snd_kcontrol *kcontrol,
291 struct ak4114 *chip = snd_kcontrol_chip(kcontrol);
303 static int snd_ak4114_spdif_qinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
310 static int snd_ak4114_spdif_qget(struct snd_kcontrol *kcontrol,
313 struct ak4114 *chip = snd_kcontrol_chip(kcontrol);