Home
last modified time | relevance | path

Searched refs:swidget (Results 1 – 7 of 7) sorted by relevance

/linux/sound/soc/sof/
A Dsof-audio.c111 if (!swidget->private) in sof_widget_free()
118 switch (swidget->id) { in sof_widget_free()
134 swidget->use_count++; in sof_widget_free()
140 swidget->complete = 0; in sof_widget_free()
233 swidget->use_count--; in sof_widget_setup()
374 if (!swidget) in sof_widget_list_setup()
417 if (!swidget) in sof_widget_list_setup()
445 if (!swidget) in sof_widget_list_setup()
476 if (!swidget) in sof_widget_list_free()
770 return swidget; in snd_sof_find_swidget()
[all …]
A Dtopology.c150 if (!swidget) in sof_keyword_dapm_event()
2334 swidget = kzalloc(sizeof(*swidget), GFP_KERNEL); in sof_widget_ready()
2335 if (!swidget) in sof_widget_ready()
2347 swidget->comp_id, index, swidget->id, tw->name, in sof_widget_ready()
2357 kfree(swidget); in sof_widget_ready()
2372 kfree(swidget); in sof_widget_ready()
2382 kfree(swidget); in sof_widget_ready()
2447 kfree(swidget); in sof_widget_ready()
2502 if (!swidget) in sof_widget_unload()
2571 kfree(swidget); in sof_widget_unload()
[all …]
A Dsof-audio.h186 struct snd_sof_widget *swidget);
192 const struct snd_sof_widget *swidget);
268 int sof_widget_setup(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget);
269 int sof_widget_free(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget);
A Dcontrol.c594 struct snd_sof_widget *swidget; in snd_sof_control_notify() local
604 list_for_each_entry(swidget, &sdev->widget_list, list) { in snd_sof_control_notify()
605 if (swidget->comp_id == cdata->comp_id) { in snd_sof_control_notify()
631 widget = swidget->widget; in snd_sof_control_notify()
697 snd_ctl_notify_one(swidget->scomp->card->snd_card, in snd_sof_control_notify()
A Dipc.c755 struct snd_sof_widget *swidget; in snd_sof_ipc_set_get_comp_data() local
760 list_for_each_entry(swidget, &sdev->widget_list, list) { in snd_sof_ipc_set_get_comp_data()
761 if (swidget->comp_id == scontrol->comp_id) { in snd_sof_ipc_set_get_comp_data()
777 if (!swidget->use_count) in snd_sof_ipc_set_get_comp_data()
/linux/sound/soc/sof/intel/
A Dhda-dai.c163 struct snd_sof_widget *swidget = w->dobj.private; in hda_dai_update_config() local
167 if (!swidget) in hda_dai_update_config()
170 sof_dai = swidget->private; in hda_dai_update_config()
173 dev_err(swidget->scomp->dev, "error: No config for DAI %s\n", w->name); in hda_dai_update_config()
453 struct snd_sof_widget *swidget; in ssp_dai_setup_or_free() local
463 swidget = w->dobj.private; in ssp_dai_setup_or_free()
464 component = swidget->scomp; in ssp_dai_setup_or_free()
A Dhda.c46 struct snd_sof_widget *swidget = w->dobj.private; in hda_ctrl_dai_widget_setup() local
47 struct snd_soc_component *component = swidget->scomp; in hda_ctrl_dai_widget_setup()
54 sof_dai = swidget->private; in hda_ctrl_dai_widget_setup()
75 ret = sof_widget_setup(sdev, swidget); in hda_ctrl_dai_widget_setup()
99 struct snd_sof_widget *swidget = w->dobj.private; in hda_ctrl_dai_widget_free() local
100 struct snd_soc_component *component = swidget->scomp; in hda_ctrl_dai_widget_free()
107 sof_dai = swidget->private; in hda_ctrl_dai_widget_free()
134 return sof_widget_free(sdev, swidget); in hda_ctrl_dai_widget_free()
164 struct snd_sof_widget *swidget = w->dobj.private; in sdw_dai_config_ipc() local
168 if (!swidget) { in sdw_dai_config_ipc()
[all …]

Completed in 20 milliseconds