/Linux-v6.1/sound/soc/intel/skylake/ |
D | bxt-sst.c | 51 int ret = 0, i, dma_id, stream_tag; in bxt_load_library() local 60 stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, in bxt_load_library() 62 if (stream_tag <= 0) { in bxt_load_library() 64 stream_tag); in bxt_load_library() 65 ret = stream_tag; in bxt_load_library() 69 dma_id = stream_tag - 1; in bxt_load_library() 72 ctx->dsp_ops.trigger(ctx->dev, true, stream_tag); in bxt_load_library() 78 ctx->dsp_ops.trigger(ctx->dev, false, stream_tag); in bxt_load_library() 79 ctx->dsp_ops.cleanup(ctx->dev, &dmab, stream_tag); in bxt_load_library() 97 int stream_tag, ret; in sst_bxt_prepare_fw() local [all …]
|
D | cnl-sst.c | 49 int ret, stream_tag; in cnl_prepare_fw() local 51 stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, fwsize, &ctx->dmab); in cnl_prepare_fw() 52 if (stream_tag <= 0) { in cnl_prepare_fw() 53 dev_err(ctx->dev, "dma prepare failed: 0%#x\n", stream_tag); in cnl_prepare_fw() 54 return stream_tag; in cnl_prepare_fw() 57 ctx->dsp_ops.stream_tag = stream_tag; in cnl_prepare_fw() 70 ((stream_tag - 1) << CNL_ROM_CTRL_DMA_ID))); in cnl_prepare_fw() 103 ctx->dsp_ops.cleanup(ctx->dev, &ctx->dmab, stream_tag); in cnl_prepare_fw() 113 ctx->dsp_ops.trigger(ctx->dev, true, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma() 118 ctx->dsp_ops.trigger(ctx->dev, false, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma() [all …]
|
D | skl-pcm.c | 178 unsigned char stream_tag; in skl_pcm_link_dma_prepare() local 197 stream_tag = hstream->stream_tag; in skl_pcm_link_dma_prepare() 202 stream_tag); in skl_pcm_link_dma_prepare() 245 dma_params->stream_tag = hdac_stream(stream)->stream_tag; in skl_pcm_open() 249 dma_params->stream_tag); in skl_pcm_open() 316 dma_id = hdac_stream(stream)->stream_tag - 1; in skl_pcm_hw_params() 552 int stream_tag; in skl_link_hw_params() local 565 stream_tag = hdac_stream(link_dev)->stream_tag; in skl_link_hw_params() 575 p_params.link_dma_id = stream_tag - 1; in skl_link_hw_params() 640 unsigned char stream_tag; in skl_link_hw_free() local [all …]
|
D | skl-sst-dsp.h | 156 int stream_tag; member 165 int (*trigger)(struct device *dev, bool start, int stream_tag); 168 int stream_tag);
|
D | skl-messages.c | 51 int stream_tag, int enable) in skl_dsp_setup_spib() argument 55 SNDRV_PCM_STREAM_PLAYBACK, stream_tag); in skl_dsp_setup_spib() 98 skl_dsp_setup_spib(dev, size, stream->stream_tag, true); in skl_dsp_prepare() 100 return stream->stream_tag; in skl_dsp_prepare() 103 static int skl_dsp_trigger(struct device *dev, bool start, int stream_tag) in skl_dsp_trigger() argument 112 SNDRV_PCM_STREAM_PLAYBACK, stream_tag); in skl_dsp_trigger() 122 struct snd_dma_buffer *dmab, int stream_tag) in skl_dsp_cleanup() argument 132 SNDRV_PCM_STREAM_PLAYBACK, stream_tag); in skl_dsp_cleanup() 137 skl_dsp_setup_spib(dev, 0, stream_tag, false); in skl_dsp_cleanup()
|
/Linux-v6.1/sound/soc/sof/amd/ |
D | acp-stream.c | 31 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()
|
D | acp-pcm.c | 41 platform_params->stream_tag = stream->stream_tag; in acp_pcm_hw_params() 47 index = stream->stream_tag - 1; in acp_pcm_hw_params()
|
D | acp-trace.c | 59 dtrace_params->stream_tag = stream->stream_tag; in acp_sof_trace_init()
|
/Linux-v6.1/sound/soc/sof/intel/ |
D | hda-trace.c | 54 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() 81 hstream->stream_tag); in hda_dsp_trace_release()
|
D | hda-dai.c | 49 int dir, int stream_tag) in hda_check_fes() argument 58 if (fe_hstream->stream_tag == stream_tag) in hda_check_fes() 111 hstream->stream_tag)) { in hda_link_stream_assign() 150 int stream_tag; in hda_link_dma_cleanup() local 160 stream_tag = hdac_stream(hext_stream)->stream_tag; in hda_link_dma_cleanup() 161 snd_hdac_ext_link_clear_stream_id(link, stream_tag); in hda_link_dma_cleanup() 178 unsigned char stream_tag = hstream->stream_tag; in hda_link_dma_params() local 198 stream_tag); in hda_link_dma_params() 327 int stream_tag; in hda_dai_hw_params_update() local 333 stream_tag = hdac_stream(hext_stream)->stream_tag; in hda_dai_hw_params_update() [all …]
|
D | hda-stream.c | 49 hstream->stream_tag); in hda_hstream_dbg_get_stream_info_str() 53 hstream->stream_tag); in hda_hstream_dbg_get_stream_info_str() 234 int hda_dsp_stream_put(struct snd_sof_dev *sdev, int direction, int stream_tag) in hda_dsp_stream_put() argument 256 if (s->direction == direction && s->stream_tag == stream_tag) { in hda_dsp_stream_put() 273 __func__, stream_tag); in hda_dsp_stream_put() 580 hstream->stream_tag << in hda_dsp_stream_hw_params() 903 hstream->stream_tag = i + 1; in hda_dsp_stream_init() 959 hstream->stream_tag = i - num_capture + 1; in hda_dsp_stream_init()
|
D | hda-loader.c | 93 hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in hda_cl_stream_prepare() 102 int cl_dsp_init(struct snd_sof_dev *sdev, int stream_tag, bool imr_boot) in cl_dsp_init() argument 125 ipc_hdr |= HDA_DSP_ROM_IPC_PURGE_FW | ((stream_tag - 1) << 9); in cl_dsp_init() 260 hda_dsp_stream_put(sdev, hstream->direction, hstream->stream_tag); in hda_cl_cleanup() 438 ret = chip_info->cl_init(sdev, hext_stream->hstream.stream_tag, false); in hda_dsp_cl_boot_firmware()
|
D | hda-pcm.c | 136 platform_params->stream_tag = hstream->stream_tag; in hda_dsp_pcm_hw_params() 265 ret = hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in hda_dsp_pcm_close()
|
D | hda-probes.c | 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()
|
/Linux-v6.1/sound/pci/hda/ |
D | hda_controller_trace.h | 64 __field( unsigned char, stream_tag ) 68 __entry->stream_tag = (azx_dev)->core.stream_tag; 71 TP_printk("stream_tag: %d", __entry->stream_tag)
|
D | hda_codec.c | 679 u8 stream_tag; member 1092 u32 stream_tag, int channel_id) in update_pcm_stream_id() argument 1096 if (p->stream_tag != stream_tag || p->channel_id != channel_id) { in update_pcm_stream_id() 1098 newval = (stream_tag << 4) | channel_id; in update_pcm_stream_id() 1103 p->stream_tag = stream_tag; in update_pcm_stream_id() 1136 u32 stream_tag, in snd_hda_codec_setup_stream() argument 1149 nid, stream_tag, channel_id, format); in snd_hda_codec_setup_stream() 1158 update_pcm_stream_id(codec, p, nid, stream_tag, channel_id); in snd_hda_codec_setup_stream() 1169 if (!p->active && p->stream_tag == stream_tag && in snd_hda_codec_setup_stream() 1216 if (q->stream_tag || q->channel_id) in really_cleanup_stream() [all …]
|
D | patch_si3054.c | 137 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-v6.1/sound/hda/ |
D | trace.h | 72 __field(unsigned char, stream_tag) 76 __entry->stream_tag = (azx_dev)->stream_tag; 79 TP_printk("stream_tag: %d", __entry->stream_tag)
|
D | hdac_stream.c | 103 azx_dev->stream_tag = tag; in snd_hdac_stream_init() 255 (azx_dev->stream_tag << SD_CTL_STREAM_TAG_SHIFT); in snd_hdac_stream_setup() 408 int dir, int stream_tag) in snd_hdac_get_stream() argument 413 if (s->direction == dir && s->stream_tag == stream_tag) in snd_hdac_get_stream() 773 return azx_dev->stream_tag; in snd_hdac_dsp_prepare()
|
/Linux-v6.1/include/sound/sof/ |
D | trace.h | 26 uint32_t stream_tag; member 33 uint32_t stream_tag; member
|
/Linux-v6.1/sound/soc/sof/ |
D | sof-client-probes.c | 44 unsigned int stream_tag; member 48 unsigned int stream_tag; member 93 static int sof_probes_init(struct sof_client_dev *cdev, u32 stream_tag, in sof_probes_init() argument 107 msg->dma[0].stream_tag = stream_tag; in sof_probes_init() 456 desc[i].buffer_id, desc[i].purpose, desc[i].stream_tag); in sof_probes_dfs_points_read()
|
D | ipc3-pcm.c | 102 pcm.params.stream_tag = platform_params->stream_tag; in sof_ipc3_pcm_hw_params() 121 dev_dbg(component->dev, "stream_tag %d", pcm.params.stream_tag); in sof_ipc3_pcm_hw_params() 128 pcm.params.stream_tag); in sof_ipc3_pcm_hw_params()
|
/Linux-v6.1/sound/soc/intel/avs/ |
D | cldma.c | 17 #define AZX_SD_CTL_STRM(s) (((s)->stream_tag << 20) & AZX_SD_CTL_STRM_MASK) 38 unsigned int stream_tag; member 55 .stream_tag = AVS_CL_STREAM_INDEX + 1,
|
/Linux-v6.1/sound/soc/codecs/ |
D | hdac_hda.h | 21 int stream_tag[2]; member
|
/Linux-v6.1/sound/hda/ext/ |
D | hdac_ext_stream.c | 71 int stream_tag = 0; in snd_hdac_ext_stream_init_all() local 79 tag = ++stream_tag; in snd_hdac_ext_stream_init_all() 216 (hstream->stream_tag << AZX_PPLCCTL_STRM_SHIFT); in snd_hdac_ext_link_stream_setup()
|