Lines Matching refs:ctl

41 	struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl);  in hda_cs_dsp_coeff_info()  local
42 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_coeff_info()
52 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_put() local
53 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_coeff_put()
61 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_get() local
62 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_coeff_get()
93 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_free_kcontrol() local
94 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_free_kcontrol()
98 kfree(ctl); in hda_cs_dsp_free_kcontrol()
107 struct hda_cs_dsp_coeff_ctl *ctl __free(kfree) = NULL; in hda_cs_dsp_add_kcontrol()
116 ctl = kzalloc(sizeof(*ctl), GFP_KERNEL); in hda_cs_dsp_add_kcontrol()
117 if (!ctl) in hda_cs_dsp_add_kcontrol()
120 ctl->cs_ctl = cs_ctl; in hda_cs_dsp_add_kcontrol()
121 ctl->card = info->card; in hda_cs_dsp_add_kcontrol()
130 kctl = snd_ctl_new1(&kcontrol, (void *)ctl); in hda_cs_dsp_add_kcontrol()
135 ctl->kctl = kctl; in hda_cs_dsp_add_kcontrol()
138 cs_ctl->priv = no_free_ptr(ctl); in hda_cs_dsp_add_kcontrol()
207 struct hda_cs_dsp_coeff_ctl *ctl = cs_ctl->priv; in hda_cs_dsp_control_remove() local
210 if (ctl) in hda_cs_dsp_control_remove()
211 snd_ctl_remove(ctl->card, ctl->kctl); in hda_cs_dsp_control_remove()