Lines Matching full:pipeline
24 /* trigger a single pipeline */ 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()
51 dev_dbg(sdev->dev, "ipc4 set pipeline instance %d state %d", instance_id, state); in sof_ipc4_set_pipeline_state()
71 struct sof_ipc4_pipeline *pipeline = pipe_widget->private; in sof_ipc4_add_pipeline_to_trigger_list() local
73 if (pipeline->skip_during_fe_trigger && state != SOF_IPC4_PIPE_RESET) in sof_ipc4_add_pipeline_to_trigger_list()
79 * Trigger pipeline if all PCMs containing it are paused or if it is RUNNING in sof_ipc4_add_pipeline_to_trigger_list()
87 /* RESET if the pipeline is neither running nor paused */ in sof_ipc4_add_pipeline_to_trigger_list()
93 /* Pause the pipeline only when its started_count is 1 more than paused_count */ in sof_ipc4_add_pipeline_to_trigger_list()
109 struct sof_ipc4_pipeline *pipeline = pipe_widget->private; in sof_ipc4_update_pipeline_state() local
112 if (pipeline->skip_during_fe_trigger && state != SOF_IPC4_PIPE_RESET) in sof_ipc4_update_pipeline_state()
115 /* set state for pipeline if it was just triggered */ in sof_ipc4_update_pipeline_state()
118 pipeline->state = state; in sof_ipc4_update_pipeline_state()
166 * The picture below represents the pipeline state machine wrt PCM actions corresponding to the
248 * are retrieved from the host pipeline configuration. Likewise in sof_ipc4_chain_dma_trigger()
250 * pipeline configuration. in sof_ipc4_chain_dma_trigger()
255 struct sof_ipc4_pipeline *pipeline = pipe_widget->private; in sof_ipc4_chain_dma_trigger() local
257 if (!pipeline->use_chain_dma) { in sof_ipc4_chain_dma_trigger()
263 msg.primary |= pipeline->msg.primary; in sof_ipc4_chain_dma_trigger()
267 msg.extension |= pipeline->msg.extension; in sof_ipc4_chain_dma_trigger()
288 struct sof_ipc4_pipeline *pipeline; in sof_ipc4_trigger_pipelines() local
308 pipeline = pipe_widget->private; in sof_ipc4_trigger_pipelines()
314 if (pipeline->use_chain_dma) in sof_ipc4_trigger_pipelines()
317 /* allocate memory for the pipeline data */ in sof_ipc4_trigger_pipelines()
330 * in the pipeline, the order of triggering between the left/right paths will be 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()
411 /* determine the pipeline state */ in sof_ipc4_pcm_trigger()
430 /* set the pipeline state */ in sof_ipc4_pcm_trigger()
556 struct sof_ipc4_pipeline *pipeline = pipe_widget->private; in sof_ipc4_pcm_dai_link_fixup() local
558 if (pipeline->use_chain_dma) in sof_ipc4_pcm_dai_link_fixup()
616 /* allocate memory for max number of pipeline IDs */ in sof_ipc4_pcm_setup()
799 * pipeline statistics and it may be invalid if host query happens before in sof_ipc4_pcm_delay()
822 * (1) dai pipeline is started before host pipeline in sof_ipc4_pcm_delay()