/sound/soc/sof/intel/ |
D | hda-dai.c | 39 int dir, int stream_tag) in hda_check_fes() argument 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 = hdac_stream(link_dev)->stream_tag; in hda_link_hw_params() 234 ret = hda_link_config_ipc(hda_stream, dai->name, stream_tag - 1, in hda_link_hw_params() 241 snd_soc_dai_set_tdm_slot(codec_dai, stream_tag, 0, 0, 0); in hda_link_hw_params() 243 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 | 78 hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in cl_stream_prepare() 87 static int cl_dsp_init(struct snd_sof_dev *sdev, int stream_tag) in cl_dsp_init() argument 117 ((stream_tag - 1) << 9))); in cl_dsp_init() 233 hda_dsp_stream_put(sdev, hstream->direction, hstream->stream_tag); in cl_cleanup() 381 ret = cl_dsp_init(sdev, stream->hstream.stream_tag); in hda_dsp_cl_boot_firmware()
|
D | hda-pcm.c | 138 ipc_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()
|
D | hda-compress.c | 36 return hdac_stream(stream)->stream_tag; in hda_probe_compr_assign() 47 hdac_stream(stream)->stream_tag); in hda_probe_compr_free()
|
D | hda-stream.c | 209 int hda_dsp_stream_put(struct snd_sof_dev *sdev, int direction, int stream_tag) in hda_dsp_stream_put() argument 231 if (s->direction == direction && s->stream_tag == stream_tag) { in hda_dsp_stream_put() 247 dev_dbg(sdev->dev, "stream_tag %d not opened!\n", stream_tag); in hda_dsp_stream_put() 531 hstream->stream_tag << in hda_dsp_stream_hw_params() 842 hstream->stream_tag = i + 1; in hda_dsp_stream_init() 898 hstream->stream_tag = i - num_capture + 1; in hda_dsp_stream_init()
|
D | hda-dsp.c | 908 int stream_tag; in hda_dsp_set_hw_params_upon_resume() local 933 stream_tag = hdac_stream(stream)->stream_tag; in hda_dsp_set_hw_params_upon_resume() 934 snd_hdac_ext_link_clear_stream_id(link, stream_tag); in hda_dsp_set_hw_params_upon_resume()
|
/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() 318 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() 569 snd_soc_dai_set_tdm_slot(codec_dai, stream_tag, 0, 0, 0); in skl_link_hw_params() 571 snd_soc_dai_set_tdm_slot(codec_dai, 0, stream_tag, 0, 0); in skl_link_hw_params() [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()
|
/sound/soc/sof/ |
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);
|
D | probe.c | 29 u32 stream_tag, size_t buffer_size) in sof_ipc_probe_init() argument 42 msg->dma[0].stream_tag = stream_tag; in sof_ipc_probe_init() 184 unsigned int *stream_tag, size_t num_stream_tag) in sof_ipc_probe_dma_remove() argument 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, size - sizeof(*msg)); in sof_ipc_probe_dma_remove()
|
D | trace.c | 409 params.stream_tag = 0; in snd_sof_init_trace_ipc() 414 ret = snd_sof_dma_trace_init(sdev, ¶ms.stream_tag); in snd_sof_init_trace_ipc() 420 dev_dbg(sdev->dev, "stream_tag: %d\n", params.stream_tag); in snd_sof_init_trace_ipc()
|
/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() 237 (azx_dev->stream_tag << SD_CTL_STREAM_TAG_SHIFT); in snd_hdac_stream_setup() 379 int dir, int stream_tag) in snd_hdac_get_stream() argument 384 if (s->direction == dir && s->stream_tag == stream_tag) in snd_hdac_get_stream() 741 return azx_dev->stream_tag; in snd_hdac_dsp_prepare()
|
/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 1059 u32 stream_tag, int channel_id) in update_pcm_stream_id() argument 1063 if (p->stream_tag != stream_tag || p->channel_id != channel_id) { in update_pcm_stream_id() 1065 newval = (stream_tag << 4) | channel_id; in update_pcm_stream_id() 1070 p->stream_tag = stream_tag; in update_pcm_stream_id() 1103 u32 stream_tag, in snd_hda_codec_setup_stream() argument 1116 nid, stream_tag, channel_id, format); in snd_hda_codec_setup_stream() 1125 update_pcm_stream_id(codec, p, nid, stream_tag, channel_id); in snd_hda_codec_setup_stream() 1136 if (!p->active && p->stream_tag == stream_tag && in snd_hda_codec_setup_stream() 1183 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 | 154 unsigned int format_val, stream_tag; in azx_pcm_prepare() local 187 stream_tag = azx_dev->core.stream_tag; in azx_pcm_prepare() 190 stream_tag > chip->capture_streams) in azx_pcm_prepare() 191 stream_tag -= chip->capture_streams; in azx_pcm_prepare() 192 err = snd_hda_codec_prepare(apcm->codec, hinfo, stream_tag, in azx_pcm_prepare() 391 (azx_dev->core.stream_tag - 1); in azx_get_sync_time()
|
D | patch_hdmi.c | 109 hda_nid_t pin_nid, int dev_id, u32 stream_tag, 939 u32 stream_tag, int format) in hdmi_setup_stream() argument 973 snd_hda_codec_setup_stream(codec, cvt_nid, stream_tag, 0, format); in hdmi_setup_stream() 2056 unsigned int stream_tag, in generic_hdmi_playback_pcm_prepare() argument 2078 stream_tag, 0, format); in generic_hdmi_playback_pcm_prepare() 2131 per_pin->dev_id, stream_tag, format); in generic_hdmi_playback_pcm_prepare() 2902 hda_nid_t pin_nid, int dev_id, u32 stream_tag, in i915_hsw_setup_stream() argument 2907 stream_tag, format); in i915_hsw_setup_stream() 3302 unsigned int stream_tag, in simple_playback_pcm_prepare() argument 3308 stream_tag, format, substream); in simple_playback_pcm_prepare() [all …]
|
/sound/soc/codecs/ |
D | hdac_hda.h | 21 int stream_tag[2]; member
|
D | hdac_hda.c | 195 pcm->stream_tag[SNDRV_PCM_STREAM_PLAYBACK] = tx_mask; in hdac_hda_dai_set_tdm_slot() 197 pcm->stream_tag[SNDRV_PCM_STREAM_CAPTURE] = rx_mask; in hdac_hda_dai_set_tdm_slot() 274 stream = hda_pvt->pcm[dai->id].stream_tag[substream->stream]; in hdac_hda_dai_prepare()
|
/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() 217 (hstream->stream_tag << AZX_PPLCCTL_STRM_SHIFT); in snd_hdac_ext_link_stream_setup()
|