Home
last modified time | relevance | path

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

123

/linux-6.6.21/sound/soc/intel/skylake/ !
Dbxt-sst.c51 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 …]
Dcnl-sst.c49 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 …]
Dskl-pcm.c179 unsigned char stream_tag; in skl_pcm_link_dma_prepare() local
198 stream_tag = hstream->stream_tag; in skl_pcm_link_dma_prepare()
203 stream_tag); in skl_pcm_link_dma_prepare()
246 dma_params->stream_tag = hdac_stream(stream)->stream_tag; in skl_pcm_open()
250 dma_params->stream_tag); in skl_pcm_open()
319 dma_id = hdac_stream(stream)->stream_tag - 1; in skl_pcm_hw_params()
554 int stream_tag; in skl_link_hw_params() local
567 stream_tag = hdac_stream(link_dev)->stream_tag; in skl_link_hw_params()
577 p_params.link_dma_id = stream_tag - 1; in skl_link_hw_params()
642 unsigned char stream_tag; in skl_link_hw_free() local
[all …]
Dskl-sst-dsp.h156 int stream_tag; member
165 int (*trigger)(struct device *dev, bool start, int stream_tag);
168 int stream_tag);
/linux-6.6.21/sound/soc/sof/amd/ !
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()
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()
Dacp-trace.c59 dtrace_params->stream_tag = stream->stream_tag; in acp_sof_trace_init()
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.6.21/sound/soc/sof/intel/ !
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()
81 hstream->stream_tag); in hda_dsp_trace_release()
Dhda-dai.c119 int stream_tag; in hda_link_dma_cleanup() local
133 stream_tag = hdac_stream(hext_stream)->stream_tag; in hda_link_dma_cleanup()
134 snd_hdac_ext_bus_link_clear_stream_id(hlink, stream_tag); in hda_link_dma_cleanup()
157 int stream_tag; in hda_link_dma_hw_params() local
181 stream_tag = hstream->stream_tag; in hda_link_dma_hw_params()
184 snd_hdac_ext_bus_link_set_stream_id(hlink, stream_tag); in hda_link_dma_hw_params()
251 data.dai_data = hdac_stream(hext_stream)->stream_tag - 1; in hda_dai_hw_params()
381 stream_id = hstream->stream_tag; in non_hda_dai_hw_params()
458 hdac_stream(hext_stream)->stream_tag, in sdw_hda_dai_hw_params()
Dhda-stream.c48 hstream->stream_tag); in hda_hstream_dbg_get_stream_info_str()
52 hstream->stream_tag); in hda_hstream_dbg_get_stream_info_str()
238 int hda_dsp_stream_put(struct snd_sof_dev *sdev, int direction, int stream_tag) in hda_dsp_stream_put() argument
262 if (s->direction == direction && s->stream_tag == stream_tag) { in hda_dsp_stream_put()
281 __func__, stream_tag); in hda_dsp_stream_put()
600 hstream->stream_tag << in hda_dsp_stream_hw_params()
916 hstream->stream_tag = i + 1; in hda_dsp_stream_init()
919 hstream->stream_tag = i - num_capture + 1; in hda_dsp_stream_init()
Dhda-loader.c95 hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in hda_cl_stream_prepare()
104 int cl_dsp_init(struct snd_sof_dev *sdev, int stream_tag, bool imr_boot) in cl_dsp_init() argument
127 ipc_hdr |= HDA_DSP_ROM_IPC_PURGE_FW | ((stream_tag - 1) << 9); in cl_dsp_init()
262 hda_dsp_stream_put(sdev, hstream->direction, hstream->stream_tag); in hda_cl_cleanup()
439 ret = chip_info->cl_init(sdev, hext_stream->hstream.stream_tag, false); in hda_dsp_cl_boot_firmware()
548 msg.primary = hext_stream->hstream.stream_tag - 1; in hda_dsp_ipc4_load_library()
Dhda-pcm.c141 platform_params->stream_tag = hstream->stream_tag; in hda_dsp_pcm_hw_params()
274 ret = hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in hda_dsp_pcm_close()
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()
/linux-6.6.21/sound/hda/ !
Dtrace.h72 __field(unsigned char, stream_tag)
76 __entry->stream_tag = (azx_dev)->stream_tag;
79 TP_printk("stream_tag: %d", __entry->stream_tag)
Dhdac_stream.c104 azx_dev->stream_tag = tag; in snd_hdac_stream_init()
271 (azx_dev->stream_tag << SD_CTL_STREAM_TAG_SHIFT); in snd_hdac_stream_setup()
426 int dir, int stream_tag) in snd_hdac_get_stream() argument
431 if (s->direction == dir && s->stream_tag == stream_tag) in snd_hdac_get_stream()
947 return azx_dev->stream_tag; in snd_hdac_dsp_prepare()
/linux-6.6.21/sound/pci/hda/ !
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)
Dhda_codec.c679 u8 stream_tag; member
1091 u32 stream_tag, int channel_id) in update_pcm_stream_id() argument
1095 if (p->stream_tag != stream_tag || p->channel_id != channel_id) { in update_pcm_stream_id()
1097 newval = (stream_tag << 4) | channel_id; in update_pcm_stream_id()
1102 p->stream_tag = stream_tag; in update_pcm_stream_id()
1135 u32 stream_tag, in snd_hda_codec_setup_stream() argument
1148 nid, stream_tag, channel_id, format); in snd_hda_codec_setup_stream()
1157 update_pcm_stream_id(codec, p, nid, stream_tag, channel_id); in snd_hda_codec_setup_stream()
1168 if (!p->active && p->stream_tag == stream_tag && in snd_hda_codec_setup_stream()
1215 if (q->stream_tag || q->channel_id) in really_cleanup_stream()
[all …]
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.6.21/sound/soc/sof/ !
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()
219 points[i].stream_tag = desc[i].stream_tag; in ipc4_probes_points_add()
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()
Dsof-client-probes.h34 unsigned int stream_tag; member
38 int (*init)(struct sof_client_dev *cdev, u32 stream_tag,
/linux-6.6.21/include/sound/sof/ !
Dtrace.h26 uint32_t stream_tag; member
33 uint32_t stream_tag; member
/linux-6.6.21/sound/soc/intel/avs/ !
Dcldma.c17 #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-6.6.21/sound/hda/ext/ !
Dhdac_ext_stream.c58 int stream_tag = 0; in snd_hdac_ext_stream_init_all() local
66 tag = ++stream_tag; in snd_hdac_ext_stream_init_all()
203 (hstream->stream_tag << AZX_PPLCCTL_STRM_SHIFT); in snd_hdac_ext_stream_setup()

123