Lines Matching full:pipelines
35 /* trigger multiple pipelines with a single IPC */ in sof_ipc4_set_multi_pipeline_state()
38 /* ipc_size includes the count and the pipeline IDs for the number of pipelines */ in sof_ipc4_set_multi_pipeline_state()
201 * model on SOF driver has two notional pipelines, one at host DAI,
253 struct snd_sof_pipeline *spipe = pipeline_list->pipelines[i]; in sof_ipc4_chain_dma_trigger()
259 "All pipelines in chained DMA stream should have use_chain_dma attribute set."); in sof_ipc4_chain_dma_trigger()
303 if (!pipeline_list->pipelines || !pipeline_list->count) in sof_ipc4_trigger_pipelines()
306 spipe = pipeline_list->pipelines[0]; in sof_ipc4_trigger_pipelines()
326 * IPC4 requires pipelines to be triggered in order starting at the sink and in sof_ipc4_trigger_pipelines()
329 * Skip the pipelines that have their skip_during_fe_trigger flag set. If there is a fork in sof_ipc4_trigger_pipelines()
336 spipe = pipeline_list->pipelines[i]; in sof_ipc4_trigger_pipelines()
341 spipe = pipeline_list->pipelines[i]; in sof_ipc4_trigger_pipelines()
345 /* return if all pipelines are in the requested state already */ in sof_ipc4_trigger_pipelines()
356 * set paused state for pipelines if the final state is PAUSED or when the pipeline in sof_ipc4_trigger_pipelines()
361 dev_err(sdev->dev, "failed to pause all pipelines\n"); in sof_ipc4_trigger_pipelines()
365 /* update PAUSED state for all pipelines just triggered */ in sof_ipc4_trigger_pipelines()
367 spipe = pipeline_list->pipelines[i]; in sof_ipc4_trigger_pipelines()
379 dev_err(sdev->dev, "failed to set final state %d for all pipelines\n", state); in sof_ipc4_trigger_pipelines()
382 * pipelines to reset state we must ignore the error code and in sof_ipc4_trigger_pipelines()
394 /* update RUNNING/RESET state for all pipelines that were just triggered */ in sof_ipc4_trigger_pipelines()
396 spipe = pipeline_list->pipelines[i]; in sof_ipc4_trigger_pipelines()
589 kfree(pipeline_list->pipelines); in sof_ipc4_pcm_free()
590 pipeline_list->pipelines = NULL; in sof_ipc4_pcm_free()
617 pipeline_list->pipelines = kcalloc(ipc4_data->max_num_pipelines, in sof_ipc4_pcm_setup()
619 if (!pipeline_list->pipelines) { in sof_ipc4_pcm_setup()