Home
last modified time | relevance | path

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

12

/linux/sound/soc/sof/intel/
H A Dhda-sdw-bpt.c32 static int chain_dma_trigger(struct snd_sof_dev *sdev, unsigned int stream_tag, in chain_dma_trigger() argument
69 dma_id = stream_tag - 1; in chain_dma_trigger()
136 int stream_tag; in hda_sdw_bpt_dma_prepare() local
138 stream_tag = hdac_stream(bpt_stream)->stream_tag; in hda_sdw_bpt_dma_prepare()
141 snd_hdac_ext_bus_link_set_stream_id(hlink, stream_tag); in hda_sdw_bpt_dma_prepare()
164 int stream_tag; in hda_sdw_bpt_dma_deprepare() local
166 stream_tag = hdac_stream(sdw_bpt_stream)->stream_tag; in hda_sdw_bpt_dma_deprepare()
169 snd_hdac_ext_bus_link_clear_stream_id(hlink, stream_tag); in hda_sdw_bpt_dma_deprepare()
174 ret = chain_dma_trigger(sdev, hdac_stream(sdw_bpt_stream)->stream_tag, in hda_sdw_bpt_dma_deprepare()
202 ret = chain_dma_trigger(sdev, hdac_stream(sdw_bpt_stream)->stream_tag, in hda_sdw_bpt_dma_enable()
[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-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()
623 msg.primary = hext_stream->hstream.stream_tag - 1; in hda_dsp_ipc4_load_library()
H A Dhda-pcm.c148 platform_params->stream_tag = hstream->stream_tag; in hda_dsp_pcm_hw_params()
342 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/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()
/linux/sound/hda/common/
H A Dcontroller_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)
/linux/sound/hda/core/
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 Dstream.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()
435 int dir, int stream_tag) in snd_hdac_get_stream() argument
440 if (s->direction == dir && s->stream_tag == stream_tag) in snd_hdac_get_stream()
949 return azx_dev->stream_tag; in snd_hdac_dsp_prepare()
/linux/include/sound/sof/
H A Dtrace.h26 uint32_t stream_tag; member
33 uint32_t stream_tag; member
H A Dstream.h81 uint16_t stream_tag; member
/linux/sound/hda/codecs/
H A Dsi3054.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/sound/hda/codecs/hdmi/
H A Dhdmi_local.h74 hda_nid_t pin_nid, int dev_id, u32 stream_tag,
259 u32 stream_tag, int format);
263 unsigned int stream_tag,
H A Dnvhdmi-mcp.c123 unsigned int stream_tag, in nvhdmi_8ch_7x_pcm_prepare() argument
152 AC_VERB_SET_CHANNEL_STREAMID, (stream_tag << 4) | 0x0); in nvhdmi_8ch_7x_pcm_prepare()
193 (stream_tag << 4) | channel_id); in nvhdmi_8ch_7x_pcm_prepare()
H A Dtegrahdmi.c135 unsigned int stream_tag, in tegra_hdmi_pcm_prepare() argument
141 err = snd_hda_hdmi_generic_pcm_prepare(hinfo, codec, stream_tag, in tegra_hdmi_pcm_prepare()
H A Dsimplehdmi.c150 unsigned int stream_tag, in simple_playback_pcm_prepare() argument
157 stream_tag, format, substream); in simple_playback_pcm_prepare()
H A Datihdmi.c468 u32 stream_tag, int format) in atihdmi_setup_stream() argument
480 stream_tag, format); in atihdmi_setup_stream()
/linux/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/sound/soc/codecs/
H A Dhdac_hda.h21 int stream_tag[2]; member
H A Dhdac_hda.c208 pcm->stream_tag[direction] = hstream->stream_tag; in hdac_hda_dai_set_stream()
282 stream = hda_pvt->pcm[dai->id].stream_tag[substream->stream]; in hdac_hda_dai_prepare()
H A Dhda-dai.c90 ret = snd_hda_codec_prepare(codec, stream_info, stream->stream_tag, format, substream); in hda_codec_dai_prepare()
/linux/include/sound/
H A Dhdaudio_ext.h143 u8 stream_tag; member

12