Lines Matching refs:kctl

21 	struct snd_kcontrol *kctl;  member
39 static int hda_cs_dsp_coeff_info(struct snd_kcontrol *kctl, struct snd_ctl_elem_info *uinfo) in hda_cs_dsp_coeff_info() argument
41 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_info()
50 static int hda_cs_dsp_coeff_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) in hda_cs_dsp_coeff_put() argument
52 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_put()
64 static int hda_cs_dsp_coeff_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) in hda_cs_dsp_coeff_get() argument
66 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_get()
101 static void hda_cs_dsp_free_kcontrol(struct snd_kcontrol *kctl) in hda_cs_dsp_free_kcontrol() argument
103 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_free_kcontrol()
116 struct snd_kcontrol *kctl; in hda_cs_dsp_add_kcontrol() local
140 kctl = snd_ctl_new1(&kcontrol, (void *)ctl); in hda_cs_dsp_add_kcontrol()
141 if (!kctl) in hda_cs_dsp_add_kcontrol()
144 kctl->private_free = hda_cs_dsp_free_kcontrol; in hda_cs_dsp_add_kcontrol()
145 ctl->kctl = kctl; in hda_cs_dsp_add_kcontrol()
149 ret = snd_ctl_add(info->card, kctl); in hda_cs_dsp_add_kcontrol()
220 if (ctl && ctl->kctl) in hda_cs_dsp_control_remove()
221 snd_ctl_remove(ctl->card, ctl->kctl); in hda_cs_dsp_control_remove()
244 snd_ctl_notify(ctl->card, SNDRV_CTL_EVENT_MASK_VALUE, &ctl->kctl->id); in hda_cs_dsp_write_ctl()