Home
last modified time | relevance | path

Searched refs:stream_tag (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.15/sound/soc/sof/intel/
H A Dhda-sdw-bpt.c68 dma_id = stream_tag - 1; in chain_dma_trigger()
135 int stream_tag; in hda_sdw_bpt_dma_prepare() local
137 stream_tag = hdac_stream(bpt_stream)->stream_tag; in hda_sdw_bpt_dma_prepare()
140 snd_hdac_ext_bus_link_set_stream_id(hlink, stream_tag); in hda_sdw_bpt_dma_prepare()
163 int stream_tag; in hda_sdw_bpt_dma_deprepare() local
165 stream_tag = hdac_stream(sdw_bpt_stream)->stream_tag; in hda_sdw_bpt_dma_deprepare()
168 snd_hdac_ext_bus_link_clear_stream_id(hlink, 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()
201 ret = chain_dma_trigger(sdev, hdac_stream(sdw_bpt_stream)->stream_tag, in hda_sdw_bpt_dma_enable()
280 hdac_stream(*bpt_tx_stream)->stream_tag, in hda_sdw_bpt_open()
[all …]
H A Dhda-trace.c54 dtrace_params->stream_tag = hda->dtrace_stream->hstream.stream_tag; in hda_dsp_trace_init()
64 dtrace_params->stream_tag); in hda_dsp_trace_init()
66 dtrace_params->stream_tag = 0; in hda_dsp_trace_init()
82 hstream->stream_tag); in hda_dsp_trace_release()
H A Dhda-dai.c115 int stream_tag; in hda_link_dma_cleanup() local
129 stream_tag = hdac_stream(hext_stream)->stream_tag; in hda_link_dma_cleanup()
130 snd_hdac_ext_bus_link_clear_stream_id(hlink, stream_tag); in hda_link_dma_cleanup()
164 int stream_tag; in hda_link_dma_hw_params() local
188 stream_tag = hstream->stream_tag; in hda_link_dma_hw_params()
191 snd_hdac_ext_bus_link_set_stream_id(hlink, stream_tag); in hda_link_dma_hw_params()
258 data->dai_data = hdac_stream(hext_stream)->stream_tag - 1; in hda_dai_hw_params_data()
414 stream_id = hstream->stream_tag; in non_hda_dai_hw_params_data()
568 hdac_stream(hext_stream)->stream_tag, in sdw_hda_dai_hw_params()
H A Dhda-stream.c54 hstream->stream_tag); in hda_hstream_dbg_get_stream_info_str()
58 hstream->stream_tag); in hda_hstream_dbg_get_stream_info_str()
268 int hda_dsp_stream_put(struct snd_sof_dev *sdev, int direction, int stream_tag) in hda_dsp_stream_put() argument
292 if (s->direction == direction && s->stream_tag == stream_tag) { in hda_dsp_stream_put()
311 __func__, stream_tag); in hda_dsp_stream_put()
630 hstream->stream_tag << in hda_dsp_stream_hw_params()
965 hstream->stream_tag = i + 1; in hda_dsp_stream_init()
968 hstream->stream_tag = i - num_capture + 1; in hda_dsp_stream_init()
H A Dhda-loader.c113 hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in hda_cl_prepare()
123 int cl_dsp_init(struct snd_sof_dev *sdev, int stream_tag, bool imr_boot) in cl_dsp_init() argument
146 ipc_hdr |= HDA_DSP_ROM_IPC_PURGE_FW | ((stream_tag - 1) << 9); in cl_dsp_init()
289 hda_dsp_stream_put(sdev, hstream->direction, hstream->stream_tag); in hda_cl_cleanup()
491 ret = chip_info->cl_init(sdev, hext_stream->hstream.stream_tag, false); in hda_dsp_cl_boot_firmware()
620 msg.primary = hext_stream->hstream.stream_tag - 1; in hda_dsp_ipc4_load_library()
H A Dhda-probes.c43 *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()
H A Dhda-pcm.c146 platform_params->stream_tag = hstream->stream_tag; in hda_dsp_pcm_hw_params()
329 ret = hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in hda_dsp_pcm_close()
H A Dhda-dai-ops.c28 int dir, int stream_tag) in hda_check_fes() argument
37 if (fe_hstream->stream_tag == stream_tag) in hda_check_fes()
89 hstream->stream_tag)) { in hda_link_stream_assign()
/linux-6.15/sound/soc/sof/amd/
H A Dacp-stream.c31 int stream_tag = stream->stream_tag; in acp_dsp_stream_config() local
36 switch (stream_tag) { in acp_dsp_stream_config()
86 dev_err(sdev->dev, "Invalid stream tag %d\n", stream_tag); in acp_dsp_stream_config()
94 index = stream_tag - 1; in acp_dsp_stream_config()
144 if (stream->stream_tag == tag) { in acp_dsp_stream_get()
170 dev_err(sdev->dev, "Cannot find active stream tag %d\n", acp_stream->stream_tag); in acp_dsp_stream_put()
183 adata->stream_buf[i].stream_tag = i + 1; in acp_dsp_stream_init()
H A Dacp-pcm.c41 platform_params->stream_tag = stream->stream_tag; in acp_pcm_hw_params()
48 index = stream->stream_tag - 1; in acp_pcm_hw_params()
H A Dacp-trace.c59 dtrace_params->stream_tag = stream->stream_tag; in acp_sof_trace_init()
H A Dacp-probes.c40 *stream_id = stream->stream_tag; in acp_probes_compr_startup()
93 index = stream->stream_tag - 1; in acp_probes_compr_set_params()
/linux-6.15/sound/hda/
H A Dtrace.h72 __field(unsigned char, stream_tag)
76 __entry->stream_tag = (azx_dev)->stream_tag;
79 TP_printk("stream_tag: %d", __entry->stream_tag)
H A Dhdac_stream.c104 azx_dev->stream_tag = tag; in snd_hdac_stream_init()
274 (azx_dev->stream_tag << SD_CTL_STREAM_TAG_SHIFT); in snd_hdac_stream_setup()
437 int dir, int stream_tag) in snd_hdac_get_stream() argument
442 if (s->direction == dir && s->stream_tag == stream_tag) in snd_hdac_get_stream()
974 return azx_dev->stream_tag; in snd_hdac_dsp_prepare()
/linux-6.15/sound/pci/hda/
H A Dhda_controller_trace.h64 __field( unsigned char, stream_tag )
68 __entry->stream_tag = (azx_dev)->core.stream_tag;
71 TP_printk("stream_tag: %d", __entry->stream_tag)
H A Dhda_codec.c677 u8 stream_tag; member
1091 if (p->stream_tag != stream_tag || p->channel_id != channel_id) { in update_pcm_stream_id()
1098 p->stream_tag = stream_tag; in update_pcm_stream_id()
1131 u32 stream_tag, in snd_hda_codec_setup_stream() argument
1164 if (!p->active && p->stream_tag == stream_tag && in snd_hda_codec_setup_stream()
1244 if (p->stream_tag) in hda_cleanup_all_streams()
3141 unsigned int stream_tag, in hda_pcm_default_prepare() argument
3687 unsigned int stream_tag, in snd_hda_multi_out_dig_prepare() argument
3815 stream_tag, format); in snd_hda_multi_out_analog_prepare()
3836 stream_tag, 0, format); in snd_hda_multi_out_analog_prepare()
[all …]
H A Dpatch_si3054.c137 unsigned int stream_tag, in si3054_pcm_prepare() argument
146 val |= ((stream_tag & 0xf) << 4) << (8 * (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)); in si3054_pcm_prepare()
150 stream_tag, 0, format); in si3054_pcm_prepare()
/linux-6.15/sound/soc/sof/
H A Dsof-client-probes-ipc4.c55 u32 stream_tag; member
106 static int ipc4_probes_init(struct sof_client_dev *cdev, u32 stream_tag, in ipc4_probes_init() argument
117 cfg.gtw_cfg.node_id = SOF_IPC4_PROBE_NODE_ID_INDEX(stream_tag - 1) | in ipc4_probes_init()
220 points[i].stream_tag = desc[i].stream_tag; in ipc4_probes_points_add()
H A Dsof-client-probes-ipc3.c18 unsigned int stream_tag; member
63 static int ipc3_probes_init(struct sof_client_dev *cdev, u32 stream_tag, in ipc3_probes_init() argument
76 msg->dma[0].stream_tag = stream_tag; in ipc3_probes_init()
H A Dsof-client-probes.h34 unsigned int stream_tag; member
38 int (*init)(struct sof_client_dev *cdev, u32 stream_tag,
H A Dipc3-pcm.c101 pcm.params.stream_tag = platform_params->stream_tag; in sof_ipc3_pcm_hw_params()
121 pcm.params.stream_tag); in sof_ipc3_pcm_hw_params()
129 pcm.params.stream_tag); in sof_ipc3_pcm_hw_params()
/linux-6.15/include/sound/sof/
H A Dtrace.h26 uint32_t stream_tag; member
33 uint32_t stream_tag; member
/linux-6.15/sound/soc/intel/avs/
H A Dcldma.c17 #define AZX_SD_CTL_STRM(s) (((s)->stream_tag << 20) & AZX_SD_CTL_STRM_MASK)
38 unsigned char stream_tag; member
55 .stream_tag = AVS_CL_STREAM_INDEX + 1,
/linux-6.15/sound/soc/codecs/
H A Dhdac_hda.h21 int stream_tag[2]; member
/linux-6.15/sound/hda/ext/
H A Dhdac_ext_stream.c95 int stream_tag = 0; in snd_hdac_ext_stream_init_all() local
108 tag = ++stream_tag; in snd_hdac_ext_stream_init_all()
246 (hstream->stream_tag << AZX_PPLCCTL_STRM_SHIFT); in snd_hdac_ext_stream_setup()

12