Home
last modified time | relevance | path

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

/linux/sound/hda/core/
H A Dstream.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()
257 int snd_hdac_stream_setup(struct hdac_stream *azx_dev, bool code_loading) in snd_hdac_stream_setup()
339 void snd_hdac_stream_cleanup(struct hdac_stream *azx_dev) in snd_hdac_stream_cleanup()
361 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus, in snd_hdac_stream_assign()
364 struct hdac_stream *azx_dev; in snd_hdac_stream_assign()
[all …]
H A 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),
H A Dcontroller.c575 struct hdac_stream *azx_dev; in azx_int_disable()
588 struct hdac_stream *azx_dev; in azx_int_clear()
674 struct hdac_stream *)) in snd_hdac_bus_handle_stream_irq() argument
676 struct hdac_stream *azx_dev; in snd_hdac_bus_handle_stream_irq()
705 struct hdac_stream *s; in snd_hdac_bus_alloc_stream_pages()
740 struct hdac_stream *s; in snd_hdac_bus_free_stream_pages()
/linux/sound/soc/sof/intel/
H A Dhda-sdw-bpt.c131 struct hdac_stream *hstream; in hda_sdw_bpt_dma_prepare()
145 if (hdac_stream(bpt_stream)->direction == SNDRV_PCM_STREAM_PLAYBACK) {
150 stream_tag = hdac_stream(bpt_stream)->stream_tag; in hda_sdw_bpt_dma_deprepare()
162 struct hdac_stream *hstream; in hda_sdw_bpt_dma_deprepare()
173 if (hdac_stream(sdw_bpt_stream)->direction == SNDRV_PCM_STREAM_PLAYBACK) { in hda_sdw_bpt_dma_deprepare()
178 stream_tag = hdac_stream(sdw_bpt_stream)->stream_tag; in hda_sdw_bpt_dma_deprepare()
186 ret = chain_dma_trigger(sdev, hdac_stream(sdw_bpt_stream)->stream_tag, in hda_sdw_bpt_dma_deprepare()
187 hdac_stream(sdw_bpt_stream)->direction, in hda_sdw_bpt_dma_deprepare()
214 ret = chain_dma_trigger(sdev, hdac_stream(sdw_bpt_stream)->stream_tag, in hda_sdw_bpt_dma_enable()
215 hdac_stream(sdw_bpt_strea in hda_sdw_bpt_dma_enable()
[all...]
H A Dhda-stream.c34 static inline const char *hda_hstream_direction_str(struct hdac_stream *hstream) in hda_hstream_direction_str()
42 static char *hda_hstream_dbg_get_stream_info_str(struct hdac_stream *hstream) in hda_hstream_dbg_get_stream_info_str()
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()
295 struct hdac_stream *s; in hda_dsp_stream_put()
353 static int hda_dsp_stream_reset(struct snd_sof_dev *sdev, struct hdac_stream *hstream) in hda_dsp_stream_reset()
395 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_stream_trigger()
483 struct hdac_stream *hstrea in hda_dsp_iccmax_stream_hw_params()
[all...]
H A Dhda-pcm.c106 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_hw_params()
157 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_ack()
180 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_trigger()
192 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_pointer()
338 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_close()
H A Dhda-trace.c26 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_trace_prepare()
76 struct hdac_stream *hstream; in hda_dsp_trace_release()
H A Dhda-dai-ops.c31 struct hdac_stream *fe_hstream; in hda_check_fes()
52 struct hdac_stream *hstream = NULL; in hda_link_stream_assign()
181 struct hdac_stream *hstream) in hda_codec_dai_set_stream()
186 /* set the hdac_stream in the codec dai */ in hda_codec_dai_set_stream()
559 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dspless_get_hext_stream()
H A Dhda-loader.c188 struct hdac_stream *hstream = &hext_stream->hstream; in cl_dsp_init()
H A Dhda-ipc.c410 struct hdac_stream *hstream = substream->runtime->private_data; in hda_ipc_msg_data()
433 struct hdac_stream *hstream = substream->runtime->private_data;
/linux/include/sound/
H A Dhdaudio.h27 struct hdac_stream;
414 struct hdac_stream *));
516 struct hdac_stream { struct
572 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev, argument
574 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus,
576 void snd_hdac_stream_release_locked(struct hdac_stream *azx_dev);
577 void snd_hdac_stream_release(struct hdac_stream *azx_dev);
578 struct hdac_stream *snd_hdac_get_stream(struct hdac_bus *bus,
581 int snd_hdac_stream_setup(struct hdac_stream *azx_dev, bool code_loading);
582 void snd_hdac_stream_cleanup(struct hdac_stream *azx_dev);
[all …]
H A Dhdaudio_ext.h48 struct hdac_stream hstream;
65 int (*host_setup)(struct hdac_stream *, bool);
70 #define hdac_stream(s) (&(s)->hstream) macro
/linux/sound/soc/intel/avs/
H A Dprobes.c81 hdac_stream(host_stream)->curr_pos = 0; in avs_probe_compr_open()
119 snd_hdac_stream_cleanup(hdac_stream(host_stream)); in avs_probe_compr_free()
120 hdac_stream(host_stream)->prepared = 0; in avs_probe_compr_free()
138 hdac_stream(host_stream)->bufsize = 0; in avs_probe_compr_set_params()
139 hdac_stream(host_stream)->period_bytes = 0; in avs_probe_compr_set_params()
140 hdac_stream(host_stream)->format_val = 0; in avs_probe_compr_set_params()
151 ret = snd_hdac_stream_set_params(hdac_stream(host_stream), format_val); in avs_probe_compr_set_params()
154 ret = snd_hdac_stream_setup(hdac_stream(host_stream), false); in avs_probe_compr_set_params()
158 hdac_stream(host_stream)->prepared = 1; in avs_probe_compr_set_params()
168 node_id.vindex = hdac_stream(host_stream)->stream_tag - 1; in avs_probe_compr_set_params()
[all …]
H A Dpcm.c423 hdac_stream(data->link_stream)->stream_tag - 1); in avs_dai_hda_be_hw_params()
443 hdac_stream(link_stream)->stream_tag); in avs_dai_hda_be_hw_free()
477 hdac_stream(link_stream)->stream_tag); in avs_dai_hda_be_prepare()
643 __func__, hdac_stream(host_stream)->stream_tag, substream); in avs_dai_fe_startup()
675 hdac_stream(host_stream)->bufsize = 0; in avs_dai_fe_hw_params()
676 hdac_stream(host_stream)->period_bytes = 0; in avs_dai_fe_hw_params()
677 hdac_stream(host_stream)->format_val = 0; in avs_dai_fe_hw_params()
687 hdac_stream(host_stream)->stream_tag - 1); in avs_dai_fe_hw_params()
728 snd_hdac_stream_cleanup(hdac_stream(host_stream)); in __avs_dai_fe_hw_free()
729 hdac_stream(host_stream)->prepared = false; in __avs_dai_fe_hw_free()
[all …]
H A Dloader.c365 struct hdac_stream *hstream; in avs_hda_load_basefw()
377 hstream = hdac_stream(estream); in avs_hda_load_basefw()
433 struct hdac_stream *stream; in avs_hda_load_library()
445 stream = hdac_stream(estream); in avs_hda_load_library()
/linux/sound/hda/core/ext/
H A Dstream.c30 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()
125 struct hdac_stream *s, *_s; in snd_hdac_ext_stream_free_all()
141 struct hdac_stream *hstream = &hext_stream->hstream; in snd_hdac_ext_stream_decouple_locked()
236 struct hdac_stream *hstream = &hext_stream->hstream; in snd_hdac_ext_stream_setup()
259 struct hdac_stream *hstream = NULL; in hdac_ext_link_dma_stream_assign()
294 struct hdac_stream *hstream = NULL; in hdac_ext_host_dma_stream_assign()
346 struct hdac_stream *hstream = NULL; in snd_hdac_ext_stream_assign()
424 struct hdac_stream *hstream; in snd_hdac_ext_cstream_assign()
/linux/sound/hda/common/
H A Dcontroller.c46 struct hdac_stream *s; in azx_assign_device()
115 struct hdac_stream *hdas = azx_stream(azx_dev); in azx_pcm_hw_params()
208 struct hdac_stream *hstr; in azx_pcm_trigger()
943 struct hdac_stream *s; in azx_get_dsp_loader_dev()
959 struct hdac_stream *hstr; in snd_hda_codec_load_dsp_prepare()
1001 struct hdac_stream *hstr = azx_stream(azx_dev); in snd_hda_codec_load_dsp_cleanup()
1045 static void stream_update(struct hdac_bus *bus, struct hdac_stream *s) in stream_update()
1314 struct hdac_stream *s; in azx_free_streams()
1317 s = list_first_entry(&bus->stream_list, struct hdac_stream, list); in azx_free_streams()
H A Dhda_controller.h58 struct hdac_stream core;
/linux/include/trace/events/
H A Dsof_intel.h91 struct hdac_stream *hstream,
114 TP_PROTO(struct device *dev, struct hdac_stream *s, u32 status),
/linux/sound/soc/codecs/
H A Dhda-dai.c76 struct hdac_stream *stream; in hda_codec_dai_prepare()
H A Dhdac_hda.c199 struct hdac_stream *hstream; in hdac_hda_dai_set_stream()
206 hstream = (struct hdac_stream *)stream; in hdac_hda_dai_set_stream()
H A Dhdac_hdmi.c445 struct hdac_stream *hstream; in hdac_hdmi_set_stream()
450 hstream = (struct hdac_stream *)stream; in hdac_hdmi_set_stream()
/linux/sound/hda/controllers/
H A Dintel.c724 struct hdac_stream *s; in azx_irq_pending_work()
765 struct hdac_stream *s; in azx_clear_irq_pending()