Lines Matching refs:cstream

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