Lines Matching refs:cstream
17 hda_compr_get_stream(struct snd_compr_stream *cstream)
19 return cstream->runtime->private_data;
23 struct snd_compr_stream *cstream,
28 stream = hda_dsp_stream_get(sdev, cstream->direction);
33 hdac_stream(stream)->cstream = cstream;
34 cstream->runtime->private_data = stream;
40 struct snd_compr_stream *cstream,
43 struct hdac_ext_stream *stream = hda_compr_get_stream(cstream);
46 ret = hda_dsp_stream_put(sdev, cstream->direction,
53 hdac_stream(stream)->cstream = NULL;
54 cstream->runtime->private_data = NULL;
60 struct snd_compr_stream *cstream,
64 struct hdac_ext_stream *stream = hda_compr_get_stream(cstream);
70 dmab = cstream->runtime->dma_buffer_p;
79 hstream->bufsize = cstream->runtime->buffer_size;
80 hstream->period_bytes = cstream->runtime->fragment_size;
93 struct snd_compr_stream *cstream, int cmd,
96 struct hdac_ext_stream *stream = hda_compr_get_stream(cstream);
102 struct snd_compr_stream *cstream,
106 struct hdac_ext_stream *stream = hda_compr_get_stream(cstream);