/linux-4.4.14/sound/hda/ |
H A D | trace.h | 60 __field(unsigned char, stream_tag) 64 __entry->stream_tag = (azx_dev)->stream_tag; 67 TP_printk("stream_tag: %d", __entry->stream_tag)
|
H A D | hdac_stream.c | 35 azx_dev->stream_tag = tag; snd_hdac_stream_init() 151 /* program the stream_tag */ snd_hdac_stream_setup() 154 (azx_dev->stream_tag << SD_CTL_STREAM_TAG_SHIFT); snd_hdac_stream_setup() 290 * snd_hdac_get_stream - return hdac_stream based on stream_tag and 295 * @stream_tag: stream tag for stream to be found 298 int dir, int stream_tag) snd_hdac_get_stream() 303 if (s->direction == dir && s->stream_tag == stream_tag) snd_hdac_get_stream() 661 return azx_dev->stream_tag; snd_hdac_dsp_prepare() 297 snd_hdac_get_stream(struct hdac_bus *bus, int dir, int stream_tag) snd_hdac_get_stream() argument
|
/linux-4.4.14/sound/pci/hda/ |
H A D | hda_controller_trace.h | 63 __field( unsigned char, stream_tag ) 67 __entry->stream_tag = (azx_dev)->core.stream_tag; 70 TP_printk("stream_tag: %d", __entry->stream_tag)
|
H A D | patch_si3054.c | 151 unsigned int stream_tag, si3054_pcm_prepare() 160 val |= ((stream_tag & 0xf) << 4) << (8 * (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)); si3054_pcm_prepare() 164 stream_tag, 0, format); si3054_pcm_prepare() 149 si3054_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) si3054_pcm_prepare() argument
|
H A D | hda_codec.c | 620 u8 stream_tag; member in struct:hda_cvt_setup 937 u32 stream_tag, int channel_id) update_pcm_stream_id() 941 if (p->stream_tag != stream_tag || p->channel_id != channel_id) { update_pcm_stream_id() 943 newval = (stream_tag << 4) | channel_id; update_pcm_stream_id() 948 p->stream_tag = stream_tag; update_pcm_stream_id() 976 * @stream_tag: stream tag to pass, it's between 0x1 and 0xf. 981 u32 stream_tag, snd_hda_codec_setup_stream() 994 nid, stream_tag, channel_id, format); snd_hda_codec_setup_stream() 1003 update_pcm_stream_id(codec, p, nid, stream_tag, channel_id); snd_hda_codec_setup_stream() 1015 if (!p->active && p->stream_tag == stream_tag && snd_hda_codec_setup_stream() 1062 if (q->stream_tag || q->channel_id) really_cleanup_stream() 1097 if (p->stream_tag) hda_cleanup_all_streams() 3125 unsigned int stream_tag, hda_pcm_default_prepare() 3129 snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format); hda_pcm_default_prepare() 3580 unsigned int stream_tag, unsigned int format) setup_dig_out_stream() 3599 snd_hda_codec_setup_stream(codec, nid, stream_tag, 0, format); setup_dig_out_stream() 3603 snd_hda_codec_setup_stream(codec, *d, stream_tag, 0, setup_dig_out_stream() 3644 * @stream_tag: stream tag to assign 3650 unsigned int stream_tag, snd_hda_multi_out_dig_prepare() 3655 setup_dig_out_stream(codec, mout->dig_out_nid, stream_tag, format); snd_hda_multi_out_dig_prepare() 3749 * @stream_tag: stream tag to assign 3758 unsigned int stream_tag, snd_hda_multi_out_analog_prepare() 3777 stream_tag, format); snd_hda_multi_out_analog_prepare() 3786 snd_hda_codec_setup_stream(codec, nids[HDA_FRONT], stream_tag, snd_hda_multi_out_analog_prepare() 3791 snd_hda_codec_setup_stream(codec, mout->hp_nid, stream_tag, snd_hda_multi_out_analog_prepare() 3798 stream_tag, 0, format); snd_hda_multi_out_analog_prepare() 3803 snd_hda_codec_setup_stream(codec, nids[i], stream_tag, snd_hda_multi_out_analog_prepare() 3806 snd_hda_codec_setup_stream(codec, nids[i], stream_tag, snd_hda_multi_out_analog_prepare() 3820 stream_tag, ch, format); snd_hda_multi_out_analog_prepare() 935 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 980 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 3123 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 3579 setup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid, unsigned int stream_tag, unsigned int format) setup_dig_out_stream() argument 3648 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 3756 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
|
H A D | hda_controller.c | 162 unsigned int format_val, stream_tag; azx_pcm_prepare() local 195 stream_tag = azx_dev->core.stream_tag; azx_pcm_prepare() 198 stream_tag > chip->capture_streams) azx_pcm_prepare() 199 stream_tag -= chip->capture_streams; azx_pcm_prepare() 200 err = snd_hda_codec_prepare(apcm->codec, hinfo, stream_tag, azx_pcm_prepare()
|
H A D | patch_hdmi.c | 117 hda_nid_t pin_nid, u32 stream_tag, int format); 1312 hda_nid_t pin_nid, u32 stream_tag, int format) hdmi_setup_stream() 1327 snd_hda_codec_setup_stream(codec, cvt_nid, stream_tag, 0, format); hdmi_setup_stream() 1797 unsigned int stream_tag, generic_hdmi_playback_pcm_prepare() 1847 return spec->ops.setup_stream(codec, cvt_nid, pin_nid, stream_tag, format); generic_hdmi_playback_pcm_prepare() 2635 unsigned int stream_tag, simple_playback_pcm_prepare() 2641 stream_tag, format, substream); simple_playback_pcm_prepare() 2757 unsigned int stream_tag, nvhdmi_8ch_7x_pcm_prepare() 2786 AC_VERB_SET_CHANNEL_STREAMID, (stream_tag << 4) | 0x0); nvhdmi_8ch_7x_pcm_prepare() 2827 (stream_tag << 4) | channel_id); nvhdmi_8ch_7x_pcm_prepare() 3076 unsigned int stream_tag, tegra_hdmi_pcm_prepare() 3082 err = generic_hdmi_playback_pcm_prepare(hinfo, codec, stream_tag, tegra_hdmi_pcm_prepare() 3427 hda_nid_t pin_nid, u32 stream_tag, int format) atihdmi_setup_stream() 3439 return hdmi_setup_stream(codec, cvt_nid, pin_nid, stream_tag, format); atihdmi_setup_stream() 1311 hdmi_setup_stream(struct hda_codec *codec, hda_nid_t cvt_nid, hda_nid_t pin_nid, u32 stream_tag, int format) hdmi_setup_stream() argument 1795 generic_hdmi_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) generic_hdmi_playback_pcm_prepare() argument 2633 simple_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) simple_playback_pcm_prepare() argument 2755 nvhdmi_8ch_7x_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) nvhdmi_8ch_7x_pcm_prepare() argument 3074 tegra_hdmi_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) tegra_hdmi_pcm_prepare() argument 3426 atihdmi_setup_stream(struct hda_codec *codec, hda_nid_t cvt_nid, hda_nid_t pin_nid, u32 stream_tag, int format) atihdmi_setup_stream() argument
|
H A D | hda_codec.h | 136 unsigned int stream_tag, unsigned int format, 437 u32 stream_tag,
|
H A D | hda_generic.c | 5136 unsigned int stream_tag, playback_pcm_prepare() 5144 stream_tag, format, substream); playback_pcm_prepare() 5188 unsigned int stream_tag, capture_pcm_prepare() 5192 snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format); capture_pcm_prepare() 5249 unsigned int stream_tag, alt_playback_pcm_prepare() 5253 snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format); alt_playback_pcm_prepare() 5282 unsigned int stream_tag, dig_playback_pcm_prepare() 5288 stream_tag, format, substream); dig_playback_pcm_prepare() 5315 unsigned int stream_tag, alt_capture_pcm_prepare() 5322 stream_tag, 0, format); alt_capture_pcm_prepare() 5445 unsigned int stream_tag, dyn_adc_capture_pcm_prepare() 5451 spec->cur_adc_stream_tag = stream_tag; dyn_adc_capture_pcm_prepare() 5453 snd_hda_codec_setup_stream(codec, spec->cur_adc, stream_tag, 0, format); dyn_adc_capture_pcm_prepare() 5134 playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) playback_pcm_prepare() argument 5186 capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) capture_pcm_prepare() argument 5247 alt_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) alt_playback_pcm_prepare() argument 5280 dig_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) dig_playback_pcm_prepare() argument 5313 alt_capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) alt_capture_pcm_prepare() argument 5443 dyn_adc_capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) dyn_adc_capture_pcm_prepare() argument
|
H A D | hda_local.h | 313 unsigned int stream_tag, 324 unsigned int stream_tag,
|
H A D | patch_ca0132.c | 2692 unsigned int stream_tag, ca0132_playback_pcm_prepare() 2698 snd_hda_codec_setup_stream(codec, spec->dacs[0], stream_tag, 0, format); ca0132_playback_pcm_prepare() 2760 unsigned int stream_tag, ca0132_dig_playback_pcm_prepare() 2766 stream_tag, format, substream); ca0132_dig_playback_pcm_prepare() 2790 unsigned int stream_tag, ca0132_capture_pcm_prepare() 2795 stream_tag, 0, format); ca0132_capture_pcm_prepare() 2690 ca0132_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) ca0132_playback_pcm_prepare() argument 2758 ca0132_dig_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) ca0132_dig_playback_pcm_prepare() argument 2788 ca0132_capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) ca0132_capture_pcm_prepare() argument
|
/linux-4.4.14/sound/soc/intel/skylake/ |
H A D | skl-pcm.c | 144 dma_params->stream_tag = hdac_stream(stream)->stream_tag; skl_pcm_open() 148 dma_params->stream_tag); skl_pcm_open() 194 dev_dbg(dai->dev, "stream_tag=%d formatvalue=%d\n", skl_pcm_prepare() 195 hdac_stream(stream)->stream_tag, format_val); skl_pcm_prepare() 231 dma_id = hdac_stream(stream)->stream_tag - 1; skl_pcm_hw_params() 346 dma_params->stream_tag = hdac_stream(link_dev)->stream_tag; skl_link_hw_params() 353 p_params.link_dma_id = hdac_stream(link_dev)->stream_tag - 1; skl_link_hw_params() 381 dev_dbg(dai->dev, "stream_tag=%d formatvalue=%d codec_dai_name=%s\n", skl_link_pcm_prepare() 382 hdac_stream(link_dev)->stream_tag, format_val, codec_dai->name); skl_link_pcm_prepare() 392 snd_hdac_ext_link_set_stream_id(link, hdac_stream(link_dev)->stream_tag); skl_link_pcm_prepare() 441 snd_hdac_ext_link_clear_stream_id(link, hdac_stream(link_dev)->stream_tag); skl_link_hw_free()
|
H A D | skl.h | 82 u8 stream_tag; member in struct:skl_dma_params
|
/linux-4.4.14/sound/hda/ext/ |
H A D | hdac_ext_stream.c | 78 int stream_tag = 0; snd_hdac_ext_stream_init_all() local 86 tag = ++stream_tag; snd_hdac_ext_stream_init_all() 209 /* program the stream_tag */ snd_hdac_ext_link_stream_setup() 212 (hstream->stream_tag << AZX_PPLCCTL_STRM_SHIFT); snd_hdac_ext_link_stream_setup()
|
/linux-4.4.14/include/sound/ |
H A D | hdaudio.h | 411 unsigned char stream_tag; /* assigned stream */ member in struct:hdac_stream 441 int dir, int stream_tag);
|