/linux-6.1.9/sound/hda/ext/ |
D | hdac_ext_stream.c | 30 struct hdac_ext_stream *hext_stream, in snd_hdac_ext_stream_init() argument 34 hext_stream->pphc_addr = bus->ppcap + AZX_PPHC_BASE + in snd_hdac_ext_stream_init() 37 hext_stream->pplc_addr = bus->ppcap + AZX_PPLC_BASE + in snd_hdac_ext_stream_init() 43 hext_stream->spib_addr = bus->spbcap + AZX_SPB_BASE + in snd_hdac_ext_stream_init() 47 hext_stream->fifo_addr = bus->spbcap + AZX_SPB_BASE + in snd_hdac_ext_stream_init() 53 hext_stream->dpibr_addr = bus->drsmcap + AZX_DRSM_BASE + in snd_hdac_ext_stream_init() 56 hext_stream->decoupled = false; in snd_hdac_ext_stream_init() 57 snd_hdac_stream_init(bus, &hext_stream->hstream, idx, direction, tag); in snd_hdac_ext_stream_init() 75 struct hdac_ext_stream *hext_stream = in snd_hdac_ext_stream_init_all() local 76 kzalloc(sizeof(*hext_stream), GFP_KERNEL); in snd_hdac_ext_stream_init_all() [all …]
|
/linux-6.1.9/sound/soc/sof/intel/ |
D | hda-probes.c | 33 struct hdac_ext_stream *hext_stream; in hda_probes_compr_startup() local 35 hext_stream = hda_dsp_stream_get(sdev, cstream->direction, 0); in hda_probes_compr_startup() 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() 52 struct hdac_ext_stream *hext_stream = hda_compr_get_stream(cstream); in hda_probes_compr_shutdown() local 57 hdac_stream(hext_stream)->stream_tag); in hda_probes_compr_shutdown() 63 hdac_stream(hext_stream)->cstream = NULL; in hda_probes_compr_shutdown() [all …]
|
D | hda-dai.c | 85 struct hdac_ext_stream *hext_stream = in hda_link_stream_assign() local 90 hda_stream = hstream_to_sof_hda_stream(hext_stream); in hda_link_stream_assign() 95 if (!hext_stream->link_locked) { in hda_link_stream_assign() 101 res = hext_stream; in hda_link_stream_assign() 112 res = hext_stream; in hda_link_stream_assign() 116 res = hext_stream; in hda_link_stream_assign() 146 struct hdac_ext_stream *hext_stream = snd_soc_dai_get_dma_data(cpu_dai, substream); in hda_link_dma_cleanup() local 157 snd_hdac_ext_link_stream_clear(hext_stream); in hda_link_dma_cleanup() 160 stream_tag = hdac_stream(hext_stream)->stream_tag; in hda_link_dma_cleanup() 164 snd_hdac_ext_stream_release(hext_stream, HDAC_EXT_STREAM_TYPE_LINK); in hda_link_dma_cleanup() [all …]
|
D | hda-stream.c | 157 struct hdac_ext_stream *hext_stream, in hda_dsp_stream_spib_config() argument 160 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_stream_spib_config() 176 sof_io_write(sdev, hext_stream->spib_addr, size); in hda_dsp_stream_spib_config() 187 struct hdac_ext_stream *hext_stream = NULL; in hda_dsp_stream_get() local 195 hext_stream = stream_to_hdac_ext_stream(s); in hda_dsp_stream_get() 196 hda_stream = container_of(hext_stream, in hda_dsp_stream_get() 198 hext_stream); in hda_dsp_stream_get() 211 if (!hext_stream) { in hda_dsp_stream_get() 215 return hext_stream; in hda_dsp_stream_get() 230 return hext_stream; in hda_dsp_stream_get() [all …]
|
D | hda-loader.c | 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() [all …]
|
D | hda-pcm.c | 100 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_hw_params() local 121 ret = hda_dsp_stream_hw_params(sdev, hext_stream, dmab, params); in hda_dsp_pcm_hw_params() 129 hda_dsp_stream_spib_config(sdev, hext_stream, HDA_DSP_SPIB_ENABLE, 0); in hda_dsp_pcm_hw_params() 131 hda_dsp_stream_spib_config(sdev, hext_stream, HDA_DSP_SPIB_DISABLE, 0); in hda_dsp_pcm_hw_params() 145 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_ack() local 159 sof_io_write(sdev, hext_stream->spib_addr, spib); in hda_dsp_pcm_ack() 168 struct hdac_ext_stream *hext_stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_trigger() local 170 return hda_dsp_stream_trigger(sdev, hext_stream, cmd); in hda_dsp_pcm_trigger()
|
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()
|
D | hda.h | 542 struct hdac_ext_stream hext_stream; member 549 container_of(hstream, struct sof_intel_hda_stream, hext_stream) 621 struct hdac_ext_stream *hext_stream, 625 struct hdac_ext_stream *hext_stream, 629 struct hdac_ext_stream *hext_stream, int cmd); 644 struct hdac_ext_stream *hext_stream, 671 int hda_cl_copy_fw(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream); 676 struct hdac_ext_stream *hext_stream);
|
D | hda-ipc.c | 356 hext_stream.hstream); in hda_ipc_msg_data() 376 hext_stream.hstream); in hda_set_stream_data_offset()
|
/linux-6.1.9/include/sound/ |
D | hdaudio_ext.h | 87 void snd_hdac_ext_stream_release(struct hdac_ext_stream *hext_stream, int type); 89 struct hdac_ext_stream *hext_stream, bool decouple); 94 struct hdac_ext_stream *hext_stream, u32 value); 96 struct hdac_ext_stream *hext_stream); 100 struct hdac_ext_stream *hext_stream, u32 value); 101 int snd_hdac_ext_stream_set_lpib(struct hdac_ext_stream *hext_stream, u32 value); 103 void snd_hdac_ext_link_stream_start(struct hdac_ext_stream *hext_stream); 104 void snd_hdac_ext_link_stream_clear(struct hdac_ext_stream *hext_stream); 105 void snd_hdac_ext_link_stream_reset(struct hdac_ext_stream *hext_stream); 106 int snd_hdac_ext_link_stream_setup(struct hdac_ext_stream *hext_stream, int fmt);
|