Lines Matching refs:kcontrol
202 static int aureon_universe_inmux_info(struct snd_kcontrol *kcontrol, in aureon_universe_inmux_info() argument
217 static int aureon_universe_inmux_get(struct snd_kcontrol *kcontrol, in aureon_universe_inmux_get() argument
220 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_universe_inmux_get()
226 static int aureon_universe_inmux_put(struct snd_kcontrol *kcontrol, in aureon_universe_inmux_put() argument
229 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_universe_inmux_put()
367 static int aureon_ac97_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in aureon_ac97_vol_info() argument
370 uinfo->count = kcontrol->private_value & AUREON_AC97_STEREO ? 2 : 1; in aureon_ac97_vol_info()
376 static int aureon_ac97_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_ac97_vol_get() argument
378 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_vol_get()
383 vol = aureon_ac97_read(ice, kcontrol->private_value & 0x7F); in aureon_ac97_vol_get()
385 if (kcontrol->private_value & AUREON_AC97_STEREO) in aureon_ac97_vol_get()
392 static int aureon_ac97_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_ac97_vol_put() argument
394 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_vol_put()
400 ovol = aureon_ac97_read(ice, kcontrol->private_value & 0x7F); in aureon_ac97_vol_put()
402 if (kcontrol->private_value & AUREON_AC97_STEREO) in aureon_ac97_vol_put()
408 aureon_ac97_write(ice, kcontrol->private_value & 0x7F, nvol); in aureon_ac97_vol_put()
420 static int aureon_ac97_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_ac97_mute_get() argument
422 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_mute_get()
427 kcontrol->private_value & 0x7F) & 0x8000 ? 0 : 1; in aureon_ac97_mute_get()
433 static int aureon_ac97_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_ac97_mute_put() argument
435 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_mute_put()
441 ovol = aureon_ac97_read(ice, kcontrol->private_value & 0x7F); in aureon_ac97_mute_put()
446 aureon_ac97_write(ice, kcontrol->private_value & 0x7F, nvol); in aureon_ac97_mute_put()
458 static int aureon_ac97_micboost_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucont… in aureon_ac97_micboost_get() argument
460 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_micboost_get()
470 static int aureon_ac97_micboost_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucont… in aureon_ac97_micboost_put() argument
472 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_micboost_put()
661 static int aureon_ac97_mmute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_ac97_mmute_get() argument
663 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_mmute_get()
673 static int aureon_ac97_mmute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_ac97_mmute_put() argument
675 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_ac97_mmute_put()
723 static int wm_pcm_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_pcm_mute_get() argument
725 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_pcm_mute_get()
733 static int wm_pcm_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_pcm_mute_put() argument
735 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_pcm_mute_put()
753 static int wm_master_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in wm_master_vol_info() argument
762 static int wm_master_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_master_vol_get() argument
764 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_master_vol_get()
773 static int wm_master_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_master_vol_put() argument
775 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_master_vol_put()
802 static int wm_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in wm_vol_info() argument
804 int voices = kcontrol->private_value >> 8; in wm_vol_info()
812 static int wm_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_vol_get() argument
814 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_vol_get()
818 voices = kcontrol->private_value >> 8; in wm_vol_get()
819 ofs = kcontrol->private_value & 0xff; in wm_vol_get()
826 static int wm_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_vol_put() argument
828 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_vol_put()
833 voices = kcontrol->private_value >> 8; in wm_vol_put()
834 ofs = kcontrol->private_value & 0xff; in wm_vol_put()
856 static int wm_mute_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in wm_mute_info() argument
859 uinfo->count = kcontrol->private_value >> 8; in wm_mute_info()
865 static int wm_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_mute_get() argument
867 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_mute_get()
871 voices = kcontrol->private_value >> 8; in wm_mute_get()
872 ofs = kcontrol->private_value & 0xFF; in wm_mute_get()
880 static int wm_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_mute_put() argument
882 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_mute_put()
886 voices = kcontrol->private_value >> 8; in wm_mute_put()
887 ofs = kcontrol->private_value & 0xFF; in wm_mute_put()
911 static int wm_master_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_master_mute_get() argument
913 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_master_mute_get()
923 static int wm_master_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_master_mute_put() argument
925 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_master_mute_put()
953 static int wm_pcm_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in wm_pcm_vol_info() argument
962 static int wm_pcm_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_pcm_vol_get() argument
964 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_pcm_vol_get()
975 static int wm_pcm_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_pcm_vol_put() argument
977 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_pcm_vol_put()
1001 static int wm_adc_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_adc_mute_get() argument
1003 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mute_get()
1016 static int wm_adc_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_adc_mute_put() argument
1018 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mute_put()
1039 static int wm_adc_vol_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in wm_adc_vol_info() argument
1048 static int wm_adc_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_adc_vol_get() argument
1050 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_vol_get()
1064 static int wm_adc_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_adc_vol_put() argument
1066 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_vol_put()
1088 static int wm_adc_mux_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in wm_adc_mux_info() argument
1107 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mux_info()
1125 static int wm_adc_mux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_adc_mux_get() argument
1127 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mux_get()
1138 static int wm_adc_mux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_adc_mux_put() argument
1140 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in wm_adc_mux_put()
1159 static int aureon_cs8415_mux_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in aureon_cs8415_mux_info() argument
1161 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_cs8415_mux_info()
1182 static int aureon_cs8415_mux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_cs8415_mux_get() argument
1184 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_cs8415_mux_get()
1194 static int aureon_cs8415_mux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_cs8415_mux_put() argument
1196 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_cs8415_mux_put()
1213 static int aureon_cs8415_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in aureon_cs8415_rate_info() argument
1222 static int aureon_cs8415_rate_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in aureon_cs8415_rate_get() argument
1224 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_cs8415_rate_get()
1236 static int aureon_cs8415_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in aureon_cs8415_mute_get() argument
1238 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_cs8415_mute_get()
1245 static int aureon_cs8415_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in aureon_cs8415_mute_put() argument
1247 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_cs8415_mute_put()
1266 static int aureon_cs8415_qsub_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in aureon_cs8415_qsub_info() argument
1273 static int aureon_cs8415_qsub_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in aureon_cs8415_qsub_get() argument
1275 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_cs8415_qsub_get()
1284 static int aureon_cs8415_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in aureon_cs8415_spdif_info() argument
1291 static int aureon_cs8415_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in aureon_cs8415_mask_get() argument
1297 static int aureon_cs8415_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontr… in aureon_cs8415_spdif_get() argument
1299 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_cs8415_spdif_get()
1343 static int aureon_hpamp_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_hpamp_get() argument
1345 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_hpamp_get()
1352 static int aureon_hpamp_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_hpamp_put() argument
1354 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_hpamp_put()
1365 static int aureon_deemp_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_deemp_get() argument
1367 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_deemp_get()
1372 static int aureon_deemp_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_deemp_put() argument
1374 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_deemp_put()
1406 static int aureon_oversampling_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontr… in aureon_oversampling_get() argument
1408 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_oversampling_get()
1413 static int aureon_oversampling_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontr… in aureon_oversampling_put() argument
1416 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); in aureon_oversampling_put()