Searched refs:cstream (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.4/sound/soc/ |
| D | soc-compress.c | 23 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-v5.4/sound/soc/intel/atom/ |
| D | sst-mfld-platform-compress.c | 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() 42 static int sst_platform_compr_open(struct snd_compr_stream *cstream) in sst_platform_compr_open() argument 46 struct snd_compr_runtime *runtime = cstream->runtime; in sst_platform_compr_open() 75 static int sst_platform_compr_free(struct snd_compr_stream *cstream) in sst_platform_compr_free() argument 80 stream = cstream->runtime->private_data; in sst_platform_compr_free() [all …]
|
| D | sst-mfld-platform-pcm.c | 180 struct snd_compr_stream *cstream = NULL; in sst_fill_stream_params() local 186 cstream = (struct snd_compr_stream *)substream; in sst_fill_stream_params() 207 if (cstream) { in sst_fill_stream_params() 208 index = sst_get_stream_mapping(cstream->device->device, in sst_fill_stream_params() 209 0, cstream->direction, in sst_fill_stream_params() 217 str_params->ops = (u8)cstream->direction; in sst_fill_stream_params()
|
| /Linux-v5.4/sound/soc/uniphier/ |
| D | aio-compress.c | 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() 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 …]
|
| D | aio-dma.c | 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()
|
| D | aio.h | 244 struct snd_compr_stream *cstream; member
|
| /Linux-v5.4/sound/soc/sprd/ |
| D | sprd-pcm-compress.c | 70 struct snd_compr_stream *cstream; member 99 static int sprd_platform_compr_trigger(struct snd_compr_stream *cstream, 104 struct snd_compr_stream *cstream = arg; in sprd_platform_compr_drain_notify() local 105 struct snd_compr_runtime *runtime = cstream->runtime; in sprd_platform_compr_drain_notify() 110 snd_compr_drain_notify(cstream); in sprd_platform_compr_drain_notify() 115 struct snd_compr_stream *cstream = data; in sprd_platform_compr_dma_complete() local 116 struct snd_compr_runtime *runtime = cstream->runtime; in sprd_platform_compr_dma_complete() 125 snd_compr_fragment_elapsed(cstream); in sprd_platform_compr_dma_complete() 128 static int sprd_platform_compr_dma_config(struct snd_compr_stream *cstream, in sprd_platform_compr_dma_config() argument 132 struct snd_compr_runtime *runtime = cstream->runtime; in sprd_platform_compr_dma_config() [all …]
|
| /Linux-v5.4/tools/perf/util/ |
| D | zstd.c | 27 data->cstream = ZSTD_createCStream(); in zstd_init() 28 if (data->cstream == NULL) { in zstd_init() 33 ret = ZSTD_initCStream(data->cstream, level); in zstd_init() 49 if (data->cstream) { in zstd_fini() 50 ZSTD_freeCStream(data->cstream); in zstd_fini() 51 data->cstream = NULL; in zstd_fini() 74 ret = ZSTD_compressStream(data->cstream, &output, &input); in zstd_compress_stream_to_records() 75 ZSTD_flushStream(data->cstream, &output); in zstd_compress_stream_to_records()
|
| D | compress.h | 22 ZSTD_CStream *cstream; member
|
| /Linux-v5.4/tools/build/feature/ |
| D | test-libzstd.c | 6 ZSTD_CStream *cstream; in main() local 8 cstream = ZSTD_createCStream(); in main() 9 ZSTD_freeCStream(cstream); in main()
|
| /Linux-v5.4/sound/soc/qcom/qdsp6/ |
| D | q6asm-dai.c | 52 struct snd_compr_stream *cstream; member 500 struct snd_compr_stream *substream = prtd->cstream; in compress_event_handler() 569 prtd->cstream = stream; in q6asm_dai_compr_open()
|
| /Linux-v5.4/sound/soc/intel/haswell/ |
| D | sst-haswell-pcm.c | 111 struct snd_compr_stream *cstream; member
|