Home
last modified time | relevance | path

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

/Linux-v4.19/sound/soc/intel/skylake/
Dbxt-sst.c62 int ret = 0, i, dma_id, stream_tag; in bxt_load_library() local
71 stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, in bxt_load_library()
73 if (stream_tag <= 0) { in bxt_load_library()
75 stream_tag); in bxt_load_library()
76 ret = stream_tag; in bxt_load_library()
80 dma_id = stream_tag - 1; in bxt_load_library()
83 ctx->dsp_ops.trigger(ctx->dev, true, stream_tag); in bxt_load_library()
89 ctx->dsp_ops.trigger(ctx->dev, false, stream_tag); in bxt_load_library()
90 ctx->dsp_ops.cleanup(ctx->dev, &dmab, stream_tag); in bxt_load_library()
108 int stream_tag, ret; in sst_bxt_prepare_fw() local
[all …]
Dcnl-sst.c58 int ret, stream_tag; in cnl_prepare_fw() local
60 stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, fwsize, &ctx->dmab); in cnl_prepare_fw()
61 if (stream_tag <= 0) { in cnl_prepare_fw()
62 dev_err(ctx->dev, "dma prepare failed: 0%#x\n", stream_tag); in cnl_prepare_fw()
63 return stream_tag; in cnl_prepare_fw()
66 ctx->dsp_ops.stream_tag = stream_tag; in cnl_prepare_fw()
72 ((stream_tag - 1) << CNL_ROM_CTRL_DMA_ID))); in cnl_prepare_fw()
96 ctx->dsp_ops.cleanup(ctx->dev, &ctx->dmab, stream_tag); in cnl_prepare_fw()
106 ctx->dsp_ops.trigger(ctx->dev, true, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma()
111 ctx->dsp_ops.trigger(ctx->dev, false, ctx->dsp_ops.stream_tag); in sst_transfer_fw_host_dma()
[all …]
Dskl-sst-dsp.h162 int stream_tag; member
171 int (*trigger)(struct device *dev, bool start, int stream_tag);
174 int stream_tag);
Dskl-pcm.c204 hstream->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()
317 dma_id = hdac_stream(stream)->stream_tag - 1; in skl_pcm_hw_params()
556 int stream_tag; in skl_link_hw_params() local
569 stream_tag = hdac_stream(link_dev)->stream_tag; in skl_link_hw_params()
572 snd_soc_dai_set_tdm_slot(codec_dai, stream_tag, 0, 0, 0); in skl_link_hw_params()
578 p_params.link_dma_id = stream_tag - 1; in skl_link_hw_params()
652 snd_hdac_ext_link_clear_stream_id(link, hdac_stream(link_dev)->stream_tag); in skl_link_hw_free()
Dskl-messages.c88 int stream_tag, int enable) in skl_dsp_setup_spib() argument
92 SNDRV_PCM_STREAM_PLAYBACK, stream_tag); in skl_dsp_setup_spib()
135 skl_dsp_setup_spib(dev, size, stream->stream_tag, true); in skl_dsp_prepare()
137 return stream->stream_tag; in skl_dsp_prepare()
140 static int skl_dsp_trigger(struct device *dev, bool start, int stream_tag) in skl_dsp_trigger() argument
149 SNDRV_PCM_STREAM_PLAYBACK, stream_tag); in skl_dsp_trigger()
159 struct snd_dma_buffer *dmab, int stream_tag) in skl_dsp_cleanup() argument
169 SNDRV_PCM_STREAM_PLAYBACK, stream_tag); in skl_dsp_cleanup()
174 skl_dsp_setup_spib(dev, 0, stream_tag, false); in skl_dsp_cleanup()
Dskl.h114 u8 stream_tag; member
/Linux-v4.19/sound/hda/
Dtrace.h61 __field(unsigned char, stream_tag)
65 __entry->stream_tag = (azx_dev)->stream_tag;
68 TP_printk("stream_tag: %d", __entry->stream_tag)
Dhdac_stream.c35 azx_dev->stream_tag = tag; in snd_hdac_stream_init()
154 (azx_dev->stream_tag << SD_CTL_STREAM_TAG_SHIFT); in snd_hdac_stream_setup()
298 int dir, int stream_tag) in snd_hdac_get_stream() argument
303 if (s->direction == dir && s->stream_tag == stream_tag) in snd_hdac_get_stream()
661 return azx_dev->stream_tag; in snd_hdac_dsp_prepare()
/Linux-v4.19/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.c682 u8 stream_tag; member
1030 u32 stream_tag, int channel_id) in update_pcm_stream_id() argument
1034 if (p->stream_tag != stream_tag || p->channel_id != channel_id) { in update_pcm_stream_id()
1036 newval = (stream_tag << 4) | channel_id; in update_pcm_stream_id()
1041 p->stream_tag = stream_tag; in update_pcm_stream_id()
1074 u32 stream_tag, in snd_hda_codec_setup_stream() argument
1087 nid, stream_tag, channel_id, format); in snd_hda_codec_setup_stream()
1096 update_pcm_stream_id(codec, p, nid, stream_tag, channel_id); in snd_hda_codec_setup_stream()
1107 if (!p->active && p->stream_tag == stream_tag && in snd_hda_codec_setup_stream()
1154 if (q->stream_tag || q->channel_id) in really_cleanup_stream()
[all …]
Dpatch_si3054.c151 unsigned int stream_tag, in si3054_pcm_prepare() argument
160 val |= ((stream_tag & 0xf) << 4) << (8 * (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)); in si3054_pcm_prepare()
164 stream_tag, 0, format); in si3054_pcm_prepare()
Dhda_controller.c168 unsigned int format_val, stream_tag; in azx_pcm_prepare() local
201 stream_tag = azx_dev->core.stream_tag; in azx_pcm_prepare()
204 stream_tag > chip->capture_streams) in azx_pcm_prepare()
205 stream_tag -= chip->capture_streams; in azx_pcm_prepare()
206 err = snd_hda_codec_prepare(apcm->codec, hinfo, stream_tag, in azx_pcm_prepare()
405 (azx_dev->core.stream_tag - 1); in azx_get_sync_time()
Dpatch_hdmi.c120 hda_nid_t pin_nid, u32 stream_tag, int format);
911 hda_nid_t pin_nid, u32 stream_tag, int format) in hdmi_setup_stream() argument
944 snd_hda_codec_setup_stream(codec, cvt_nid, stream_tag, 0, format); in hdmi_setup_stream()
1857 unsigned int stream_tag, in generic_hdmi_playback_pcm_prepare() argument
1880 stream_tag, 0, format); in generic_hdmi_playback_pcm_prepare()
1924 stream_tag, format); in generic_hdmi_playback_pcm_prepare()
2550 hda_nid_t pin_nid, u32 stream_tag, int format) in i915_hsw_setup_stream() argument
2553 return hdmi_setup_stream(codec, cvt_nid, pin_nid, stream_tag, format); in i915_hsw_setup_stream()
2890 unsigned int stream_tag, in simple_playback_pcm_prepare() argument
2896 stream_tag, format, substream); in simple_playback_pcm_prepare()
[all …]
Dhda_codec.h137 unsigned int stream_tag, unsigned int format,
445 u32 stream_tag,
Dhda_local.h252 unsigned int stream_tag,
263 unsigned int stream_tag,
Dhda_generic.c5302 unsigned int stream_tag, in playback_pcm_prepare() argument
5310 stream_tag, format, substream); in playback_pcm_prepare()
5354 unsigned int stream_tag, in capture_pcm_prepare() argument
5358 snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format); in capture_pcm_prepare()
5415 unsigned int stream_tag, in alt_playback_pcm_prepare() argument
5419 snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format); in alt_playback_pcm_prepare()
5448 unsigned int stream_tag, in dig_playback_pcm_prepare() argument
5454 stream_tag, format, substream); in dig_playback_pcm_prepare()
5481 unsigned int stream_tag, in alt_capture_pcm_prepare() argument
5488 stream_tag, 0, format); in alt_capture_pcm_prepare()
[all …]
Dpatch_ca0132.c3277 unsigned int stream_tag, in ca0132_playback_pcm_prepare() argument
3283 snd_hda_codec_setup_stream(codec, spec->dacs[0], stream_tag, 0, format); in ca0132_playback_pcm_prepare()
3345 unsigned int stream_tag, in ca0132_dig_playback_pcm_prepare() argument
3351 stream_tag, format, substream); in ca0132_dig_playback_pcm_prepare()
3375 unsigned int stream_tag, in ca0132_capture_pcm_prepare() argument
3380 stream_tag, 0, format); in ca0132_capture_pcm_prepare()
/Linux-v4.19/sound/hda/ext/
Dhdac_ext_stream.c80 int stream_tag = 0; in snd_hdac_ext_stream_init_all() local
88 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()
/Linux-v4.19/include/sound/
Dhdaudio_ext.h162 u8 stream_tag; member
Dhdaudio.h491 unsigned char stream_tag; /* assigned stream */ member
521 int dir, int stream_tag);
/Linux-v4.19/sound/soc/codecs/
Dhdac_hdmi.c109 int stream_tag; member
441 pcm->stream_tag = (tx_mask << 4); in hdac_hdmi_set_tdm_slot()
811 AC_VERB_SET_CHANNEL_STREAMID, pcm->stream_tag); in hdac_hdmi_cvt_output_widget_event()