Lines Matching refs:host_stream

58 	struct hdac_ext_stream *host_stream;  in avs_probe_compr_open()  local
65 host_stream = snd_hdac_ext_cstream_assign(bus, cstream); in avs_probe_compr_open()
66 if (!host_stream) { in avs_probe_compr_open()
71 adev->extractor = host_stream; in avs_probe_compr_open()
72 hdac_stream(host_stream)->curr_pos = 0; in avs_probe_compr_open()
73 cstream->runtime->private_data = host_stream; in avs_probe_compr_open()
80 struct hdac_ext_stream *host_stream = avs_compr_get_host_stream(cstream); in avs_probe_compr_free() local
110 snd_hdac_stream_cleanup(hdac_stream(host_stream)); in avs_probe_compr_free()
111 hdac_stream(host_stream)->prepared = 0; in avs_probe_compr_free()
112 snd_hdac_ext_stream_release(host_stream, HDAC_EXT_STREAM_TYPE_HOST); in avs_probe_compr_free()
123 struct hdac_ext_stream *host_stream = avs_compr_get_host_stream(cstream); in avs_probe_compr_set_params() local
131 hdac_stream(host_stream)->bufsize = 0; in avs_probe_compr_set_params()
132 hdac_stream(host_stream)->period_bytes = 0; in avs_probe_compr_set_params()
133 hdac_stream(host_stream)->format_val = 0; in avs_probe_compr_set_params()
145 ret = snd_hdac_stream_set_params(hdac_stream(host_stream), format_val); in avs_probe_compr_set_params()
148 ret = snd_hdac_stream_setup(hdac_stream(host_stream)); in avs_probe_compr_set_params()
152 hdac_stream(host_stream)->prepared = 1; in avs_probe_compr_set_params()
162 node_id.vindex = hdac_stream(host_stream)->stream_tag - 1; in avs_probe_compr_set_params()
180 struct hdac_ext_stream *host_stream = avs_compr_get_host_stream(cstream); in avs_probe_compr_trigger() local
185 if (!hdac_stream(host_stream)->prepared) in avs_probe_compr_trigger()
193 snd_hdac_stream_start(hdac_stream(host_stream)); in avs_probe_compr_trigger()
201 snd_hdac_stream_stop(hdac_stream(host_stream)); in avs_probe_compr_trigger()
215 struct hdac_ext_stream *host_stream = avs_compr_get_host_stream(cstream); in avs_probe_compr_pointer() local
219 tstamp->copied_total = hdac_stream(host_stream)->curr_pos; in avs_probe_compr_pointer()