Lines Matching refs:kcontrol
734 snd_vortex_eqtoggle_get(struct snd_kcontrol *kcontrol, in snd_vortex_eqtoggle_get() argument
737 vortex_t *vortex = snd_kcontrol_chip(kcontrol); in snd_vortex_eqtoggle_get()
747 snd_vortex_eqtoggle_put(struct snd_kcontrol *kcontrol, in snd_vortex_eqtoggle_put() argument
750 vortex_t *vortex = snd_kcontrol_chip(kcontrol); in snd_vortex_eqtoggle_put()
772 snd_vortex_eq_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_vortex_eq_info() argument
782 snd_vortex_eq_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_vortex_eq_get() argument
784 vortex_t *vortex = snd_kcontrol_chip(kcontrol); in snd_vortex_eq_get()
785 int i = kcontrol->private_value; in snd_vortex_eq_get()
796 snd_vortex_eq_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_vortex_eq_put() argument
798 vortex_t *vortex = snd_kcontrol_chip(kcontrol); in snd_vortex_eq_put()
799 int changed = 0, i = kcontrol->private_value; in snd_vortex_eq_put()
830 snd_vortex_peaks_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_vortex_peaks_info() argument
840 snd_vortex_peaks_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_vortex_peaks_get() argument
842 vortex_t *vortex = snd_kcontrol_chip(kcontrol); in snd_vortex_peaks_get()
883 struct snd_kcontrol *kcontrol; in vortex_eq_init() local
888 if ((kcontrol = in vortex_eq_init()
891 kcontrol->private_value = 0; in vortex_eq_init()
892 if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) in vortex_eq_init()
897 if ((kcontrol = in vortex_eq_init()
900 snprintf(kcontrol->id.name, sizeof(kcontrol->id.name), in vortex_eq_init()
902 kcontrol->private_value = i; in vortex_eq_init()
903 if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) in vortex_eq_init()
908 if ((kcontrol = snd_ctl_new1(&vortex_levels_kcontrol, vortex)) == NULL) in vortex_eq_init()
910 if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) in vortex_eq_init()