Lines Matching refs:spipe
63 struct snd_sof_pipeline *spipe = swidget->spipe; in sof_widget_free_unlocked() local
108 for_each_set_bit(i, &spipe->core_mask, sdev->num_cores) { in sof_widget_free_unlocked()
117 swidget->spipe->complete = 0; in sof_widget_free_unlocked()
124 if (swidget->spipe && swidget->dynamic_pipeline_widget && in sof_widget_free_unlocked()
126 ret = sof_widget_free_unlocked(sdev, swidget->spipe->pipe_widget); in sof_widget_free_unlocked()
148 struct snd_sof_pipeline *spipe = swidget->spipe; in sof_widget_setup_unlocked() local
170 if (!swidget->spipe || !swidget->spipe->pipe_widget) { in sof_widget_setup_unlocked()
176 ret = sof_widget_setup_unlocked(sdev, swidget->spipe->pipe_widget); in sof_widget_setup_unlocked()
183 for_each_set_bit(i, &spipe->core_mask, sdev->num_cores) { in sof_widget_setup_unlocked()
233 sof_widget_free_unlocked(sdev, swidget->spipe->pipe_widget); in sof_widget_setup_unlocked()
238 for_each_set_bit(j, &spipe->core_mask, sdev->num_cores) { in sof_widget_setup_unlocked()
305 return swidget->spipe->direction == dir; in sof_widget_in_same_direction()
321 if (sink_widget->spipe && sink_widget->spipe->direction_valid && in sof_set_up_same_dir_widget_routes()
322 !sof_widget_in_same_direction(sink_widget, src_widget->spipe->direction)) in sof_set_up_same_dir_widget_routes()
418 src_widget->spipe && src_widget->spipe->direction_valid && in sof_setup_pipeline_connections()
419 sof_widget_in_same_direction(sink_widget, src_widget->spipe->direction)) in sof_setup_pipeline_connections()
448 if (swidget->spipe && swidget->spipe->direction_valid && in sof_unprepare_widgets_in_path()
500 if (swidget->spipe && swidget->spipe->direction_valid && in sof_prepare_widgets_in_path()
564 if (swidget->spipe && swidget->spipe->direction_valid && in sof_free_widgets_in_path()
605 struct snd_sof_pipeline *spipe; in sof_set_up_widgets_in_path() local
615 if (swidget->spipe && swidget->spipe->direction_valid && in sof_set_up_widgets_in_path()
637 spipe = pipeline_list->pipelines[i]; in sof_set_up_widgets_in_path()
638 if (spipe == swidget->spipe) in sof_set_up_widgets_in_path()
644 pipeline_list->pipelines[i] = swidget->spipe; in sof_set_up_widgets_in_path()
795 struct snd_sof_pipeline *spipe; in sof_widget_list_setup() local
800 spipe = swidget->spipe; in sof_widget_list_setup()
801 if (!spipe) { in sof_widget_list_setup()
808 pipe_widget = spipe->pipe_widget; in sof_widget_list_setup()
816 if (spipe->complete) in sof_widget_list_setup()
820 spipe->complete = tplg_ops->pipeline_complete(sdev, pipe_widget); in sof_widget_list_setup()
821 if (spipe->complete < 0) { in sof_widget_list_setup()
822 ret = spipe->complete; in sof_widget_list_setup()