Lines Matching defs:kcontrol
143 static int snd_ak4117_in_error_info(struct snd_kcontrol *kcontrol,
153 static int snd_ak4117_in_error_get(struct snd_kcontrol *kcontrol,
156 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
160 chip->errors[kcontrol->private_value];
161 chip->errors[kcontrol->private_value] = 0;
168 static int snd_ak4117_in_bit_get(struct snd_kcontrol *kcontrol,
171 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
172 unsigned char reg = kcontrol->private_value & 0xff;
173 unsigned char bit = (kcontrol->private_value >> 8) & 0xff;
174 unsigned char inv = (kcontrol->private_value >> 31) & 1;
180 static int snd_ak4117_rx_info(struct snd_kcontrol *kcontrol,
190 static int snd_ak4117_rx_get(struct snd_kcontrol *kcontrol,
193 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
199 static int snd_ak4117_rx_put(struct snd_kcontrol *kcontrol,
202 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
215 static int snd_ak4117_rate_info(struct snd_kcontrol *kcontrol,
225 static int snd_ak4117_rate_get(struct snd_kcontrol *kcontrol,
228 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
234 static int snd_ak4117_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
241 static int snd_ak4117_spdif_get(struct snd_kcontrol *kcontrol,
244 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
252 static int snd_ak4117_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
259 static int snd_ak4117_spdif_mask_get(struct snd_kcontrol *kcontrol,
266 static int snd_ak4117_spdif_pinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
275 static int snd_ak4117_spdif_pget(struct snd_kcontrol *kcontrol,
278 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
290 static int snd_ak4117_spdif_qinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
297 static int snd_ak4117_spdif_qget(struct snd_kcontrol *kcontrol,
300 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);