Lines Matching defs:hstream

37  * @hstream: HDAudio stream to set up.
42 static int snd_hdac_apl_host_stream_setup(struct hdac_stream *hstream, bool code_loading)
44 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream);
47 snd_hdac_ext_stream_decouple(hstream->bus, hext_stream, false);
48 ret = snd_hdac_stream_setup(hstream, code_loading);
49 snd_hdac_ext_stream_decouple(hstream->bus, hext_stream, true);
79 snd_hdac_stream_init(bus, &hext_stream->hstream, idx, direction, tag);
142 struct hdac_stream *hstream = &hext_stream->hstream;
144 int mask = AZX_PPCTL_PROCEN(hstream->index);
237 struct hdac_stream *hstream = &hext_stream->hstream;
245 (hstream->stream_tag << AZX_PPLCCTL_STRM_SHIFT);
260 struct hdac_stream *hstream = NULL;
268 list_for_each_entry(hstream, &bus->stream_list, list) {
269 struct hdac_ext_stream *hext_stream = container_of(hstream,
271 hstream);
272 if (hstream->direction != substream->stream)
295 struct hdac_stream *hstream = NULL;
303 list_for_each_entry(hstream, &bus->stream_list, list) {
304 struct hdac_ext_stream *hext_stream = container_of(hstream,
306 hstream);
307 if (hstream->direction != substream->stream)
310 if (!hstream->opened) {
317 res->hstream.opened = 1;
318 res->hstream.running = 0;
319 res->hstream.substream = substream;
347 struct hdac_stream *hstream = NULL;
351 hstream = snd_hdac_stream_assign(bus, substream);
352 if (hstream)
353 hext_stream = container_of(hstream,
355 hstream);
379 struct hdac_bus *bus = hext_stream->hstream.bus;
383 snd_hdac_stream_release(&hext_stream->hstream);
391 snd_hdac_stream_release_locked(&hext_stream->hstream);
398 if (!hext_stream->hstream.opened)
425 struct hdac_stream *hstream;
428 list_for_each_entry(hstream, &bus->stream_list, list) {
429 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream);
431 if (hstream->direction != cstream->direction)
434 if (!hstream->opened) {
442 res->hstream.opened = 1;
443 res->hstream.running = 0;
444 res->hstream.cstream = cstream;