| /linux-6.15/sound/hda/ |
| H A D | hdac_stream.c | 199 struct hdac_stream *stream; in snd_hdac_stop_streams() 364 struct hdac_stream *azx_dev; in snd_hdac_stream_assign() 365 struct hdac_stream *res = NULL; in snd_hdac_stream_assign() 439 struct hdac_stream *s; in snd_hdac_get_stream() 455 struct hdac_stream *azx_dev, __le32 **bdlp, in setup_bdle() 639 struct hdac_stream *azx_dev = container_of(cc, struct hdac_stream, cc); in azx_cc_read() 688 struct hdac_stream *s; in snd_hdac_stream_timecounter_init() 749 struct hdac_stream *s; in snd_hdac_stream_sync() 815 struct hdac_stream *azx_dev, u32 value) in snd_hdac_stream_set_spib() 836 struct hdac_stream *azx_dev) in snd_hdac_stream_get_spbmaxfifo() [all …]
|
| H A D | trace.h | 66 DECLARE_EVENT_CLASS(hdac_stream, 67 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev), 82 DEFINE_EVENT(hdac_stream, snd_hdac_stream_start, 83 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev), 87 DEFINE_EVENT(hdac_stream, snd_hdac_stream_stop, 88 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev),
|
| H A D | hdac_controller.c | 587 struct hdac_stream *azx_dev; in azx_int_disable() 600 struct hdac_stream *azx_dev; in azx_int_clear() 686 struct hdac_stream *)) in snd_hdac_bus_handle_stream_irq() argument 688 struct hdac_stream *azx_dev; in snd_hdac_bus_handle_stream_irq() 717 struct hdac_stream *s; in snd_hdac_bus_alloc_stream_pages() 752 struct hdac_stream *s; in snd_hdac_bus_free_stream_pages()
|
| H A D | Makefile | 3 hdac_regmap.o hdac_controller.o hdac_stream.o array.o hdmi_chmap.o
|
| /linux-6.15/include/sound/ |
| H A D | hdaudio.h | 27 struct hdac_stream; 411 struct hdac_stream *)); 513 struct hdac_stream { struct 574 void snd_hdac_stream_release(struct hdac_stream *azx_dev); 583 void snd_hdac_stream_start(struct hdac_stream *azx_dev); 584 void snd_hdac_stream_stop(struct hdac_stream *azx_dev); 587 void snd_hdac_stream_reset(struct hdac_stream *azx_dev); 600 struct hdac_stream *azx_dev, u32 value); 602 struct hdac_stream *azx_dev); 607 struct hdac_stream *azx_dev, u32 value); [all …]
|
| H A D | hdaudio_ext.h | 47 struct hdac_stream hstream; 64 int (*host_setup)(struct hdac_stream *, bool); 69 #define hdac_stream(s) (&(s)->hstream) macro
|
| H A D | hda_register.h | 357 snd_hdac_stream_get_pos_lpib(struct hdac_stream *stream) in snd_hdac_stream_get_pos_lpib() 363 snd_hdac_stream_get_pos_posbuf(struct hdac_stream *stream) in snd_hdac_stream_get_pos_posbuf()
|
| /linux-6.15/sound/soc/sof/intel/ |
| H A D | hda-sdw-bpt.c | 118 struct hdac_stream *hstream; in hda_sdw_bpt_dma_prepare() 132 if (hdac_stream(bpt_stream)->direction == SNDRV_PCM_STREAM_PLAYBACK) { in hda_sdw_bpt_dma_prepare() 137 stream_tag = hdac_stream(bpt_stream)->stream_tag; in hda_sdw_bpt_dma_prepare() 149 struct hdac_stream *hstream; in hda_sdw_bpt_dma_deprepare() 165 stream_tag = hdac_stream(sdw_bpt_stream)->stream_tag; in hda_sdw_bpt_dma_deprepare() 173 ret = chain_dma_trigger(sdev, hdac_stream(sdw_bpt_stream)->stream_tag, in hda_sdw_bpt_dma_deprepare() 174 hdac_stream(sdw_bpt_stream)->direction, in hda_sdw_bpt_dma_deprepare() 202 hdac_stream(sdw_bpt_stream)->direction, in hda_sdw_bpt_dma_enable() 225 hdac_stream(sdw_bpt_stream)->direction, in hda_sdw_bpt_dma_disable() 280 hdac_stream(*bpt_tx_stream)->stream_tag, in hda_sdw_bpt_open() [all …]
|
| H A D | hda-probes.c | 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() 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() 122 tstamp->copied_total = hdac_stream(hext_stream)->curr_pos; in hda_probes_compr_pointer()
|
| H A D | hda-stream.c | 66 struct hdac_stream *hstream, in hda_setup_bdle() 114 struct hdac_stream *hstream) in hda_dsp_stream_setup_bdl() 191 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_stream_spib_config() 221 struct hdac_stream *s; in hda_dsp_stream_get() 275 struct hdac_stream *s; in hda_dsp_stream_put() 360 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_stream_trigger() 448 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_iccmax_stream_hw_params() 526 struct hdac_stream *hstream; in hda_dsp_stream_hw_params() 786 struct hdac_stream *s; in hda_dsp_stream_check() 867 struct hdac_stream *hstream; in hda_dsp_stream_init() [all …]
|
| H A D | hda-pcm.c | 104 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_hw_params() 155 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_ack() 178 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_trigger() 190 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_pointer() 325 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_close()
|
| H A D | hda-trace.c | 26 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_trace_prepare() 76 struct hdac_stream *hstream; in hda_dsp_trace_release()
|
| H A D | hda-dai.c | 129 stream_tag = hdac_stream(hext_stream)->stream_tag; in hda_link_dma_cleanup() 161 struct hdac_stream *hstream; in hda_link_dma_hw_params() 258 data->dai_data = hdac_stream(hext_stream)->stream_tag - 1; in hda_dai_hw_params_data() 375 struct hdac_stream *hstream; in non_hda_dai_hw_params_data() 568 hdac_stream(hext_stream)->stream_tag, in sdw_hda_dai_hw_params() 645 struct hdac_stream *s; in hda_dai_suspend() 669 w = snd_soc_dai_get_widget(cpu_dai, hdac_stream(hext_stream)->direction); in hda_dai_suspend()
|
| H A D | hda-dai-ops.c | 31 struct hdac_stream *fe_hstream; in hda_check_fes() 52 struct hdac_stream *hstream = NULL; in hda_link_stream_assign() 182 struct hdac_stream *hstream) in hda_codec_dai_set_stream() 558 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dspless_get_hext_stream()
|
| H A D | hda-ctrl.c | 189 struct hdac_stream *stream; in hda_dsp_ctrl_init_chip() 274 struct hdac_stream *stream; in hda_dsp_ctrl_stop_chip()
|
| H A D | hda-loader.c | 58 struct hdac_stream *hstream; in hda_cl_prepare() 245 struct hdac_stream *hstream = &hext_stream->hstream; in hda_cl_trigger() 279 struct hdac_stream *hstream = &hext_stream->hstream; in hda_cl_cleanup()
|
| /linux-6.15/sound/soc/intel/avs/ |
| H A D | probes.c | 76 hdac_stream(host_stream)->curr_pos = 0; in avs_probe_compr_open() 114 snd_hdac_stream_cleanup(hdac_stream(host_stream)); in avs_probe_compr_free() 115 hdac_stream(host_stream)->prepared = 0; in avs_probe_compr_free() 135 hdac_stream(host_stream)->bufsize = 0; in avs_probe_compr_set_params() 136 hdac_stream(host_stream)->period_bytes = 0; in avs_probe_compr_set_params() 137 hdac_stream(host_stream)->format_val = 0; in avs_probe_compr_set_params() 155 hdac_stream(host_stream)->prepared = 1; in avs_probe_compr_set_params() 188 if (!hdac_stream(host_stream)->prepared) in avs_probe_compr_trigger() 196 snd_hdac_stream_start(hdac_stream(host_stream)); in avs_probe_compr_trigger() 204 snd_hdac_stream_stop(hdac_stream(host_stream)); in avs_probe_compr_trigger() [all …]
|
| H A D | pcm.c | 622 hdac_stream(host_stream)->bufsize = 0; in avs_dai_fe_hw_params() 705 if (hdac_stream(host_stream)->prepared) in avs_dai_fe_prepare() 708 bus = hdac_stream(host_stream)->bus; in avs_dai_fe_prepare() 736 struct hdac_stream *pos; in avs_hda_stream_start() 771 struct hdac_stream *pos; in avs_hda_stream_stop() 775 if (pos == hdac_stream(host_stream)) in avs_hda_stream_stop() 817 bus = hdac_stream(host_stream)->bus; in avs_dai_fe_trigger() 1051 struct hdac_stream *hstream; in avs_dai_resume_fe_prepare() 1056 hstream = hdac_stream(host_stream); in avs_dai_resume_fe_prepare() 1057 bus = hdac_stream(host_stream)->bus; in avs_dai_resume_fe_prepare() [all …]
|
| H A D | icl.c | 162 ret = snd_hdac_dsp_prepare(hdac_stream(host_stream), sd_fmt, fw->size, &dmab); in avs_icl_load_basefw() 169 snd_hdac_stream_start(hdac_stream(host_stream)); in avs_icl_load_basefw() 175 snd_hdac_stream_stop(hdac_stream(host_stream)); in avs_icl_load_basefw() 178 snd_hdac_dsp_cleanup(hdac_stream(host_stream), &dmab); in avs_icl_load_basefw()
|
| H A D | loader.c | 364 struct hdac_stream *hstream; in avs_hda_load_basefw() 376 hstream = hdac_stream(estream); in avs_hda_load_basefw() 432 struct hdac_stream *stream; in avs_hda_load_library() 444 stream = hdac_stream(estream); in avs_hda_load_library()
|
| /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() 42 static int snd_hdac_apl_host_stream_setup(struct hdac_stream *hstream, bool code_loading) in snd_hdac_apl_host_stream_setup() 94 int (*setup_op)(struct hdac_stream *, bool); in snd_hdac_ext_stream_init_all() 126 struct hdac_stream *s, *_s; in snd_hdac_ext_stream_free_all() 142 struct hdac_stream *hstream = &hext_stream->hstream; in snd_hdac_ext_stream_decouple_locked() 238 struct hdac_stream *hstream = &hext_stream->hstream; in snd_hdac_ext_stream_setup() 261 struct hdac_stream *hstream = NULL; in hdac_ext_link_dma_stream_assign() 297 struct hdac_stream *hstream = NULL; in hdac_ext_host_dma_stream_assign() 350 struct hdac_stream *hstream = NULL; in snd_hdac_ext_stream_assign() 428 struct hdac_stream *hstream; in snd_hdac_ext_cstream_assign()
|
| /linux-6.15/include/trace/events/ |
| H A D | sof_intel.h | 91 struct hdac_stream *hstream, 114 TP_PROTO(struct device *dev, struct hdac_stream *s, u32 status),
|
| /linux-6.15/sound/pci/hda/ |
| H A D | hda_controller.c | 43 struct hdac_stream *s; in azx_assign_device() 112 struct hdac_stream *hdas = azx_stream(azx_dev); in azx_pcm_hw_params() 215 struct hdac_stream *hstr; in azx_pcm_trigger() 952 struct hdac_stream *s; in azx_get_dsp_loader_dev() 968 struct hdac_stream *hstr; in snd_hda_codec_load_dsp_prepare() 1011 struct hdac_stream *hstr = azx_stream(azx_dev); in snd_hda_codec_load_dsp_cleanup() 1056 static void stream_update(struct hdac_bus *bus, struct hdac_stream *s) in stream_update() 1328 struct hdac_stream *s; in azx_free_streams() 1331 s = list_first_entry(&bus->stream_list, struct hdac_stream, list); in azx_free_streams()
|
| H A D | hda_controller.h | 58 struct hdac_stream core;
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | hda-dai.c | 76 struct hdac_stream *stream; in hda_codec_dai_prepare()
|