Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/sof/
H A Dipc4-pcm.c67 struct snd_sof_pipeline *spipe, in sof_ipc4_add_pipeline_to_trigger_list() argument
70 struct snd_sof_widget *pipe_widget = spipe->pipe_widget; in sof_ipc4_add_pipeline_to_trigger_list()
82 if (spipe->started_count == spipe->paused_count) in sof_ipc4_add_pipeline_to_trigger_list()
88 if (!spipe->started_count && !spipe->paused_count) in sof_ipc4_add_pipeline_to_trigger_list()
94 if (spipe->paused_count == (spipe->started_count - 1)) in sof_ipc4_add_pipeline_to_trigger_list()
105 struct snd_sof_pipeline *spipe, in sof_ipc4_update_pipeline_state() argument
108 struct snd_sof_widget *pipe_widget = spipe->pipe_widget; in sof_ipc4_update_pipeline_state()
131 spipe->paused_count++; in sof_ipc4_update_pipeline_state()
139 spipe->started_count--; in sof_ipc4_update_pipeline_state()
149 spipe->paused_count--; in sof_ipc4_update_pipeline_state()
[all …]
H A Dsof-audio.c49 struct snd_sof_pipeline *spipe = swidget->spipe; in sof_widget_free_unlocked() local
63 pipe_widget = swidget->spipe->pipe_widget; in sof_widget_free_unlocked()
97 for_each_set_bit(i, &spipe->core_mask, sdev->num_cores) { in sof_widget_free_unlocked()
106 swidget->spipe->complete = 0; in sof_widget_free_unlocked()
141 struct snd_sof_pipeline *spipe = swidget->spipe; in sof_widget_setup_unlocked() local
164 if (!swidget->spipe || !swidget->spipe->pipe_widget) { in sof_widget_setup_unlocked()
170 ret = sof_widget_setup_unlocked(sdev, swidget->spipe->pipe_widget); in sof_widget_setup_unlocked()
177 for_each_set_bit(i, &spipe->core_mask, sdev->num_cores) { in sof_widget_setup_unlocked()
226 sof_widget_free_unlocked(sdev, swidget->spipe->pipe_widget); in sof_widget_setup_unlocked()
231 for_each_set_bit(j, &spipe->core_mask, sdev->num_cores) { in sof_widget_setup_unlocked()
[all …]
H A Dtopology.c1564 struct snd_sof_pipeline *spipe; in sof_widget_ready() local
1566 spipe = kzalloc(sizeof(*spipe), GFP_KERNEL); in sof_widget_ready()
1567 if (!spipe) { in sof_widget_ready()
1572 spipe->pipe_widget = swidget; in sof_widget_ready()
1573 swidget->spipe = spipe; in sof_widget_ready()
1574 list_add(&spipe->list, &sdev->pipeline_list); in sof_widget_ready()
1640 struct snd_sof_pipeline *spipe = swidget->spipe; in sof_widget_unload() local
1642 list_del(&spipe->list); in sof_widget_unload()
1643 kfree(spipe); in sof_widget_unload()
1644 swidget->spipe = NULL; in sof_widget_unload()
[all …]
H A Dipc4-topology.c539 pipe_widget = swidget->spipe->pipe_widget; in sof_ipc4_widget_setup_comp_dai()
665 struct snd_sof_pipeline *spipe = swidget->spipe; in sof_ipc4_widget_setup_comp_pipeline() local
680 spipe->core_mask |= BIT(pipeline->core_id); in sof_ipc4_widget_setup_comp_pipeline()
811 struct snd_sof_pipeline *spipe = swidget->spipe; in sof_ipc4_widget_setup_comp_src() local
835 spipe->core_mask |= BIT(swidget->core); in sof_ipc4_widget_setup_comp_src()
882 struct snd_sof_pipeline *spipe = swidget->spipe; in sof_ipc4_widget_setup_comp_process() local
940 spipe->core_mask |= BIT(swidget->core); in sof_ipc4_widget_setup_comp_process()
998 pipe_widget = swidget->spipe->pipe_widget; in sof_ipc4_update_resource_usage()
1241 pipe_widget = swidget->spipe->pipe_widget; in sof_ipc4_unprepare_copier_module()
1471 pipe_widget = swidget->spipe->pipe_widget; in sof_ipc4_prepare_copier_module()
[all …]
H A Dipc3-topology.c499 struct snd_sof_pipeline *spipe = swidget->spipe; in sof_ipc3_widget_setup_comp_pipeline() local
552 spipe->core_mask |= BIT(pipeline->core); in sof_ipc3_widget_setup_comp_pipeline()
2279 swidget->spipe->complete = sof_ipc3_complete_pipeline(sdev, swidget); in sof_ipc3_set_up_all_pipelines()
2280 if (swidget->spipe->complete < 0) in sof_ipc3_set_up_all_pipelines()
2281 return swidget->spipe->complete; in sof_ipc3_set_up_all_pipelines()
2354 if (swidget->spipe) in sof_ipc3_free_widgets_in_list()
2355 swidget->spipe->complete = 0; in sof_ipc3_free_widgets_in_list()
H A Dsof-audio.h441 struct snd_sof_pipeline *spipe; member
/openbmc/linux/sound/soc/sof/intel/
H A Dhda-dai-ops.c135 pipe_widget = swidget->spipe->pipe_widget; in hda_ipc4_get_hext_stream()
319 pipe_widget = swidget->spipe->pipe_widget; in hda_ipc4_pre_trigger()
385 pipe_widget = swidget->spipe->pipe_widget; in hda_ipc4_post_trigger()
408 swidget->spipe->started_count++; in hda_ipc4_post_trigger()
423 swidget->spipe->started_count = 0; in hda_ipc4_post_trigger()
630 struct snd_sof_widget *pipe_widget = swidget->spipe->pipe_widget; in hda_select_dai_widget_ops()