Lines Matching defs:kcontrol

142 static int snd_ak4117_in_error_info(struct snd_kcontrol *kcontrol,
152 static int snd_ak4117_in_error_get(struct snd_kcontrol *kcontrol,
155 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
159 chip->errors[kcontrol->private_value];
160 chip->errors[kcontrol->private_value] = 0;
167 static int snd_ak4117_in_bit_get(struct snd_kcontrol *kcontrol,
170 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
171 unsigned char reg = kcontrol->private_value & 0xff;
172 unsigned char bit = (kcontrol->private_value >> 8) & 0xff;
173 unsigned char inv = (kcontrol->private_value >> 31) & 1;
179 static int snd_ak4117_rx_info(struct snd_kcontrol *kcontrol,
189 static int snd_ak4117_rx_get(struct snd_kcontrol *kcontrol,
192 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
198 static int snd_ak4117_rx_put(struct snd_kcontrol *kcontrol,
201 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
214 static int snd_ak4117_rate_info(struct snd_kcontrol *kcontrol,
224 static int snd_ak4117_rate_get(struct snd_kcontrol *kcontrol,
227 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
233 static int snd_ak4117_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
240 static int snd_ak4117_spdif_get(struct snd_kcontrol *kcontrol,
243 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
251 static int snd_ak4117_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
258 static int snd_ak4117_spdif_mask_get(struct snd_kcontrol *kcontrol,
265 static int snd_ak4117_spdif_pinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
274 static int snd_ak4117_spdif_pget(struct snd_kcontrol *kcontrol,
277 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
289 static int snd_ak4117_spdif_qinfo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
296 static int snd_ak4117_spdif_qget(struct snd_kcontrol *kcontrol,
299 struct ak4117 *chip = snd_kcontrol_chip(kcontrol);