Lines Matching full:pipeline
163 int dsp_pipeline_init(struct dsp_pipeline *pipeline) in dsp_pipeline_init() argument
165 if (!pipeline) in dsp_pipeline_init()
168 INIT_LIST_HEAD(&pipeline->list); in dsp_pipeline_init()
173 static inline void _dsp_pipeline_destroy(struct dsp_pipeline *pipeline) in _dsp_pipeline_destroy() argument
177 list_for_each_entry_safe(entry, n, &pipeline->list, list) { in _dsp_pipeline_destroy()
180 dsp_hwec_disable(container_of(pipeline, struct dsp, in _dsp_pipeline_destroy()
181 pipeline)); in _dsp_pipeline_destroy()
188 void dsp_pipeline_destroy(struct dsp_pipeline *pipeline) in dsp_pipeline_destroy() argument
191 if (!pipeline) in dsp_pipeline_destroy()
194 _dsp_pipeline_destroy(pipeline); in dsp_pipeline_destroy()
197 int dsp_pipeline_build(struct dsp_pipeline *pipeline, const char *cfg) in dsp_pipeline_build() argument
205 if (!pipeline) in dsp_pipeline_build()
208 if (!list_empty(&pipeline->list)) in dsp_pipeline_build()
209 _dsp_pipeline_destroy(pipeline); in dsp_pipeline_build()
230 "entry to pipeline: %s (out of " in dsp_pipeline_build()
238 available as a pipeline module */ in dsp_pipeline_build()
239 dsp_hwec_enable(container_of(pipeline, in dsp_pipeline_build()
240 struct dsp, pipeline), args); in dsp_pipeline_build()
242 &pipeline->list); in dsp_pipeline_build()
247 list, &pipeline->list); in dsp_pipeline_build()
250 "to add entry to pipeline: " in dsp_pipeline_build()
268 if (!list_empty(&pipeline->list)) in dsp_pipeline_build()
269 pipeline->inuse = 1; in dsp_pipeline_build()
271 pipeline->inuse = 0; in dsp_pipeline_build()
277 void dsp_pipeline_process_tx(struct dsp_pipeline *pipeline, u8 *data, int len) in dsp_pipeline_process_tx() argument
281 if (!pipeline) in dsp_pipeline_process_tx()
284 list_for_each_entry(entry, &pipeline->list, list) in dsp_pipeline_process_tx()
289 void dsp_pipeline_process_rx(struct dsp_pipeline *pipeline, u8 *data, int len, in dsp_pipeline_process_rx() argument
294 if (!pipeline) in dsp_pipeline_process_rx()
297 list_for_each_entry_reverse(entry, &pipeline->list, list) in dsp_pipeline_process_rx()