| /linux/sound/hda/core/ |
| H A D | 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() 171 static void snd_hdac_stream_clear(struct hdac_stream *azx_dev) in snd_hdac_stream_clear() 198 void snd_hdac_stream_stop(struct hdac_stream *azx_dev) in snd_hdac_stop_streams() 214 struct hdac_stream *stream; in snd_hdac_stop_streams_and_chip() 239 void snd_hdac_stream_reset(struct hdac_stream *azx_dev) in snd_hdac_stream_reset() 279 int snd_hdac_stream_setup(struct hdac_stream *azx_dev, bool code_loading) in snd_hdac_stream_setup() 361 void snd_hdac_stream_cleanup(struct hdac_stream *azx_dev) in snd_hdac_stream_assign() 383 struct hdac_stream *snd_hdac_stream_assig in snd_hdac_stream_assign() [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 | controller.c | 578 struct hdac_stream *azx_dev; in azx_int_disable() 594 struct hdac_stream *azx_dev; in azx_int_clear() 680 struct hdac_stream *)) in snd_hdac_bus_handle_stream_irq() 682 struct hdac_stream *azx_dev; in snd_hdac_bus_handle_stream_irq() 716 struct hdac_stream *s; in snd_hdac_bus_alloc_stream_pages() 763 struct hdac_stream *s; in snd_hdac_bus_link_power() 674 snd_hdac_bus_handle_stream_irq(struct hdac_bus * bus,unsigned int status,void (* ack)(struct hdac_bus *,struct hdac_stream *)) snd_hdac_bus_handle_stream_irq() argument
|
| /linux/include/sound/ |
| H A D | hdaudio.h | 28 struct hdac_stream; 415 struct hdac_stream *)); 517 struct hdac_stream { struct 573 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev, argument 575 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus, 577 void snd_hdac_stream_release_locked(struct hdac_stream *azx_dev); 578 void snd_hdac_stream_release(struct hdac_stream *azx_dev); 579 struct hdac_stream *snd_hdac_get_stream(struct hdac_bus *bus, 582 int snd_hdac_stream_setup(struct hdac_stream *azx_dev, bool code_loading); 583 void snd_hdac_stream_cleanup(struct hdac_stream *azx_dev); [all …]
|
| H A D | hdaudio_ext.h | 48 struct hdac_stream hstream; 65 int (*host_setup)(struct hdac_stream *, bool); 70 #define hdac_stream(s) (&(s)->hstream) macro
|
| /linux/sound/soc/sof/intel/ |
| H A D | hda-sdw-bpt.c | 131 struct hdac_stream *hstream; in hda_sdw_bpt_dma_prepare() 145 if (hdac_stream(bpt_stream)->direction == SNDRV_PCM_STREAM_PLAYBACK) { in hda_sdw_bpt_dma_prepare() 150 stream_tag = hdac_stream(bpt_stream)->stream_tag; in hda_sdw_bpt_dma_prepare() 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_stream)->direction, in hda_sdw_bpt_dma_enable() [all …]
|
| H A D | hda-stream.c | 34 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() 226 struct hdac_stream *s; in hda_dsp_stream_get() 300 struct hdac_stream *s; in hda_dsp_stream_put() 358 static int hda_dsp_stream_reset(struct snd_sof_dev *sdev, struct hdac_stream *hstream) in hda_dsp_stream_trigger() 400 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_stream_trigger() 488 struct hdac_stream *hstrea in hda_dsp_iccmax_stream_hw_params() [all...] |
| H A D | hda-pcm.c | 106 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() 348 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-ops.c | 31 struct hdac_stream *fe_hstream; in hda_check_fes() 54 struct hdac_stream *hstream = NULL; in hda_link_stream_assign() 245 struct hdac_stream *hstream) in dmic_calc_stream_format() 250 /* set the hdac_stream in the codec dai */ in dmic_calc_stream_format() 623 struct hdac_stream *hstream = substream->runtime->private_data; in hda_select_dai_widget_ops()
|
| H A D | hda-loader.c | 188 struct hdac_stream *hstream = &hext_stream->hstream; in cl_dsp_init()
|
| H A D | hda-ipc.c | 410 struct hdac_stream *hstream = substream->runtime->private_data; in hda_ipc_msg_data() 433 struct hdac_stream *hstream = substream->runtime->private_data;
|
| /linux/sound/soc/intel/avs/ |
| H A D | probes.c | 81 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_strea in avs_probe_compr_set_params() [all...] |
| H A D | pcm.c | 423 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_strea in __avs_dai_fe_hw_free() [all...] |
| H A D | loader.c | 366 struct hdac_stream *hstream; in avs_hda_load_basefw() 378 hstream = hdac_stream(estream); in avs_hda_load_basefw() 434 struct hdac_stream *stream; in avs_hda_load_library() 446 stream = hdac_stream(estream); in avs_hda_load_library()
|
| /linux/sound/hda/core/ext/ |
| H A D | 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() 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 *hstrea in snd_hdac_ext_cstream_assign() [all...] |
| /linux/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/sound/hda/common/ |
| H A D | controller.c | 46 struct hdac_stream *s; in azx_assign_device() 117 struct hdac_stream *hdas = azx_stream(azx_dev); in azx_pcm_hw_params() 210 struct hdac_stream *hstr; in azx_pcm_trigger() 945 struct hdac_stream *s; in azx_get_dsp_loader_dev() 961 struct hdac_stream *hstr; in snd_hda_codec_load_dsp_prepare() 1003 struct hdac_stream *hstr = azx_stream(azx_dev); in snd_hda_codec_load_dsp_cleanup() 1047 static void stream_update(struct hdac_bus *bus, struct hdac_stream *s) in stream_update() 1300 struct hdac_stream *s; in azx_init_streams() 1303 s = list_first_entry(&bus->stream_list, struct hdac_stream, list); in azx_init_streams()
|
| H A D | hda_controller.h | 58 struct hdac_stream core;
|
| /linux/sound/soc/codecs/ |
| H A D | hda-dai.c | 76 struct hdac_stream *stream; in hda_codec_dai_prepare()
|
| H A D | hdac_hda.c | 199 struct hdac_stream *hstream; in hdac_hda_dai_set_stream() 206 hstream = (struct hdac_stream *)stream; in hdac_hda_dai_set_stream()
|
| H A D | hdac_hdmi.c | 446 struct hdac_stream *hstream; in hdac_hdmi_set_stream() 451 hstream = (struct hdac_stream *)stream; in hdac_hdmi_set_stream()
|
| /linux/sound/hda/controllers/ |
| H A D | intel.c | 785 struct hdac_stream *s; in azx_clear_irq_pending()
|