Lines Matching refs:pipeline

194 int dsp_pipeline_init(struct dsp_pipeline *pipeline)  in dsp_pipeline_init()  argument
196 if (!pipeline) in dsp_pipeline_init()
199 INIT_LIST_HEAD(&pipeline->list); in dsp_pipeline_init()
208 static inline void _dsp_pipeline_destroy(struct dsp_pipeline *pipeline) in _dsp_pipeline_destroy() argument
212 list_for_each_entry_safe(entry, n, &pipeline->list, list) { in _dsp_pipeline_destroy()
215 dsp_hwec_disable(container_of(pipeline, struct dsp, in _dsp_pipeline_destroy()
216 pipeline)); in _dsp_pipeline_destroy()
223 void dsp_pipeline_destroy(struct dsp_pipeline *pipeline) in dsp_pipeline_destroy() argument
226 if (!pipeline) in dsp_pipeline_destroy()
229 _dsp_pipeline_destroy(pipeline); in dsp_pipeline_destroy()
236 int dsp_pipeline_build(struct dsp_pipeline *pipeline, const char *cfg) in dsp_pipeline_build() argument
244 if (!pipeline) in dsp_pipeline_build()
247 if (!list_empty(&pipeline->list)) in dsp_pipeline_build()
248 _dsp_pipeline_destroy(pipeline); in dsp_pipeline_build()
279 dsp_hwec_enable(container_of(pipeline, in dsp_pipeline_build()
280 struct dsp, pipeline), args); in dsp_pipeline_build()
282 &pipeline->list); in dsp_pipeline_build()
287 list, &pipeline->list); in dsp_pipeline_build()
318 if (!list_empty(&pipeline->list)) in dsp_pipeline_build()
319 pipeline->inuse = 1; in dsp_pipeline_build()
321 pipeline->inuse = 0; in dsp_pipeline_build()
331 void dsp_pipeline_process_tx(struct dsp_pipeline *pipeline, u8 *data, int len) in dsp_pipeline_process_tx() argument
335 if (!pipeline) in dsp_pipeline_process_tx()
338 list_for_each_entry(entry, &pipeline->list, list) in dsp_pipeline_process_tx()
343 void dsp_pipeline_process_rx(struct dsp_pipeline *pipeline, u8 *data, int len, in dsp_pipeline_process_rx() argument
348 if (!pipeline) in dsp_pipeline_process_rx()
351 list_for_each_entry_reverse(entry, &pipeline->list, list) in dsp_pipeline_process_rx()