Lines Matching refs:cstream
21 int sof_probe_compr_open(struct snd_compr_stream *cstream,
28 ret = snd_sof_probe_compr_assign(sdev, cstream, dai);
39 int sof_probe_compr_free(struct snd_compr_stream *cstream,
65 snd_compr_free_pages(cstream);
67 return snd_sof_probe_compr_free(sdev, cstream, dai);
71 int sof_probe_compr_set_params(struct snd_compr_stream *cstream,
74 struct snd_compr_runtime *rtd = cstream->runtime;
79 cstream->dma_buffer.dev.type = SNDRV_DMA_TYPE_DEV_SG;
80 cstream->dma_buffer.dev.dev = sdev->dev;
81 ret = snd_compr_malloc_pages(cstream, rtd->buffer_size);
85 ret = snd_sof_probe_compr_set_params(sdev, cstream, params, dai);
100 int sof_probe_compr_trigger(struct snd_compr_stream *cstream, int cmd,
106 return snd_sof_probe_compr_trigger(sdev, cstream, cmd, dai);
110 int sof_probe_compr_pointer(struct snd_compr_stream *cstream,
116 return snd_sof_probe_compr_pointer(sdev, cstream, tstamp, dai);
121 struct snd_compr_stream *cstream,
124 struct snd_compr_runtime *rtd = cstream->runtime;