Searched refs:cstream (Results 1 – 7 of 7) sorted by relevance
34 struct snd_compr_stream *cstream = (struct snd_compr_stream *)arg; in sst_compr_fragment_elapsed() local37 if (cstream) in sst_compr_fragment_elapsed()38 snd_compr_fragment_elapsed(cstream); in sst_compr_fragment_elapsed()43 struct snd_compr_stream *cstream = (struct snd_compr_stream *)arg; in sst_drain_notify() local46 if (cstream) in sst_drain_notify()47 snd_compr_drain_notify(cstream); in sst_drain_notify()50 static int sst_platform_compr_open(struct snd_compr_stream *cstream) in sst_platform_compr_open() argument54 struct snd_compr_runtime *runtime = cstream->runtime; in sst_platform_compr_open()83 static int sst_platform_compr_free(struct snd_compr_stream *cstream) in sst_platform_compr_free() argument88 stream = cstream->runtime->private_data; in sst_platform_compr_free()[all …]
188 struct snd_compr_stream *cstream = NULL; in sst_fill_stream_params() local194 cstream = (struct snd_compr_stream *)substream; in sst_fill_stream_params()215 if (cstream) { in sst_fill_stream_params()216 index = sst_get_stream_mapping(cstream->device->device, in sst_fill_stream_params()217 0, cstream->direction, in sst_fill_stream_params()225 str_params->ops = (u8)cstream->direction; in sst_fill_stream_params()
23 static int soc_compr_components_open(struct snd_compr_stream *cstream, in soc_compr_components_open() argument26 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_components_open()38 ret = component->driver->compr_ops->open(cstream); in soc_compr_components_open()53 static int soc_compr_components_free(struct snd_compr_stream *cstream, in soc_compr_components_free() argument56 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_components_free()70 component->driver->compr_ops->free(cstream); in soc_compr_components_free()76 static int soc_compr_open(struct snd_compr_stream *cstream) in soc_compr_open() argument78 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_open()86 ret = cpu_dai->driver->cops->startup(cstream, cpu_dai); in soc_compr_open()95 ret = soc_compr_components_open(cstream, &component); in soc_compr_open()[all …]
19 static int uniphier_aio_compr_prepare(struct snd_compr_stream *cstream);20 static int uniphier_aio_compr_hw_free(struct snd_compr_stream *cstream);73 static int uniphier_aio_compr_open(struct snd_compr_stream *cstream) in uniphier_aio_compr_open() argument75 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_open()77 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; in uniphier_aio_compr_open()80 if (sub->cstream) in uniphier_aio_compr_open()83 sub->cstream = cstream; in uniphier_aio_compr_open()98 static int uniphier_aio_compr_free(struct snd_compr_stream *cstream) in uniphier_aio_compr_free() argument100 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_free()102 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; in uniphier_aio_compr_free()[all …]
50 struct snd_compr_runtime *runtime = sub->cstream->runtime; in aiodma_compr_irq()64 snd_compr_fragment_elapsed(sub->cstream); in aiodma_compr_irq()86 if (sub->cstream) in aiodma_irq()
244 struct snd_compr_stream *cstream; member
120 struct snd_compr_stream *cstream; member