Searched refs:swidget (Results 1 – 3 of 3) sorted by relevance
148 const struct snd_sof_widget *swidget; in snd_sof_pipeline_find() local150 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() local174 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()[all …]
58 static int ipc_pcm_params(struct snd_sof_widget *swidget, int dir) in ipc_pcm_params() argument61 struct snd_soc_component *scomp = swidget->scomp; in ipc_pcm_params()71 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in ipc_pcm_params()74 swidget->widget->name); in ipc_pcm_params()83 pcm.comp_id = swidget->comp_id; in ipc_pcm_params()112 swidget->widget->name); in ipc_pcm_params()118 static int ipc_trigger(struct snd_sof_widget *swidget, int cmd) in ipc_trigger() argument120 struct snd_soc_component *scomp = swidget->scomp; in ipc_trigger()129 stream.comp_id = swidget->comp_id; in ipc_trigger()136 swidget->widget->name); in ipc_trigger()[all …]
159 struct snd_sof_widget *swidget);165 const struct snd_sof_widget *swidget);