Home
last modified time | relevance | path

Searched refs:hdac_stream (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.6.21/sound/hda/
Dhdac_stream.c94 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev, in snd_hdac_stream_init()
130 void snd_hdac_stream_start(struct hdac_stream *azx_dev) in snd_hdac_stream_start()
167 static void snd_hdac_stream_clear(struct hdac_stream *azx_dev) in snd_hdac_stream_clear()
183 void snd_hdac_stream_stop(struct hdac_stream *azx_dev) in snd_hdac_stream_stop()
199 struct hdac_stream *stream; in snd_hdac_stop_streams()
224 void snd_hdac_stream_reset(struct hdac_stream *azx_dev) in snd_hdac_stream_reset()
256 int snd_hdac_stream_setup(struct hdac_stream *azx_dev) in snd_hdac_stream_setup()
328 void snd_hdac_stream_cleanup(struct hdac_stream *azx_dev) in snd_hdac_stream_cleanup()
350 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus, in snd_hdac_stream_assign()
353 struct hdac_stream *azx_dev; in snd_hdac_stream_assign()
[all …]
Dtrace.h66 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),
Dhdac_controller.c474 struct hdac_stream *azx_dev; in azx_int_disable()
487 struct hdac_stream *azx_dev; in azx_int_clear()
573 struct hdac_stream *)) in snd_hdac_bus_handle_stream_irq() argument
575 struct hdac_stream *azx_dev; in snd_hdac_bus_handle_stream_irq()
604 struct hdac_stream *s; in snd_hdac_bus_alloc_stream_pages()
639 struct hdac_stream *s; in snd_hdac_bus_free_stream_pages()
DMakefile3 hdac_regmap.o hdac_controller.o hdac_stream.o array.o hdmi_chmap.o
/linux-6.6.21/include/sound/
Dhdaudio.h27 struct hdac_stream;
409 struct hdac_stream *));
511 struct hdac_stream { struct
567 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev, argument
569 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus,
571 void snd_hdac_stream_release_locked(struct hdac_stream *azx_dev);
572 void snd_hdac_stream_release(struct hdac_stream *azx_dev);
573 struct hdac_stream *snd_hdac_get_stream(struct hdac_bus *bus,
576 int snd_hdac_stream_setup(struct hdac_stream *azx_dev);
577 void snd_hdac_stream_cleanup(struct hdac_stream *azx_dev);
[all …]
Dhda_register.h353 snd_hdac_stream_get_pos_lpib(struct hdac_stream *stream) in snd_hdac_stream_get_pos_lpib()
359 snd_hdac_stream_get_pos_posbuf(struct hdac_stream *stream) in snd_hdac_stream_get_pos_posbuf()
Dhdaudio_ext.h49 struct hdac_stream hstream;
66 #define hdac_stream(s) (&(s)->hstream) macro
/linux-6.6.21/sound/soc/intel/avs/
Dprobes.c72 hdac_stream(host_stream)->curr_pos = 0; in avs_probe_compr_open()
110 snd_hdac_stream_cleanup(hdac_stream(host_stream)); in avs_probe_compr_free()
111 hdac_stream(host_stream)->prepared = 0; in avs_probe_compr_free()
131 hdac_stream(host_stream)->bufsize = 0; in avs_probe_compr_set_params()
132 hdac_stream(host_stream)->period_bytes = 0; in avs_probe_compr_set_params()
133 hdac_stream(host_stream)->format_val = 0; in avs_probe_compr_set_params()
145 ret = snd_hdac_stream_set_params(hdac_stream(host_stream), format_val); in avs_probe_compr_set_params()
148 ret = snd_hdac_stream_setup(hdac_stream(host_stream)); in avs_probe_compr_set_params()
152 hdac_stream(host_stream)->prepared = 1; in avs_probe_compr_set_params()
162 node_id.vindex = hdac_stream(host_stream)->stream_tag - 1; in avs_probe_compr_set_params()
[all …]
Dpcm.c300 hdac_stream(link_stream)->stream_tag - 1); in avs_dai_hda_be_hw_params()
329 snd_hdac_ext_bus_link_clear_stream_id(link, hdac_stream(link_stream)->stream_tag); in avs_dai_hda_be_hw_free()
362 snd_hdac_ext_bus_link_set_stream_id(link, hdac_stream(link_stream)->stream_tag); in avs_dai_hda_be_prepare()
492 __func__, hdac_stream(host_stream)->stream_tag, substream); in avs_dai_fe_startup()
533 hdac_stream(host_stream)->bufsize = 0; in avs_dai_fe_hw_params()
534 hdac_stream(host_stream)->period_bytes = 0; in avs_dai_fe_hw_params()
535 hdac_stream(host_stream)->format_val = 0; in avs_dai_fe_hw_params()
544 hdac_stream(host_stream)->stream_tag - 1); in avs_dai_fe_hw_params()
585 snd_hdac_stream_cleanup(hdac_stream(host_stream)); in __avs_dai_fe_hw_free()
586 hdac_stream(host_stream)->prepared = false; in __avs_dai_fe_hw_free()
[all …]
Dloader.c359 struct hdac_stream *hstream; in avs_hda_load_basefw()
371 hstream = hdac_stream(estream); in avs_hda_load_basefw()
426 struct hdac_stream *stream; in avs_hda_load_library()
438 stream = hdac_stream(estream); in avs_hda_load_library()
/linux-6.6.21/sound/soc/sof/intel/
Dhda-probes.c39 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()
Dhda-stream.c28 static inline const char *hda_hstream_direction_str(struct hdac_stream *hstream) in hda_hstream_direction_str()
36 static char *hda_hstream_dbg_get_stream_info_str(struct hdac_stream *hstream) in hda_hstream_dbg_get_stream_info_str()
60 struct hdac_stream *hstream, in hda_setup_bdle()
108 struct hdac_stream *hstream) in hda_dsp_stream_setup_bdl()
159 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_stream_spib_config()
189 struct hdac_stream *s; in hda_dsp_stream_get()
245 struct hdac_stream *s; in hda_dsp_stream_put()
288 static int hda_dsp_stream_reset(struct snd_sof_dev *sdev, struct hdac_stream *hstream) in hda_dsp_stream_reset()
330 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_stream_trigger()
418 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_iccmax_stream_hw_params()
[all …]
Dhda-pcm.c99 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_hw_params()
149 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_ack()
171 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_trigger()
182 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_pointer()
270 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_close()
Dhda-trace.c26 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_trace_prepare()
75 struct hdac_stream *hstream; in hda_dsp_trace_release()
Dhda-dai.c133 stream_tag = hdac_stream(hext_stream)->stream_tag; in hda_link_dma_cleanup()
154 struct hdac_stream *hstream; in hda_link_dma_hw_params()
251 data.dai_data = hdac_stream(hext_stream)->stream_tag - 1; in hda_dai_hw_params()
353 struct hdac_stream *hstream; in non_hda_dai_hw_params()
458 hdac_stream(hext_stream)->stream_tag, in sdw_hda_dai_hw_params()
507 struct hdac_stream *s; in hda_dai_suspend()
531 w = snd_soc_dai_get_widget(cpu_dai, hdac_stream(hext_stream)->direction); in hda_dai_suspend()
Dhda-dai-ops.c30 struct hdac_stream *fe_hstream; in hda_check_fes()
51 struct hdac_stream *hstream = NULL; in hda_link_stream_assign()
194 struct hdac_stream *hstream) in hda_codec_dai_set_stream()
573 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dspless_get_hext_stream()
Dhda-ctrl.c185 struct hdac_stream *stream; in hda_dsp_ctrl_init_chip()
262 struct hdac_stream *stream; in hda_dsp_ctrl_stop_chip()
Dhda-ipc.c402 struct hdac_stream *hstream = substream->runtime->private_data; in hda_ipc_msg_data()
424 struct hdac_stream *hstream = substream->runtime->private_data; in hda_set_stream_data_offset()
Dhda-loader.c51 struct hdac_stream *hstream; in hda_cl_stream_prepare()
225 struct hdac_stream *hstream = &hext_stream->hstream; in cl_trigger()
252 struct hdac_stream *hstream = &hext_stream->hstream; in hda_cl_cleanup()
/linux-6.6.21/sound/soc/intel/skylake/
Dskl-pcm.c66 struct hdac_stream *hstream = hdac_stream(stream); in get_bus_ctx()
77 hdac_stream(stream)->bufsize = 0; in skl_substream_alloc_pages()
78 hdac_stream(stream)->period_bytes = 0; in skl_substream_alloc_pages()
79 hdac_stream(stream)->format_val = 0; in skl_substream_alloc_pages()
129 struct hdac_stream *hstream; in skl_pcm_host_dma_prepare()
147 snd_hdac_stream_reset(hdac_stream(stream)); in skl_pcm_host_dma_prepare()
148 err = snd_hdac_stream_set_params(hdac_stream(stream), format_val); in skl_pcm_host_dma_prepare()
158 err = snd_hdac_stream_setup(hdac_stream(stream)); in skl_pcm_host_dma_prepare()
161 err = snd_hdac_stream_setup(hdac_stream(stream)); in skl_pcm_host_dma_prepare()
167 hdac_stream(stream)->prepared = 1; in skl_pcm_host_dma_prepare()
[all …]
Dskl-messages.c54 struct hdac_stream *stream = snd_hdac_get_stream(bus, in skl_dsp_setup_spib()
74 struct hdac_stream *stream; in skl_dsp_prepare()
89 stream = hdac_stream(estream); in skl_dsp_prepare()
104 struct hdac_stream *stream; in skl_dsp_trigger()
123 struct hdac_stream *stream; in skl_dsp_cleanup()
/linux-6.6.21/sound/hda/ext/
Dhdac_ext_stream.c83 struct hdac_stream *s, *_s; in snd_hdac_ext_stream_free_all()
99 struct hdac_stream *hstream = &hext_stream->hstream; in snd_hdac_ext_stream_decouple_locked()
195 struct hdac_stream *hstream = &hext_stream->hstream; in snd_hdac_ext_stream_setup()
218 struct hdac_stream *hstream = NULL; in hdac_ext_link_dma_stream_assign()
254 struct hdac_stream *hstream = NULL; in hdac_ext_host_dma_stream_assign()
307 struct hdac_stream *hstream = NULL; in snd_hdac_ext_stream_assign()
385 struct hdac_stream *hstream; in snd_hdac_ext_cstream_assign()
/linux-6.6.21/include/trace/events/
Dsof_intel.h91 struct hdac_stream *hstream,
114 TP_PROTO(struct device *dev, struct hdac_stream *s, u32 status),
/linux-6.6.21/sound/pci/hda/
Dhda_controller.c42 struct hdac_stream *s; in azx_assign_device()
209 struct hdac_stream *hstr; in azx_pcm_trigger()
946 struct hdac_stream *s; in azx_get_dsp_loader_dev()
962 struct hdac_stream *hstr; in snd_hda_codec_load_dsp_prepare()
1005 struct hdac_stream *hstr = azx_stream(azx_dev); in snd_hda_codec_load_dsp_cleanup()
1050 static void stream_update(struct hdac_bus *bus, struct hdac_stream *s) in stream_update()
1318 struct hdac_stream *s; in azx_free_streams()
1321 s = list_first_entry(&bus->stream_list, struct hdac_stream, list); in azx_free_streams()
/linux-6.6.21/sound/soc/codecs/
Dhda-dai.c76 struct hdac_stream *stream; in hda_codec_dai_prepare()

12