Lines Matching refs:host_stream
62 struct hdac_ext_stream *host_stream; in avs_probe_compr_open() local
69 host_stream = snd_hdac_ext_cstream_assign(bus, cstream); in avs_probe_compr_open()
70 if (!host_stream) { in avs_probe_compr_open()
75 adev->extractor = host_stream; in avs_probe_compr_open()
76 hdac_stream(host_stream)->curr_pos = 0; in avs_probe_compr_open()
77 cstream->runtime->private_data = host_stream; in avs_probe_compr_open()
84 struct hdac_ext_stream *host_stream = avs_compr_get_host_stream(cstream); in avs_probe_compr_free() local
114 snd_hdac_stream_cleanup(hdac_stream(host_stream)); in avs_probe_compr_free()
115 hdac_stream(host_stream)->prepared = 0; in avs_probe_compr_free()
116 snd_hdac_ext_stream_release(host_stream, HDAC_EXT_STREAM_TYPE_HOST); in avs_probe_compr_free()
127 struct hdac_ext_stream *host_stream = avs_compr_get_host_stream(cstream); in avs_probe_compr_set_params() local
135 hdac_stream(host_stream)->bufsize = 0; in avs_probe_compr_set_params()
136 hdac_stream(host_stream)->period_bytes = 0; in avs_probe_compr_set_params()
137 hdac_stream(host_stream)->format_val = 0; in avs_probe_compr_set_params()
149 ret = snd_hdac_stream_set_params(hdac_stream(host_stream), format_val); in avs_probe_compr_set_params()
152 ret = snd_hdac_stream_setup(hdac_stream(host_stream)); in avs_probe_compr_set_params()
156 hdac_stream(host_stream)->prepared = 1; in avs_probe_compr_set_params()
166 node_id.vindex = hdac_stream(host_stream)->stream_tag - 1; in avs_probe_compr_set_params()
184 struct hdac_ext_stream *host_stream = avs_compr_get_host_stream(cstream); in avs_probe_compr_trigger() local
189 if (!hdac_stream(host_stream)->prepared) in avs_probe_compr_trigger()
197 snd_hdac_stream_start(hdac_stream(host_stream)); in avs_probe_compr_trigger()
205 snd_hdac_stream_stop(hdac_stream(host_stream)); in avs_probe_compr_trigger()
219 struct hdac_ext_stream *host_stream = avs_compr_get_host_stream(cstream); in avs_probe_compr_pointer() local
223 tstamp->copied_total = hdac_stream(host_stream)->curr_pos; in avs_probe_compr_pointer()