Lines Matching refs:cstream
233 static int sof_probe_compr_startup(struct snd_compr_stream *cstream, in sof_probe_compr_startup() argument
239 ret = snd_sof_probe_compr_assign(sdev, cstream, dai); in sof_probe_compr_startup()
249 static int sof_probe_compr_shutdown(struct snd_compr_stream *cstream, in sof_probe_compr_shutdown() argument
274 snd_compr_free_pages(cstream); in sof_probe_compr_shutdown()
276 return snd_sof_probe_compr_free(sdev, cstream, dai); in sof_probe_compr_shutdown()
279 static int sof_probe_compr_set_params(struct snd_compr_stream *cstream, in sof_probe_compr_set_params() argument
284 struct snd_compr_runtime *rtd = cstream->runtime; in sof_probe_compr_set_params()
287 cstream->dma_buffer.dev.type = SNDRV_DMA_TYPE_DEV_SG; in sof_probe_compr_set_params()
288 cstream->dma_buffer.dev.dev = sdev->dev; in sof_probe_compr_set_params()
289 ret = snd_compr_malloc_pages(cstream, rtd->buffer_size); in sof_probe_compr_set_params()
293 ret = snd_sof_probe_compr_set_params(sdev, cstream, params, dai); in sof_probe_compr_set_params()
307 static int sof_probe_compr_trigger(struct snd_compr_stream *cstream, int cmd, in sof_probe_compr_trigger() argument
312 return snd_sof_probe_compr_trigger(sdev, cstream, cmd, dai); in sof_probe_compr_trigger()
315 static int sof_probe_compr_pointer(struct snd_compr_stream *cstream, in sof_probe_compr_pointer() argument
321 return snd_sof_probe_compr_pointer(sdev, cstream, tstamp, dai); in sof_probe_compr_pointer()
334 struct snd_compr_stream *cstream, in sof_probe_compr_copy() argument
337 struct snd_compr_runtime *rtd = cstream->runtime; in sof_probe_compr_copy()