Lines Matching refs:hstream
57 snd_hdac_stream_init(bus, &hext_stream->hstream, idx, direction, tag); in snd_hdac_ext_stream_init()
112 struct hdac_stream *hstream = &hext_stream->hstream; in snd_hdac_ext_stream_decouple_locked() local
114 int mask = AZX_PPCTL_PROCEN(hstream->index); in snd_hdac_ext_stream_decouple_locked()
208 struct hdac_stream *hstream = &hext_stream->hstream; in snd_hdac_ext_link_stream_setup() local
216 (hstream->stream_tag << AZX_PPLCCTL_STRM_SHIFT); in snd_hdac_ext_link_stream_setup()
255 struct hdac_stream *hstream = NULL; in hdac_ext_link_stream_assign() local
263 list_for_each_entry(hstream, &bus->stream_list, list) { in hdac_ext_link_stream_assign()
264 struct hdac_ext_stream *hext_stream = container_of(hstream, in hdac_ext_link_stream_assign()
266 hstream); in hdac_ext_link_stream_assign()
267 if (hstream->direction != substream->stream) in hdac_ext_link_stream_assign()
291 struct hdac_stream *hstream = NULL; in hdac_ext_host_stream_assign() local
299 list_for_each_entry(hstream, &bus->stream_list, list) { in hdac_ext_host_stream_assign()
300 struct hdac_ext_stream *hext_stream = container_of(hstream, in hdac_ext_host_stream_assign()
302 hstream); in hdac_ext_host_stream_assign()
303 if (hstream->direction != substream->stream) in hdac_ext_host_stream_assign()
306 if (!hstream->opened) { in hdac_ext_host_stream_assign()
313 res->hstream.opened = 1; in hdac_ext_host_stream_assign()
314 res->hstream.running = 0; in hdac_ext_host_stream_assign()
315 res->hstream.substream = substream; in hdac_ext_host_stream_assign()
344 struct hdac_stream *hstream = NULL; in snd_hdac_ext_stream_assign() local
348 hstream = snd_hdac_stream_assign(bus, substream); in snd_hdac_ext_stream_assign()
349 if (hstream) in snd_hdac_ext_stream_assign()
350 hext_stream = container_of(hstream, in snd_hdac_ext_stream_assign()
352 hstream); in snd_hdac_ext_stream_assign()
376 struct hdac_bus *bus = hext_stream->hstream.bus; in snd_hdac_ext_stream_release()
380 snd_hdac_stream_release(&hext_stream->hstream); in snd_hdac_ext_stream_release()
388 snd_hdac_stream_release_locked(&hext_stream->hstream); in snd_hdac_ext_stream_release()
395 if (!hext_stream->hstream.opened) in snd_hdac_ext_stream_release()
528 snd_hdac_stream_writel(&hext_stream->hstream, SD_LPIB, value); in snd_hdac_ext_stream_set_lpib()