/kernel/linux/linux-6.6/sound/hda/ |
H A D | hdac_stream.c | 18 * the hdac_stream library is intended to be used with the following 94 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_assig [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 | 474 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() 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()
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | hdaudio.h | 27 struct hdac_stream; 335 /* hdac_stream linked list */ 409 struct hdac_stream *)); 511 struct hdac_stream { struct 567 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev, 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_de [all...] |
/kernel/linux/linux-5.10/sound/hda/ |
H A D | hdac_stream.c | 61 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev, in snd_hdac_stream_init() 84 void snd_hdac_stream_start(struct hdac_stream *azx_dev, bool fresh_start) in snd_hdac_stream_start() 128 void snd_hdac_stream_clear(struct hdac_stream *azx_dev) in snd_hdac_stream_clear() 165 void snd_hdac_stream_stop(struct hdac_stream *azx_dev) in snd_hdac_stream_stop() 181 struct hdac_stream *stream; in snd_hdac_stop_streams() 206 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) in snd_hdac_stream_setup() 337 void snd_hdac_stream_cleanup(struct hdac_stream *azx_dev) in snd_hdac_stream_cleanup() 359 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus, in snd_hdac_stream_assign() 362 struct hdac_stream *azx_de in snd_hdac_stream_assign() [all...] |
H A D | trace.h | 55 DECLARE_EVENT_CLASS(hdac_stream, 56 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev), 71 DEFINE_EVENT(hdac_stream, snd_hdac_stream_start, 72 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev), 76 DEFINE_EVENT(hdac_stream, snd_hdac_stream_stop, 77 TP_PROTO(struct hdac_bus *bus, struct hdac_stream *azx_dev),
|
H A D | hdac_controller.c | 490 struct hdac_stream *azx_dev; in azx_int_disable() 506 struct hdac_stream *azx_dev; in azx_int_clear() 600 struct hdac_stream *)) in snd_hdac_bus_handle_stream_irq() 602 struct hdac_stream *azx_dev; in snd_hdac_bus_handle_stream_irq() 637 struct hdac_stream *s; in snd_hdac_bus_alloc_stream_pages() 672 struct hdac_stream *s; in snd_hdac_bus_free_stream_pages()
|
/kernel/linux/linux-5.10/sound/soc/sof/intel/ |
H A D | hda-compress.c | 32 hdac_stream(stream)->curr_pos = 0; in hda_probe_compr_assign() 33 hdac_stream(stream)->cstream = cstream; in hda_probe_compr_assign() 36 return hdac_stream(stream)->stream_tag; in hda_probe_compr_assign() 47 hdac_stream(stream)->stream_tag); in hda_probe_compr_free() 53 hdac_stream(stream)->cstream = NULL; in hda_probe_compr_free() 65 struct hdac_stream *hstream = hdac_stream(stream); in hda_probe_compr_set_params() 110 tstamp->copied_total = hdac_stream(stream)->curr_pos; in hda_probe_compr_pointer()
|
H A D | hda-dai.c | 42 struct hdac_stream *fe_hstream; in hda_check_fes() 62 struct hdac_stream *stream = NULL; in hda_link_stream_assign() 124 struct hdac_stream *hstream = &stream->hstream; in hda_link_dma_params() 204 struct hdac_stream *hstream = substream->runtime->private_data; in hda_link_hw_params() 229 stream_tag = hdac_stream(link_dev)->stream_tag; in hda_link_hw_params() 239 /* set the hdac_stream in the codec dai */ in hda_link_hw_params() 240 snd_soc_dai_set_stream(codec_dai, hdac_stream(link_dev), substream->stream); in hda_link_hw_params() 285 struct hdac_stream *hstream; in hda_link_pcm_trigger() 328 stream_tag = hdac_stream(link_dev)->stream_tag; in hda_link_pcm_trigger() 351 struct hdac_stream *hstrea in hda_link_hw_free() [all...] |
H A D | hda-pcm.c | 89 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_hw_params() 141 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_trigger() 152 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_pointer() 236 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_close()
|
H A D | hda-stream.c | 33 struct hdac_stream *stream, in hda_setup_bdle() 84 struct hdac_stream *stream) in hda_dsp_stream_setup_bdl() 135 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_stream_spib_config() 163 struct hdac_stream *s; in hda_dsp_stream_get() 209 struct hdac_stream *s; in hda_dsp_stream_put() 252 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_stream_trigger() 333 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_iccmax_stream_hw_params() 404 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_stream_hw_params() 605 struct hdac_stream *stream = substream->runtime->private_data; in hda_dsp_stream_hw_free() 646 hda_dsp_set_bytes_transferred(struct hdac_stream *hstrea [all...] |
H A D | hda-trace.c | 26 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_trace_prepare() 74 struct hdac_stream *hstream; in hda_dsp_trace_release()
|
/kernel/linux/linux-6.6/sound/soc/sof/intel/ |
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 | 28 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 *hstrea in hda_dsp_iccmax_stream_hw_params() [all...] |
H A D | hda-pcm.c | 99 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()
|
H A D | hda-trace.c | 26 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_trace_prepare() 75 struct hdac_stream *hstream; in hda_dsp_trace_release()
|
H A D | hda-dai.c | 133 stream_tag = hdac_stream(hext_stream)->stream_tag; in hda_link_dma_cleanup() 154 struct hdac_stream *hstream; in hda_link_dma_hw_params() 186 /* set the hdac_stream in the codec dai */ 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()
|
/kernel/linux/linux-6.6/sound/soc/intel/avs/ |
H A D | probes.c | 72 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_strea in avs_probe_compr_set_params() [all...] |
H A D | pcm.c | 300 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_strea in __avs_dai_fe_hw_free() [all...] |
/kernel/linux/linux-5.10/include/sound/ |
H A D | hdaudio.h | 24 struct hdac_stream; 329 /* hdac_stream linked list */ 407 struct hdac_stream *)); 500 struct hdac_stream { struct 549 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev, 551 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus, 553 void snd_hdac_stream_release(struct hdac_stream *azx_dev); 554 struct hdac_stream *snd_hdac_get_stream(struct hdac_bus *bus, 557 int snd_hdac_stream_setup(struct hdac_stream *azx_dev); 558 void snd_hdac_stream_cleanup(struct hdac_stream *azx_de [all...] |
H A D | hdaudio_ext.h | 43 * @hstream: hdac_stream 57 struct hdac_stream hstream; 76 #define hdac_stream(s) (&(s)->hstream) macro
|
/kernel/linux/linux-5.10/sound/soc/intel/skylake/ |
H A D | skl-pcm.c | 65 struct hdac_stream *hstream = hdac_stream(stream); in get_bus_ctx() 76 hdac_stream(stream)->bufsize = 0; in skl_substream_alloc_pages() 77 hdac_stream(stream)->period_bytes = 0; in skl_substream_alloc_pages() 78 hdac_stream(stream)->format_val = 0; in skl_substream_alloc_pages() 128 struct hdac_stream *hstream; in skl_pcm_host_dma_prepare() 146 snd_hdac_stream_reset(hdac_stream(stream)); in skl_pcm_host_dma_prepare() 147 err = snd_hdac_stream_set_params(hdac_stream(stream), format_val); in skl_pcm_host_dma_prepare() 157 err = snd_hdac_stream_setup(hdac_stream(stream)); in skl_pcm_host_dma_prepare() 160 err = snd_hdac_stream_setup(hdac_stream(strea in skl_pcm_host_dma_prepare() [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/skylake/ |
H A D | skl-pcm.c | 66 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(strea in skl_pcm_host_dma_prepare() [all...] |
/kernel/linux/linux-6.6/sound/hda/ext/ |
H A D | hdac_ext_stream.c | 83 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()
|
/kernel/linux/linux-5.10/sound/hda/ext/ |
H A D | hdac_ext_stream.c | 97 struct hdac_stream *s, *_s; in snd_hdac_stream_free_all() 113 struct hdac_stream *hstream = &stream->hstream; in snd_hdac_ext_stream_decouple_locked() 209 struct hdac_stream *hstream = &stream->hstream; in snd_hdac_ext_link_stream_setup() 256 struct hdac_stream *stream = NULL; in hdac_ext_link_stream_assign() 296 struct hdac_stream *stream = NULL; in hdac_ext_host_stream_assign() 350 struct hdac_stream *stream = NULL; in snd_hdac_ext_stream_assign()
|