Home
last modified time | relevance | path

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

/linux-4.4.14/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.c187 struct snd_compr_stream *cstream = NULL; in sst_fill_stream_params() local
193 cstream = (struct snd_compr_stream *)substream; in sst_fill_stream_params()
214 if (cstream) { in sst_fill_stream_params()
215 index = sst_get_stream_mapping(cstream->device->device, in sst_fill_stream_params()
216 0, cstream->direction, in sst_fill_stream_params()
224 str_params->ops = (u8)cstream->direction; in sst_fill_stream_params()
/linux-4.4.14/sound/soc/
Dsoc-compress.c29 static int soc_compr_open(struct snd_compr_stream *cstream) in soc_compr_open() argument
31 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_open()
38 ret = platform->driver->compr_ops->open(cstream); in soc_compr_open()
47 ret = rtd->dai_link->compr_ops->startup(cstream); in soc_compr_open()
54 snd_soc_runtime_activate(rtd, cstream->direction); in soc_compr_open()
62 platform->driver->compr_ops->free(cstream); in soc_compr_open()
68 static int soc_compr_open_fe(struct snd_compr_stream *cstream) in soc_compr_open_fe() argument
70 struct snd_soc_pcm_runtime *fe = cstream->private_data; in soc_compr_open_fe()
78 if (cstream->direction == SND_COMPRESS_PLAYBACK) in soc_compr_open_fe()
86 ret = platform->driver->compr_ops->open(cstream); in soc_compr_open_fe()
[all …]
/linux-4.4.14/sound/soc/intel/haswell/
Dsst-haswell-pcm.c120 struct snd_compr_stream *cstream; member