Lines Matching refs:hext_stream
63 struct hdac_ext_stream *hext_stream = in hda_link_stream_assign() local
68 hda_stream = hstream_to_sof_hda_stream(hext_stream); in hda_link_stream_assign()
73 if (!hext_stream->link_locked) { in hda_link_stream_assign()
79 res = hext_stream; in hda_link_stream_assign()
90 res = hext_stream; in hda_link_stream_assign()
94 res = hext_stream; in hda_link_stream_assign()
149 struct hdac_ext_stream *hext_stream; in hda_assign_hext_stream() local
151 hext_stream = hda_link_stream_assign(sof_to_bus(sdev), substream); in hda_assign_hext_stream()
152 if (!hext_stream) in hda_assign_hext_stream()
155 snd_soc_dai_set_dma_data(cpu_dai, substream, (void *)hext_stream); in hda_assign_hext_stream()
157 return hext_stream; in hda_assign_hext_stream()
163 struct hdac_ext_stream *hext_stream = hda_get_hext_stream(sdev, cpu_dai, substream); in hda_release_hext_stream() local
166 snd_hdac_ext_stream_release(hext_stream, HDAC_EXT_STREAM_TYPE_LINK); in hda_release_hext_stream()
169 static void hda_setup_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, in hda_setup_hext_stream() argument
172 snd_hdac_ext_stream_setup(hext_stream, format_val); in hda_setup_hext_stream()
175 static void hda_reset_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream) in hda_reset_hext_stream() argument
177 snd_hdac_ext_stream_reset(hext_stream); in hda_reset_hext_stream()
342 struct hdac_ext_stream *hext_stream = snd_soc_dai_get_dma_data(cpu_dai, substream); in hda_trigger() local
347 snd_hdac_ext_stream_start(hext_stream); in hda_trigger()
355 hext_stream->pplcllpl = readl(hext_stream->pplc_addr + AZX_REG_PPLCLLPL); in hda_trigger()
356 hext_stream->pplcllpu = readl(hext_stream->pplc_addr + AZX_REG_PPLCLLPU); in hda_trigger()
357 snd_hdac_ext_stream_clear(hext_stream); in hda_trigger()
361 hext_stream->pplcllpl = 0; in hda_trigger()
362 hext_stream->pplcllpu = 0; in hda_trigger()
363 snd_hdac_ext_stream_clear(hext_stream); in hda_trigger()
564 struct hdac_ext_stream *hext_stream, in hda_dspless_setup_hext_stream() argument
572 hext_stream->hstream.format_val = format_val; in hda_dspless_setup_hext_stream()