Home
last modified time | relevance | path

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

12

/linux/sound/soc/sof/intel/
H A Dhda-sdw-bpt.c32 static int chain_dma_trigger(struct snd_sof_dev *sdev, unsigned int stream_tag, in chain_dma_trigger() argument
69 dma_id = stream_tag - 1; in chain_dma_trigger()
148 int stream_tag; in hda_sdw_bpt_dma_deprepare()
150 stream_tag = hdac_stream(bpt_stream)->stream_tag; in hda_sdw_bpt_dma_deprepare()
153 snd_hdac_ext_bus_link_set_stream_id(hlink, stream_tag); in hda_sdw_bpt_dma_deprepare()
176 int stream_tag; in hda_sdw_bpt_dma_deprepare()
178 stream_tag = hdac_stream(sdw_bpt_stream)->stream_tag; in hda_sdw_bpt_dma_deprepare()
181 snd_hdac_ext_bus_link_clear_stream_id(hlink, stream_tag); in hda_sdw_bpt_dma_deprepare()
136 int stream_tag; hda_sdw_bpt_dma_prepare() local
164 int stream_tag; hda_sdw_bpt_dma_deprepare() local
[all...]
H A 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()
82 hstream->stream_tag); in hda_dsp_trace_release()
H A Dhda-stream.c52 return kasprintf(GFP_KERNEL, "-- (%s, stream_tag: %u)", in hda_hstream_dbg_get_stream_info_str()
54 hstream->stream_tag); in hda_hstream_dbg_get_stream_info_str()
56 return kasprintf(GFP_KERNEL, "dai_link \"%s\" (%s, stream_tag: %u)", in hda_hstream_dbg_get_stream_info_str()
58 hstream->stream_tag); in hda_hstream_dbg_get_stream_info_str()
287 static int _hda_dsp_stream_put(struct snd_sof_dev *sdev, int direction, int stream_tag, bool pair) in hda_dsp_stream_put()
312 if (s->direction == direction && s->stream_tag == stream_tag) { in hda_dsp_stream_put()
332 dev_err(sdev->dev, "%s: stream_tag %d not opened!\n", in hda_dsp_stream_reset()
333 __func__, stream_tag); in hda_dsp_stream_reset()
343 int hda_dsp_stream_put(struct snd_sof_dev *sdev, int direction, int stream_tag) in hda_dsp_stream_reset()
268 hda_dsp_stream_put(struct snd_sof_dev * sdev,int direction,int stream_tag) hda_dsp_stream_put() argument
[all...]
H A Dhda-loader.c66 int cl_dsp_init(struct snd_sof_dev *sdev, int stream_tag, bool imr_boot) in hda_cl_prepare()
86 /* step 2: Send ROM_CONTROL command (stream_tag is ignored for IMR boot) */ in hda_cl_prepare()
89 ipc_hdr |= HDA_DSP_ROM_IPC_PURGE_FW | ((stream_tag - 1) << 9); in hda_cl_prepare()
403 ret = chip_info->cl_init(sdev, hext_stream->hstream.stream_tag, false); in hda_dsp_cl_boot_firmware_iccmax()
535 msg.primary = hext_stream->hstream.stream_tag - 1; in hda_dsp_cl_boot_firmware()
123 cl_dsp_init(struct snd_sof_dev * sdev,int stream_tag,bool imr_boot) cl_dsp_init() argument
H A Dhda-pcm.c148 platform_params->stream_tag = hstream->stream_tag; in hda_dsp_pcm_hw_params()
352 ret = hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in hda_dsp_pcm_close()
H A Dhda-dai-ops.c24 * to the link DMA stream_tag argument is assigned to one
28 int dir, int stream_tag) in hda_check_fes() argument
37 if (fe_hstream->stream_tag == stream_tag) in hda_check_fes()
89 hstream->stream_tag)) { in hda_link_stream_assign()
/linux/sound/soc/sof/amd/
H A 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()
H A 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()
H A Dacp-trace.c59 dtrace_params->stream_tag = stream->stream_tag; in acp_sof_trace_init()
/linux/sound/soc/sof/
H A Dsof-client-probes-ipc4.c65 u32 stream_tag; member
135 static int ipc4_probes_init(struct sof_client_dev *cdev, u32 stream_tag, in ipc4_probes_init() argument
146 cfg.gtw_cfg.node_id = SOF_IPC4_PROBE_NODE_ID_INDEX(stream_tag - 1) | in ipc4_probes_init()
263 (*desc)[i].stream_tag = info->points[i].stream_tag; in ipc4_probes_points_info()
293 desc->buffer_id, desc->purpose, desc->stream_tag, in ipc4_probes_point_print()
297 desc->stream_tag ? "(connected)" : ""); in ipc4_probes_point_print()
337 points[i].stream_tag = desc[i].stream_tag; in ipc4_probes_points_add()
/linux/sound/hda/common/
H A Dcontroller_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)
H A Dcodec.c665 u8 stream_tag;
1074 u32 stream_tag, int channel_id) in update_pcm_stream_id()
1078 if (p->stream_tag != stream_tag || p->channel_id != channel_id) { in update_pcm_stream_id()
1080 newval = (stream_tag << 4) | channel_id; in update_pcm_stream_id()
1085 p->stream_tag = stream_tag; in update_pcm_stream_id()
1113 * @stream_tag: stream tag to pass, it's between 0x1 and 0xf.
1118 u32 stream_tag, in snd_hda_codec_setup_stream()
1132 nid, stream_tag, channel_i in snd_hda_codec_setup_stream()
666 u8 stream_tag; global() member
1075 update_pcm_stream_id(struct hda_codec * codec,struct hda_cvt_setup * p,hda_nid_t nid,u32 stream_tag,int channel_id) update_pcm_stream_id() argument
1119 snd_hda_codec_setup_stream(struct hda_codec * codec,hda_nid_t nid,u32 stream_tag,int channel_id,int format) snd_hda_codec_setup_stream() argument
3104 hda_pcm_default_prepare(struct hda_pcm_stream * hinfo,struct hda_codec * codec,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) hda_pcm_default_prepare() argument
3574 setup_dig_out_stream(struct hda_codec * codec,hda_nid_t nid,unsigned int stream_tag,unsigned int format) setup_dig_out_stream() argument
3649 snd_hda_multi_out_dig_prepare(struct hda_codec * codec,struct hda_multi_out * mout,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) snd_hda_multi_out_dig_prepare() argument
3754 snd_hda_multi_out_analog_prepare(struct hda_codec * codec,struct hda_multi_out * mout,unsigned int stream_tag,unsigned int format,struct snd_pcm_substream * substream) snd_hda_multi_out_analog_prepare() argument
[all...]
H A Dcontroller.c159 unsigned int format_val, stream_tag, bits; 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()
387 (azx_dev->core.stream_tag - 1); in azx_get_sync_time()
/linux/sound/hda/core/
H A Dtrace.h72 __field(unsigned char, stream_tag)
76 __entry->stream_tag = (azx_dev)->stream_tag;
79 TP_printk("stream_tag: %d", __entry->stream_tag)
H A Dstream.c104 azx_dev->stream_tag = tag; in snd_hdac_stream_init()
274 (azx_dev->stream_tag << SD_CTL_STREAM_TAG_SHIFT); in snd_hdac_stream_setup()
435 int dir, int stream_tag) in snd_hdac_get_stream() argument
440 if (s->direction == dir && s->stream_tag == stream_tag) in snd_hdac_get_stream()
949 return azx_dev->stream_tag; in snd_hdac_dsp_prepare()
/linux/include/sound/sof/
H A Dtrace.h26 uint32_t stream_tag; member
33 uint32_t stream_tag; member
/linux/sound/hda/codecs/hdmi/
H A Dhdmi_local.h74 hda_nid_t pin_nid, int dev_id, u32 stream_tag,
259 u32 stream_tag, int format);
263 unsigned int stream_tag,
H A Dnvhdmi-mcp.c123 unsigned int stream_tag, in nvhdmi_8ch_7x_pcm_prepare() argument
152 AC_VERB_SET_CHANNEL_STREAMID, (stream_tag << 4) | 0x0); in nvhdmi_8ch_7x_pcm_prepare()
193 (stream_tag << 4) | channel_id); in nvhdmi_8ch_7x_pcm_prepare()
H A Dtegrahdmi.c135 unsigned int stream_tag, in tegra_hdmi_pcm_prepare() argument
141 err = snd_hda_hdmi_generic_pcm_prepare(hinfo, codec, stream_tag, in tegra_hdmi_pcm_prepare()
H A Dsimplehdmi.c150 unsigned int stream_tag, in simple_playback_pcm_prepare() argument
157 stream_tag, format, substream); in simple_playback_pcm_prepare()
/linux/sound/hda/codecs/
H A Dsi3054.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/sound/soc/intel/avs/
H A Dcldma.c17 #define AZX_SD_CTL_STRM(s) (((s)->stream_tag << 20) & AZX_SD_CTL_STRM_MASK)
38 unsigned char stream_tag; member
55 .stream_tag = AVS_CL_STREAM_INDEX + 1,
/linux/sound/hda/core/ext/
H A Dstream.c95 int stream_tag = 0; in snd_hdac_ext_stream_init_all() local
107 tag = ++stream_tag; in snd_hdac_ext_stream_init_all()
244 (hstream->stream_tag << AZX_PPLCCTL_STRM_SHIFT); in snd_hdac_ext_stream_setup()
/linux/sound/soc/codecs/
H A Dhdac_hda.h21 int stream_tag[2]; member
H A Dhdac_hda.c208 pcm->stream_tag[direction] = hstream->stream_tag; in hdac_hda_dai_set_stream()
282 stream = hda_pvt->pcm[dai->id].stream_tag[substream->stream]; in hdac_hda_dai_prepare()

12