Lines Matching refs:cstream
23 hda_compr_get_stream(struct snd_compr_stream *cstream) in hda_compr_get_stream() argument
25 return cstream->runtime->private_data; in hda_compr_get_stream()
29 struct snd_compr_stream *cstream, in hda_probes_compr_startup() argument
35 hext_stream = hda_dsp_stream_get(sdev, cstream->direction, 0); in hda_probes_compr_startup()
40 hdac_stream(hext_stream)->cstream = cstream; in hda_probes_compr_startup()
41 cstream->runtime->private_data = hext_stream; in hda_probes_compr_startup()
49 struct snd_compr_stream *cstream, in hda_probes_compr_shutdown() argument
52 struct hdac_ext_stream *hext_stream = hda_compr_get_stream(cstream); in hda_probes_compr_shutdown()
56 ret = hda_dsp_stream_put(sdev, cstream->direction, in hda_probes_compr_shutdown()
63 hdac_stream(hext_stream)->cstream = NULL; in hda_probes_compr_shutdown()
64 cstream->runtime->private_data = NULL; in hda_probes_compr_shutdown()
70 struct snd_compr_stream *cstream, in hda_probes_compr_set_params() argument
74 struct hdac_ext_stream *hext_stream = hda_compr_get_stream(cstream); in hda_probes_compr_set_params()
81 dmab = cstream->runtime->dma_buffer_p; in hda_probes_compr_set_params()
90 hstream->bufsize = cstream->runtime->buffer_size; in hda_probes_compr_set_params()
91 hstream->period_bytes = cstream->runtime->fragment_size; in hda_probes_compr_set_params()
104 struct snd_compr_stream *cstream, in hda_probes_compr_trigger() argument
107 struct hdac_ext_stream *hext_stream = hda_compr_get_stream(cstream); in hda_probes_compr_trigger()
114 struct snd_compr_stream *cstream, in hda_probes_compr_pointer() argument
118 struct hdac_ext_stream *hext_stream = hda_compr_get_stream(cstream); in hda_probes_compr_pointer()