Lines Matching refs:swidget
148 const struct snd_sof_widget *swidget; in snd_sof_pipeline_find() local
150 list_for_each_entry(swidget, &sdev->widget_list, list) in snd_sof_pipeline_find()
151 if (swidget->id == snd_soc_dapm_scheduler) { in snd_sof_pipeline_find()
153 swidget->private; in snd_sof_pipeline_find()
164 struct snd_sof_widget *swidget; in sof_restore_pipelines() local
174 list_for_each_entry_reverse(swidget, &sdev->widget_list, list) { in sof_restore_pipelines()
178 if (!swidget->private) in sof_restore_pipelines()
181 ret = sof_pipeline_core_enable(sdev, swidget); in sof_restore_pipelines()
190 switch (swidget->id) { in sof_restore_pipelines()
199 dai = swidget->private; in sof_restore_pipelines()
205 &swidget->comp_ext, sizeof(swidget->comp_ext)); in sof_restore_pipelines()
220 pipeline = swidget->private; in sof_restore_pipelines()
224 hdr = swidget->private; in sof_restore_pipelines()
226 swidget->private, hdr->size, in sof_restore_pipelines()
233 swidget->widget->id, swidget->comp_id); in sof_restore_pipelines()
302 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_restore_pipelines()
303 switch (swidget->id) { in sof_restore_pipelines()
305 swidget->complete = in sof_restore_pipelines()
306 snd_sof_complete_pipeline(dev, swidget); in sof_restore_pipelines()
389 struct snd_sof_widget *swidget; in snd_sof_find_swidget() local
391 list_for_each_entry(swidget, &sdev->widget_list, list) { in snd_sof_find_swidget()
392 if (strcmp(name, swidget->widget->name) == 0) in snd_sof_find_swidget()
393 return swidget; in snd_sof_find_swidget()
405 struct snd_sof_widget *swidget; in snd_sof_find_swidget_sname() local
413 list_for_each_entry(swidget, &sdev->widget_list, list) { in snd_sof_find_swidget_sname()
414 if (!strcmp(pcm_name, swidget->widget->sname) && in snd_sof_find_swidget_sname()
415 swidget->id == type) in snd_sof_find_swidget_sname()
416 return swidget; in snd_sof_find_swidget_sname()