Lines Matching full:ctl

40 	struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl);  in hda_cs_dsp_coeff_info()  local
41 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_coeff_info()
51 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_put() local
52 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_coeff_put()
65 struct hda_cs_dsp_coeff_ctl *ctl = (struct hda_cs_dsp_coeff_ctl *)snd_kcontrol_chip(kctl); in hda_cs_dsp_coeff_get() local
66 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_coeff_get()
100 static void hda_cs_dsp_add_kcontrol(struct hda_cs_dsp_coeff_ctl *ctl, const char *name) in hda_cs_dsp_add_kcontrol() argument
102 struct cs_dsp_coeff_ctl *cs_ctl = ctl->cs_ctl; in hda_cs_dsp_add_kcontrol()
120 /* Save ctl inside private_data, ctl is owned by cs_dsp, in hda_cs_dsp_add_kcontrol()
122 kctl = snd_ctl_new1(&kcontrol, (void *)ctl); 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()
141 struct hda_cs_dsp_coeff_ctl *ctl; in hda_cs_dsp_control_add() local
166 ctl = kzalloc(sizeof(*ctl), GFP_KERNEL); in hda_cs_dsp_control_add()
167 if (!ctl) in hda_cs_dsp_control_add()
170 ctl->cs_ctl = cs_ctl; in hda_cs_dsp_control_add()
171 ctl->card = info->card; in hda_cs_dsp_control_add()
172 cs_ctl->priv = ctl; in hda_cs_dsp_control_add()
174 hda_cs_dsp_add_kcontrol(ctl, name); in hda_cs_dsp_control_add()
204 struct hda_cs_dsp_coeff_ctl *ctl = cs_ctl->priv; in hda_cs_dsp_control_remove() local
206 kfree(ctl); in hda_cs_dsp_control_remove()
214 struct hda_cs_dsp_coeff_ctl *ctl; in hda_cs_dsp_write_ctl() local
227 ctl = cs_ctl->priv; in hda_cs_dsp_write_ctl()
229 snd_ctl_notify(ctl->card, SNDRV_CTL_EVENT_MASK_VALUE, &ctl->kctl->id); in hda_cs_dsp_write_ctl()