Searched refs:cstream (Results 1 – 4 of 4) 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 …]
187 struct snd_compr_stream *cstream = NULL; in sst_fill_stream_params() local193 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()
29 static int soc_compr_open(struct snd_compr_stream *cstream) in soc_compr_open() argument31 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() argument70 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 …]
120 struct snd_compr_stream *cstream; member