Lines Matching refs:kctl
20 struct snd_kcontrol *kctl; member
38 static int hda_cs_dsp_coeff_info(struct snd_kcontrol *kctl, struct snd_ctl_elem_info *uinfo) in hda_cs_dsp_coeff_info() argument
40 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_info()
49 static int hda_cs_dsp_coeff_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) in hda_cs_dsp_coeff_put() argument
51 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_put()
63 static int hda_cs_dsp_coeff_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) in hda_cs_dsp_coeff_get() argument
65 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_get()
104 struct snd_kcontrol *kctl; in hda_cs_dsp_add_kcontrol() local
122 kctl = snd_ctl_new1(&kcontrol, (void *)ctl); in hda_cs_dsp_add_kcontrol()
123 if (!kctl) in hda_cs_dsp_add_kcontrol()
126 ret = snd_ctl_add(ctl->card, kctl); in hda_cs_dsp_add_kcontrol()
133 ctl->kctl = kctl; in hda_cs_dsp_add_kcontrol()
229 snd_ctl_notify(ctl->card, SNDRV_CTL_EVENT_MASK_VALUE, &ctl->kctl->id); in hda_cs_dsp_write_ctl()