| /Linux-v5.4/sound/soc/sof/intel/ |
| D | hda-dai.c | 38 int dir, int stream_tag) in hda_check_fes() argument 47 if (fe_hstream->stream_tag == stream_tag) in hda_check_fes() 86 stream->stream_tag)) { in hda_link_stream_assign() 123 unsigned char stream_tag = hstream->stream_tag; in hda_link_dma_params() local 144 stream_tag); in hda_link_dma_params() 210 int stream_tag; in hda_link_hw_params() local 221 stream_tag = hdac_stream(link_dev)->stream_tag; in hda_link_hw_params() 226 ret = hda_link_config_ipc(hda_stream, dai->name, stream_tag - 1, in hda_link_hw_params() 239 snd_soc_dai_set_tdm_slot(codec_dai, stream_tag, 0, 0, 0); in hda_link_hw_params() 241 snd_soc_dai_set_tdm_slot(codec_dai, 0, stream_tag, 0, 0); in hda_link_hw_params() [all …]
|
| 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()
|
| D | hda-loader.c | 68 return hstream->stream_tag; in cl_stream_prepare() 71 hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in cl_stream_prepare() 82 u32 fwsize, int stream_tag) in cl_dsp_init() argument 110 ((stream_tag - 1) << 9))); in cl_dsp_init() 201 s->stream_tag == tag) { in get_stream_with_tag() 219 hstream->stream_tag); in cl_cleanup()
|
| D | hda-pcm.c | 123 ipc_params->stream_tag = hstream->stream_tag; in hda_dsp_pcm_hw_params() 229 ret = hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in hda_dsp_pcm_close()
|
| D | hda-dsp.c | 435 int stream_tag; in hda_dsp_set_hw_params_upon_resume() local 460 stream_tag = hdac_stream(stream)->stream_tag; in hda_dsp_set_hw_params_upon_resume() 461 snd_hdac_ext_link_clear_stream_id(link, stream_tag); in hda_dsp_set_hw_params_upon_resume()
|
| D | hda-stream.c | 203 int hda_dsp_stream_put(struct snd_sof_dev *sdev, int direction, int stream_tag) in hda_dsp_stream_put() argument 220 if (s->direction == direction && s->stream_tag == stream_tag) { in hda_dsp_stream_put() 239 dev_dbg(sdev->dev, "stream_tag %d not opened!\n", stream_tag); in hda_dsp_stream_put() 440 hstream->stream_tag << in hda_dsp_stream_hw_params() 721 hstream->stream_tag = i + 1; in hda_dsp_stream_init() 777 hstream->stream_tag = i - num_capture + 1; in hda_dsp_stream_init()
|
| /Linux-v5.4/sound/soc/intel/skylake/ |
| D | bxt-sst.c | 54 int ret = 0, i, dma_id, stream_tag; in bxt_load_library() local 63 stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, in bxt_load_library() 65 if (stream_tag <= 0) { in bxt_load_library() 67 stream_tag); in bxt_load_library() 68 ret = stream_tag; in bxt_load_library() 72 dma_id = stream_tag - 1; in bxt_load_library() 75 ctx->dsp_ops.trigger(ctx->dev, true, stream_tag); in bxt_load_library() 81 ctx->dsp_ops.trigger(ctx->dev, false, stream_tag); in bxt_load_library() 82 ctx->dsp_ops.cleanup(ctx->dev, &dmab, stream_tag); in bxt_load_library() 100 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() 63 ((stream_tag - 1) << CNL_ROM_CTRL_DMA_ID))); in cnl_prepare_fw() 87 ctx->dsp_ops.cleanup(ctx->dev, &ctx->dmab, stream_tag); in cnl_prepare_fw() 97 ctx->dsp_ops.trigger(ctx->dev, true, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma() 102 ctx->dsp_ops.trigger(ctx->dev, false, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma() [all …]
|
| D | skl-pcm.c | 187 unsigned char stream_tag; in skl_pcm_link_dma_prepare() local 206 stream_tag = hstream->stream_tag; in skl_pcm_link_dma_prepare() 211 stream_tag); in skl_pcm_link_dma_prepare() 254 dma_params->stream_tag = hdac_stream(stream)->stream_tag; in skl_pcm_open() 258 dma_params->stream_tag); in skl_pcm_open() 325 dma_id = hdac_stream(stream)->stream_tag - 1; in skl_pcm_hw_params() 564 int stream_tag; in skl_link_hw_params() local 577 stream_tag = hdac_stream(link_dev)->stream_tag; in skl_link_hw_params() 581 snd_soc_dai_set_tdm_slot(codec_dai, stream_tag, 0, 0, 0); in skl_link_hw_params() 583 snd_soc_dai_set_tdm_slot(codec_dai, 0, stream_tag, 0, 0); in skl_link_hw_params() [all …]
|
| D | skl-sst-dsp.h | 154 int stream_tag; member 163 int (*trigger)(struct device *dev, bool start, int stream_tag); 166 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-v5.4/sound/hda/ |
| 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)
|
| D | hdac_stream.c | 70 azx_dev->stream_tag = tag; in snd_hdac_stream_init() 200 (azx_dev->stream_tag << SD_CTL_STREAM_TAG_SHIFT); in snd_hdac_stream_setup() 340 int dir, int stream_tag) in snd_hdac_get_stream() argument 345 if (s->direction == dir && s->stream_tag == stream_tag) in snd_hdac_get_stream() 703 return azx_dev->stream_tag; in snd_hdac_dsp_prepare()
|
| /Linux-v5.4/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 | 669 u8 stream_tag; member 1034 u32 stream_tag, int channel_id) in update_pcm_stream_id() argument 1038 if (p->stream_tag != stream_tag || p->channel_id != channel_id) { in update_pcm_stream_id() 1040 newval = (stream_tag << 4) | channel_id; in update_pcm_stream_id() 1045 p->stream_tag = stream_tag; in update_pcm_stream_id() 1078 u32 stream_tag, in snd_hda_codec_setup_stream() argument 1091 nid, stream_tag, channel_id, format); in snd_hda_codec_setup_stream() 1100 update_pcm_stream_id(codec, p, nid, stream_tag, channel_id); in snd_hda_codec_setup_stream() 1111 if (!p->active && p->stream_tag == stream_tag && in snd_hda_codec_setup_stream() 1158 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()
|
| D | hda_controller.c | 157 unsigned int format_val, stream_tag; in azx_pcm_prepare() local 190 stream_tag = azx_dev->core.stream_tag; in azx_pcm_prepare() 193 stream_tag > chip->capture_streams) in azx_pcm_prepare() 194 stream_tag -= chip->capture_streams; in azx_pcm_prepare() 195 err = snd_hda_codec_prepare(apcm->codec, hinfo, stream_tag, in azx_pcm_prepare() 394 (azx_dev->core.stream_tag - 1); in azx_get_sync_time()
|
| D | patch_hdmi.c | 111 hda_nid_t pin_nid, u32 stream_tag, int format); 915 hda_nid_t pin_nid, u32 stream_tag, int format) in hdmi_setup_stream() argument 948 snd_hda_codec_setup_stream(codec, cvt_nid, stream_tag, 0, format); in hdmi_setup_stream() 1868 unsigned int stream_tag, in generic_hdmi_playback_pcm_prepare() argument 1891 stream_tag, 0, format); in generic_hdmi_playback_pcm_prepare() 1943 stream_tag, format); in generic_hdmi_playback_pcm_prepare() 2744 hda_nid_t pin_nid, u32 stream_tag, int format) in i915_hsw_setup_stream() argument 2747 return hdmi_setup_stream(codec, cvt_nid, pin_nid, stream_tag, format); in i915_hsw_setup_stream() 3113 unsigned int stream_tag, in simple_playback_pcm_prepare() argument 3119 stream_tag, format, substream); in simple_playback_pcm_prepare() [all …]
|
| /Linux-v5.4/include/sound/sof/ |
| D | trace.h | 26 uint32_t stream_tag; member 33 uint32_t stream_tag; member
|
| D | stream.h | 81 uint16_t stream_tag; member
|
| /Linux-v5.4/sound/soc/sof/ |
| D | trace.c | 182 params.stream_tag = 0; in snd_sof_init_trace_ipc() 187 ret = snd_sof_dma_trace_init(sdev, ¶ms.stream_tag); in snd_sof_init_trace_ipc() 193 dev_dbg(sdev->dev, "stream_tag: %d\n", params.stream_tag); in snd_sof_init_trace_ipc()
|
| D | ops.h | 274 u32 *stream_tag) in snd_sof_dma_trace_init() argument 277 return sof_ops(sdev)->trace_init(sdev, stream_tag); in snd_sof_dma_trace_init()
|
| /Linux-v5.4/sound/soc/codecs/ |
| D | hdac_hda.h | 10 int stream_tag[2]; member
|
| D | hdac_hda.c | 139 pcm[dai->id].stream_tag[SNDRV_PCM_STREAM_PLAYBACK] = tx_mask; in hdac_hda_dai_set_tdm_slot() 141 pcm[dai->id].stream_tag[SNDRV_PCM_STREAM_CAPTURE] = rx_mask; in hdac_hda_dai_set_tdm_slot() 218 stream = hda_pvt->pcm[dai->id].stream_tag[substream->stream]; in hdac_hda_dai_prepare()
|
| /Linux-v5.4/sound/hda/ext/ |
| D | hdac_ext_stream.c | 72 int stream_tag = 0; in snd_hdac_ext_stream_init_all() local 80 tag = ++stream_tag; in snd_hdac_ext_stream_init_all() 209 (hstream->stream_tag << AZX_PPLCCTL_STRM_SHIFT); in snd_hdac_ext_link_stream_setup()
|