| /linux-6.15/sound/hda/ext/ |
| H A D | hdac_ext_stream.c | 30 return hext_stream->host_setup(hdac_stream(hext_stream), code_loading); in snd_hdac_ext_host_stream_setup() 78 hext_stream->decoupled = false; in snd_hdac_ext_stream_init() 106 if (!hext_stream) in snd_hdac_ext_stream_init_all() 133 kfree(hext_stream); in snd_hdac_ext_stream_free_all() 153 hext_stream->decoupled = decouple; in snd_hdac_ext_stream_decouple_locked() 278 res = hext_stream; in hdac_ext_link_dma_stream_assign() 313 res = hext_stream; in hdac_ext_host_dma_stream_assign() 359 return hext_stream; in snd_hdac_ext_stream_assign() 392 if (!hext_stream->link_locked) in snd_hdac_ext_stream_release() 403 hext_stream->link_locked = 0; in snd_hdac_ext_stream_release() [all …]
|
| /linux-6.15/sound/soc/sof/intel/ |
| H A D | hda-probes.c | 33 struct hdac_ext_stream *hext_stream; in hda_probes_compr_startup() local 36 if (!hext_stream) in hda_probes_compr_startup() 39 hdac_stream(hext_stream)->curr_pos = 0; in hda_probes_compr_startup() 40 hdac_stream(hext_stream)->cstream = cstream; in hda_probes_compr_startup() 41 cstream->runtime->private_data = hext_stream; in hda_probes_compr_startup() 43 *stream_id = hdac_stream(hext_stream)->stream_tag; in hda_probes_compr_startup() 57 hdac_stream(hext_stream)->stream_tag); in hda_probes_compr_shutdown() 63 hdac_stream(hext_stream)->cstream = NULL; in hda_probes_compr_shutdown() 76 struct hdac_stream *hstream = hdac_stream(hext_stream); in hda_probes_compr_set_params() 110 return hda_dsp_stream_trigger(sdev, hext_stream, cmd); in hda_probes_compr_trigger() [all …]
|
| H A D | hda-dai.c | 147 hext_stream->link_prepared = 0; in hda_link_dma_cleanup() 179 if (!hext_stream) { in hda_link_dma_hw_params() 184 if (!hext_stream) in hda_link_dma_hw_params() 206 hext_stream->link_prepared = 1; in hda_link_dma_hw_params() 224 if (!hext_stream) in hda_dai_hw_free() 248 if (hext_stream && hext_stream->link_prepared) in hda_dai_hw_params_data() 296 if (!hext_stream) in hda_dai_trigger() 392 if (hext_stream && hext_stream->link_prepared) in non_hda_dai_hw_params_data() 408 if (!hext_stream) { in non_hda_dai_hw_params_data() 522 if (hext_stream && hext_stream->link_prepared) in sdw_hda_dai_hw_params() [all …]
|
| H A D | hda-stream.c | 231 hext_stream); in hda_dsp_stream_get() 244 if (!hext_stream) { in hda_dsp_stream_get() 246 return hext_stream; in hda_dsp_stream_get() 264 return hext_stream; in hda_dsp_stream_get() 453 if (!hext_stream) { in hda_dsp_iccmax_stream_hw_params() 532 if (!hext_stream) { in hda_dsp_stream_hw_params() 813 hext_stream); in hda_dsp_stream_check() 932 hext_stream = &hda_stream->hext_stream; in hda_dsp_stream_init() 1025 hext_stream); in hda_dsp_stream_free() 1150 if (hext_stream->pplcllpl || hext_stream->pplcllpu) in hda_dsp_get_stream_llp() [all …]
|
| H A D | hda-loader.c | 57 struct hdac_ext_stream *hext_stream; in hda_cl_prepare() local 63 if (!hext_stream) { in hda_cl_prepare() 67 hstream = &hext_stream->hstream; in hda_cl_prepare() 104 return hext_stream; in hda_cl_prepare() 253 hext_stream); in hda_cl_trigger() 433 struct hdac_ext_stream *hext_stream; in hda_dsp_cl_boot_firmware() local 467 if (IS_ERR(hext_stream)) { in hda_dsp_cl_boot_firmware() 469 return PTR_ERR(hext_stream); in hda_dsp_cl_boot_firmware() 605 if (IS_ERR(hext_stream)) { in hda_dsp_ipc4_load_library() 607 return PTR_ERR(hext_stream); in hda_dsp_ipc4_load_library() [all …]
|
| H A D | hda-dai-ops.c | 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 152 if (!hext_stream) in hda_assign_hext_stream() 157 return hext_stream; in hda_assign_hext_stream() 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() 361 hext_stream->pplcllpl = 0; in hda_trigger() [all …]
|
| H A D | hda-pcm.c | 105 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_hw_params() local 131 ret = hda_dsp_stream_hw_params(sdev, hext_stream, dmab, params); in hda_dsp_pcm_hw_params() 139 hda_dsp_stream_spib_config(sdev, hext_stream, HDA_DSP_SPIB_ENABLE, 0); in hda_dsp_pcm_hw_params() 141 hda_dsp_stream_spib_config(sdev, hext_stream, HDA_DSP_SPIB_DISABLE, 0); in hda_dsp_pcm_hw_params() 179 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_trigger() local 181 return hda_dsp_stream_trigger(sdev, hext_stream, cmd); in hda_dsp_pcm_trigger()
|
| H A D | hda-trace.c | 25 struct hdac_ext_stream *hext_stream = hda->dtrace_stream; in hda_dsp_trace_prepare() local 26 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_trace_prepare() 32 ret = hda_dsp_stream_hw_params(sdev, hext_stream, dmab, NULL); in hda_dsp_trace_prepare()
|
| H A D | hda.h | 578 struct hdac_ext_stream hext_stream; member 586 container_of(hstream, struct sof_intel_hda_stream, hext_stream) 670 struct hdac_ext_stream *hext_stream, 674 struct hdac_ext_stream *hext_stream, 678 struct hdac_ext_stream *hext_stream, int cmd); 699 struct hdac_ext_stream *hext_stream, 730 int hda_cl_copy_fw(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream); 736 int hda_cl_trigger(struct device *dev, struct hdac_ext_stream *hext_stream, int cmd); 739 bool persistent_buffer, struct hdac_ext_stream *hext_stream); 1022 void (*setup_hext_stream)(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream,
|
| H A D | hda-sdw-bpt.c | 356 hda_tx_stream = container_of(bpt_tx_stream, struct sof_intel_hda_stream, hext_stream); in hda_sdw_bpt_wait() 357 hda_rx_stream = container_of(bpt_rx_stream, struct sof_intel_hda_stream, hext_stream); in hda_sdw_bpt_wait()
|
| H A D | hda-ipc.c | 422 hext_stream.hstream); in hda_ipc_msg_data() 444 hext_stream.hstream); in hda_set_stream_data_offset()
|
| /linux-6.15/include/sound/ |
| H A D | hdaudio_ext.h | 80 void snd_hdac_ext_stream_release(struct hdac_ext_stream *hext_stream, int type); 84 struct hdac_ext_stream *hext_stream, bool decouple); 88 void snd_hdac_ext_stream_start(struct hdac_ext_stream *hext_stream); 89 void snd_hdac_ext_stream_clear(struct hdac_ext_stream *hext_stream); 90 void snd_hdac_ext_stream_reset(struct hdac_ext_stream *hext_stream); 91 int snd_hdac_ext_stream_setup(struct hdac_ext_stream *hext_stream, int fmt); 92 int snd_hdac_ext_host_stream_setup(struct hdac_ext_stream *hext_stream, bool code_loading);
|