Lines Matching refs:hstream
57 snd_hdac_stream_init(bus, &stream->hstream, idx, direction, tag); in snd_hdac_ext_stream_init()
113 struct hdac_stream *hstream = &stream->hstream; in snd_hdac_ext_stream_decouple_locked() local
115 int mask = AZX_PPCTL_PROCEN(hstream->index); in snd_hdac_ext_stream_decouple_locked()
209 struct hdac_stream *hstream = &stream->hstream; in snd_hdac_ext_link_stream_setup() local
217 (hstream->stream_tag << AZX_PPLCCTL_STRM_SHIFT); in snd_hdac_ext_link_stream_setup()
265 struct hdac_ext_stream *hstream = container_of(stream, in hdac_ext_link_stream_assign() local
267 hstream); in hdac_ext_link_stream_assign()
272 if (hstream->decoupled && !hstream->link_locked) { in hdac_ext_link_stream_assign()
273 res = hstream; in hdac_ext_link_stream_assign()
277 if (!hstream->link_locked) { in hdac_ext_link_stream_assign()
278 snd_hdac_ext_stream_decouple_locked(bus, hstream, true); in hdac_ext_link_stream_assign()
279 res = hstream; in hdac_ext_link_stream_assign()
305 struct hdac_ext_stream *hstream = container_of(stream, in hdac_ext_host_stream_assign() local
307 hstream); in hdac_ext_host_stream_assign()
312 if (!hstream->decoupled) in hdac_ext_host_stream_assign()
313 snd_hdac_ext_stream_decouple_locked(bus, hstream, true); in hdac_ext_host_stream_assign()
314 res = hstream; in hdac_ext_host_stream_assign()
319 res->hstream.opened = 1; in hdac_ext_host_stream_assign()
320 res->hstream.running = 0; in hdac_ext_host_stream_assign()
321 res->hstream.substream = substream; in hdac_ext_host_stream_assign()
349 struct hdac_ext_stream *hstream = NULL; in snd_hdac_ext_stream_assign() local
356 hstream = container_of(stream, in snd_hdac_ext_stream_assign()
357 struct hdac_ext_stream, hstream); in snd_hdac_ext_stream_assign()
358 return hstream; in snd_hdac_ext_stream_assign()
381 struct hdac_bus *bus = stream->hstream.bus; in snd_hdac_ext_stream_release()
385 snd_hdac_stream_release(&stream->hstream); in snd_hdac_ext_stream_release()
393 snd_hdac_stream_release(&stream->hstream); in snd_hdac_ext_stream_release()
398 if (stream->decoupled && !stream->hstream.opened) in snd_hdac_ext_stream_release()
531 snd_hdac_stream_writel(&stream->hstream, SD_LPIB, value); in snd_hdac_ext_stream_set_lpib()