Lines Matching refs:cstream
26 struct snd_compr_stream *cstream = (struct snd_compr_stream *)arg; in sst_compr_fragment_elapsed() local
29 if (cstream) in sst_compr_fragment_elapsed()
30 snd_compr_fragment_elapsed(cstream); in sst_compr_fragment_elapsed()
35 struct snd_compr_stream *cstream = (struct snd_compr_stream *)arg; in sst_drain_notify() local
38 if (cstream) in sst_drain_notify()
39 snd_compr_drain_notify(cstream); in sst_drain_notify()
43 struct snd_compr_stream *cstream) in sst_platform_compr_open() argument
46 struct snd_compr_runtime *runtime = cstream->runtime; in sst_platform_compr_open()
76 struct snd_compr_stream *cstream) in sst_platform_compr_free() argument
81 stream = cstream->runtime->private_data; in sst_platform_compr_free()
96 struct snd_compr_stream *cstream, in sst_platform_compr_set_params() argument
105 stream = cstream->runtime->private_data; in sst_platform_compr_set_params()
110 retval = sst_fill_stream_params(cstream, ctx, &str_params, true); in sst_platform_compr_set_params()
148 virt_to_phys(cstream->runtime->buffer); in sst_platform_compr_set_params()
150 cstream->runtime->buffer_size; in sst_platform_compr_set_params()
152 str_params.aparams.frag_size = cstream->runtime->fragment_size; in sst_platform_compr_set_params()
154 cb.param = cstream; in sst_platform_compr_set_params()
156 cb.drain_cb_param = cstream; in sst_platform_compr_set_params()
170 struct snd_compr_stream *cstream, int cmd) in sst_platform_compr_trigger() argument
172 struct sst_runtime_stream *stream = cstream->runtime->private_data; in sst_platform_compr_trigger()
204 struct snd_compr_stream *cstream, in sst_platform_compr_pointer() argument
209 stream = cstream->runtime->private_data; in sst_platform_compr_pointer()
212 (u32)cstream->runtime->buffer_size; in sst_platform_compr_pointer()
218 struct snd_compr_stream *cstream, in sst_platform_compr_ack() argument
223 stream = cstream->runtime->private_data; in sst_platform_compr_ack()
231 struct snd_compr_stream *cstream, in sst_platform_compr_get_caps() argument
235 cstream->runtime->private_data; in sst_platform_compr_get_caps()
241 struct snd_compr_stream *cstream, in sst_platform_compr_get_codec_caps() argument
245 cstream->runtime->private_data; in sst_platform_compr_get_codec_caps()
251 struct snd_compr_stream *cstream, in sst_platform_compr_set_metadata() argument
255 cstream->runtime->private_data; in sst_platform_compr_set_metadata()