/kernel/linux/linux-5.10/sound/soc/intel/skylake/ |
H A 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, re in sst_bxt_prepare_fw() local [all...] |
H A 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() [all...] |
H A 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() 318 dma_id = hdac_stream(stream)->stream_tag - 1; in skl_pcm_hw_params() 553 int stream_tag; in skl_link_hw_params() local 566 stream_tag in skl_link_hw_params() 640 unsigned char stream_tag; skl_link_hw_free() local [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/skylake/ |
H A 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, re in sst_bxt_prepare_fw() local [all...] |
H A 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() [all...] |
H A D | skl-pcm.c | 179 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 in skl_link_hw_params() 642 unsigned char stream_tag; skl_link_hw_free() local [all...] |
/kernel/linux/linux-5.10/sound/soc/sof/intel/ |
H A D | hda-dai.c | 35 * to the link DMA stream_tag argument is assigned to one 39 int dir, int stream_tag) in hda_check_fes() 48 if (fe_hstream->stream_tag == stream_tag) in hda_check_fes() 88 stream->stream_tag)) { in hda_link_stream_assign() 125 unsigned char stream_tag = hstream->stream_tag; in hda_link_dma_params() local 146 stream_tag); in hda_link_dma_params() 212 int stream_tag; in hda_link_hw_params() local 229 stream_tag in hda_link_hw_params() 38 hda_check_fes(struct snd_soc_pcm_runtime *rtd, int dir, int stream_tag) hda_check_fes() argument 287 int stream_tag; hda_link_pcm_trigger() local 347 unsigned int stream_tag; hda_link_hw_free() local [all...] |
H A D | hda-trace.c | 40 int hda_dsp_trace_init(struct snd_sof_dev *sdev, u32 *stream_tag) in hda_dsp_trace_init() argument 54 *stream_tag = hda->dtrace_stream->hstream.stream_tag; in hda_dsp_trace_init() 63 hda_dsp_stream_put(sdev, SNDRV_PCM_STREAM_CAPTURE, *stream_tag); in hda_dsp_trace_init() 65 *stream_tag = 0; in hda_dsp_trace_init() 80 hstream->stream_tag); in hda_dsp_trace_release()
|
H A D | hda-pcm.c | 133 ipc_params->stream_tag = hstream->stream_tag; in hda_dsp_pcm_hw_params() 240 ret = hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in hda_dsp_pcm_close()
|
/kernel/linux/linux-6.6/sound/soc/sof/amd/ |
H A 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()
|
H A D | acp-pcm.c | 41 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 D | acp-trace.c | 59 dtrace_params->stream_tag = stream->stream_tag; in acp_sof_trace_init()
|
/kernel/linux/linux-5.10/sound/soc/sof/ |
H A D | probe.h | 21 unsigned int stream_tag; member 33 unsigned int stream_tag; member 54 unsigned int stream_tag[]; member 70 u32 stream_tag, size_t buffer_size); 77 unsigned int *stream_tag, size_t num_stream_tag);
|
H A D | probe.c | 17 * @stream_tag: Extractor stream tag 29 u32 stream_tag, size_t buffer_size) in sof_ipc_probe_init() 42 msg->dma[0].stream_tag = stream_tag; in sof_ipc_probe_init() 175 * @stream_tag: List of stream tags to detach from 176 * @num_stream_tag: Number of elements in @stream_tag 184 unsigned int *stream_tag, size_t num_stream_tag) in sof_ipc_probe_dma_remove() 188 size_t size = struct_size(msg, stream_tag, num_stream_tag); in sof_ipc_probe_dma_remove() 197 memcpy(&msg->stream_tag[0], stream_tag, siz in sof_ipc_probe_dma_remove() 28 sof_ipc_probe_init(struct snd_sof_dev *sdev, u32 stream_tag, size_t buffer_size) sof_ipc_probe_init() argument 183 sof_ipc_probe_dma_remove(struct snd_sof_dev *sdev, unsigned int *stream_tag, size_t num_stream_tag) sof_ipc_probe_dma_remove() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/sof/intel/ |
H A 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()
|
H A D | hda-dai.c | 119 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() [all...] |
/kernel/linux/linux-5.10/sound/hda/ |
H A D | trace.h | 61 __field(unsigned char, stream_tag) 65 __entry->stream_tag = (azx_dev)->stream_tag; 68 TP_printk("stream_tag: %d", __entry->stream_tag)
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A 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)
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A 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)
|
/kernel/linux/linux-6.6/sound/hda/ |
H A 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)
|
/kernel/linux/linux-6.6/sound/soc/sof/ |
H A D | sof-client-probes-ipc4.c | 55 u32 stream_tag; member 94 * @stream_tag: Extractor stream tag 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()
|
H A D | sof-client-probes-ipc3.c | 18 unsigned int stream_tag; member 52 * @stream_tag: Extractor stream tag 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 D | sof-client-probes.h | 34 unsigned int stream_tag; member 38 int (*init)(struct sof_client_dev *cdev, u32 stream_tag,
|
/kernel/linux/linux-5.10/include/sound/sof/ |
H A D | trace.h | 26 uint32_t stream_tag; member 33 uint32_t stream_tag; member
|
/kernel/linux/linux-6.6/include/sound/sof/ |
H A D | trace.h | 26 uint32_t stream_tag; member 33 uint32_t stream_tag; member
|