Lines Matching refs:hext_stream

48 	struct hdac_ext_stream *hext_stream;  in hda_cl_stream_prepare()  local
53 hext_stream = hda_dsp_stream_get(sdev, direction, 0); in hda_cl_stream_prepare()
55 if (!hext_stream) { in hda_cl_stream_prepare()
59 hstream = &hext_stream->hstream; in hda_cl_stream_prepare()
74 ret = hda_dsp_iccmax_stream_hw_params(sdev, hext_stream, dmab, NULL); in hda_cl_stream_prepare()
80 ret = hda_dsp_stream_hw_params(sdev, hext_stream, dmab, NULL); in hda_cl_stream_prepare()
85 hda_dsp_stream_spib_config(sdev, hext_stream, HDA_DSP_SPIB_ENABLE, size); in hda_cl_stream_prepare()
88 return hext_stream; in hda_cl_stream_prepare()
221 struct hdac_ext_stream *hext_stream, int cmd) in cl_trigger() argument
223 struct hdac_stream *hstream = &hext_stream->hstream; in cl_trigger()
243 return hda_dsp_stream_trigger(sdev, hext_stream, cmd); in cl_trigger()
248 struct hdac_ext_stream *hext_stream) in hda_cl_cleanup() argument
250 struct hdac_stream *hstream = &hext_stream->hstream; in hda_cl_cleanup()
255 ret = hda_dsp_stream_spib_config(sdev, hext_stream, HDA_DSP_SPIB_DISABLE, 0); in hda_cl_cleanup()
279 int hda_cl_copy_fw(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream) in hda_cl_copy_fw() argument
286 ret = cl_trigger(sdev, hext_stream, SNDRV_PCM_TRIGGER_START); in hda_cl_copy_fw()
309 ret = cl_trigger(sdev, hext_stream, SNDRV_PCM_TRIGGER_STOP); in hda_cl_copy_fw()
391 struct hdac_ext_stream *hext_stream; in hda_dsp_cl_boot_firmware() local
420 hext_stream = hda_cl_stream_prepare(sdev, HDA_CL_STREAM_FORMAT, in hda_dsp_cl_boot_firmware()
423 if (IS_ERR(hext_stream)) { in hda_dsp_cl_boot_firmware()
425 return PTR_ERR(hext_stream); in hda_dsp_cl_boot_firmware()
438 ret = chip_info->cl_init(sdev, hext_stream->hstream.stream_tag, false); in hda_dsp_cl_boot_firmware()
479 ret = hda_cl_copy_fw(sdev, hext_stream); in hda_dsp_cl_boot_firmware()
495 ret1 = hda_cl_cleanup(sdev, &dmab, hext_stream); in hda_dsp_cl_boot_firmware()