Home
last modified time | relevance | path

Searched refs:cstream (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/sound/soc/intel/atom/
Dsst-mfld-platform-compress.c34 struct snd_compr_stream *cstream = (struct snd_compr_stream *)arg; in sst_compr_fragment_elapsed() local
37 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() local
46 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() argument
54 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() argument
88 stream = cstream->runtime->private_data; in sst_platform_compr_free()
[all …]
Dsst-mfld-platform-pcm.c188 struct snd_compr_stream *cstream = NULL; in sst_fill_stream_params() local
194 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()
/Linux-v4.19/sound/soc/
Dsoc-compress.c23 static int soc_compr_components_open(struct snd_compr_stream *cstream, in soc_compr_components_open() argument
26 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() argument
56 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() argument
78 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 …]
/Linux-v4.19/sound/soc/uniphier/
Daio-compress.c19 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() argument
75 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() argument
100 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 …]
Daio-dma.c50 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()
Daio.h244 struct snd_compr_stream *cstream; member
/Linux-v4.19/sound/soc/intel/haswell/
Dsst-haswell-pcm.c120 struct snd_compr_stream *cstream; member