Home
last modified time | relevance | path

Searched refs:hstream (Results 1 – 16 of 16) sorted by relevance

/linux/sound/soc/sof/intel/
A Dhda-stream.c46 if (hstream->substream) in hda_hstream_dbg_get_stream_info_str()
100 hstream->frags++; in hda_setup_bdle()
137 hstream->frags = 0; in hda_dsp_stream_setup_bdl()
165 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_stream_spib_config() local
334 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_stream_trigger() local
422 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_iccmax_stream_hw_params() local
448 hstream->frags = 0; in hda_dsp_iccmax_stream_hw_params()
516 hstream = &hext_stream->hstream; in hda_dsp_stream_hw_params()
593 hstream->frags = 0; in hda_dsp_stream_hw_params()
690 hstream); in hda_dsp_stream_hw_free()
[all …]
A Dhda-pcm.c99 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_hw_params() local
105 hstream->substream = substream; in hda_dsp_pcm_hw_params()
120 hstream->bufsize = params_buffer_bytes(params); in hda_dsp_pcm_hw_params()
121 hstream->period_bytes = params_period_bytes(params); in hda_dsp_pcm_hw_params()
122 hstream->no_period_wakeup = in hda_dsp_pcm_hw_params()
141 platform_params->stream_tag = hstream->stream_tag; in hda_dsp_pcm_hw_params()
150 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_ack() local
164 sof_io_write(sdev, hstream->spib_addr, spib); in hda_dsp_pcm_ack()
173 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_trigger() local
207 trace_sof_intel_hda_dsp_pcm(sdev, hstream, substream, pos); in hda_dsp_pcm_pointer()
[all …]
A Dhda-trace.c26 struct hdac_stream *hstream = &hext_stream->hstream; in hda_dsp_trace_prepare() local
29 hstream->period_bytes = 0;/* initialize period_bytes */ in hda_dsp_trace_prepare()
30 hstream->bufsize = dmab->bytes; in hda_dsp_trace_prepare()
54 dtrace_params->stream_tag = hda->dtrace_stream->hstream.stream_tag; in hda_dsp_trace_init()
76 struct hdac_stream *hstream; in hda_dsp_trace_release() local
79 hstream = &hda->dtrace_stream->hstream; in hda_dsp_trace_release()
82 hstream->stream_tag); in hda_dsp_trace_release()
A Dhda-loader.c52 struct hdac_stream *hstream; in hda_cl_prepare() local
61 hstream = &hext_stream->hstream; in hda_cl_prepare()
62 hstream->substream = NULL; in hda_cl_prepare()
73 hstream->bufsize = size; in hda_cl_prepare()
227 struct hdac_stream *hstream = &hext_stream->hstream; in hda_cl_trigger() local
239 1 << hstream->index, in hda_cl_trigger()
261 struct hdac_stream *hstream = &hext_stream->hstream; in hda_cl_cleanup() local
271 hda_dsp_stream_put(sdev, hstream->direction, hstream->stream_tag); in hda_cl_cleanup()
272 hstream->running = 0; in hda_cl_cleanup()
284 hstream->bufsize = 0; in hda_cl_cleanup()
[all …]
A Dhda-probes.c76 struct hdac_stream *hstream = hdac_stream(hext_stream); in hda_probes_compr_set_params() local
89 hstream->format_val = rate | bits | (params->codec.ch_out - 1); in hda_probes_compr_set_params()
90 hstream->bufsize = cstream->runtime->buffer_size; in hda_probes_compr_set_params()
91 hstream->period_bytes = cstream->runtime->fragment_size; in hda_probes_compr_set_params()
92 hstream->no_period_wakeup = 0; in hda_probes_compr_set_params()
A Dhda-dai-ops.c52 struct hdac_stream *hstream = NULL; in hda_link_stream_assign() local
62 list_for_each_entry(hstream, &bus->stream_list, list) { in hda_link_stream_assign()
64 stream_to_hdac_ext_stream(hstream); in hda_link_stream_assign()
65 if (hstream->direction != substream->stream) in hda_link_stream_assign()
83 if (hstream->opened) { in hda_link_stream_assign()
89 hstream->stream_tag)) { in hda_link_stream_assign()
182 struct hdac_stream *hstream) in hda_codec_dai_set_stream() argument
188 snd_soc_dai_set_stream(codec_dai, hstream, substream->stream); in hda_codec_dai_set_stream()
558 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dspless_get_hext_stream() local
560 return stream_to_hdac_ext_stream(hstream); in hda_dspless_get_hext_stream()
[all …]
A Dhda-ipc.c417 struct hdac_stream *hstream = substream->runtime->private_data; in hda_ipc_msg_data() local
420 hda_stream = container_of(hstream, in hda_ipc_msg_data()
422 hext_stream.hstream); in hda_ipc_msg_data()
425 if (!hstream) in hda_ipc_msg_data()
440 struct hdac_stream *hstream = substream->runtime->private_data; in hda_set_stream_data_offset() local
443 hda_stream = container_of(hstream, struct sof_intel_hda_stream, in hda_set_stream_data_offset()
444 hext_stream.hstream); in hda_set_stream_data_offset()
A Dhda-dai.c148 struct hdac_stream *hstream; in hda_link_dma_hw_params() local
174 hstream = &hext_stream->hstream; in hda_link_dma_hw_params()
175 stream_tag = hstream->stream_tag; in hda_link_dma_hw_params()
177 if (hext_stream->hstream.direction == SNDRV_PCM_STREAM_PLAYBACK) in hda_link_dma_hw_params()
182 ops->codec_dai_set_stream(sdev, substream, hstream); in hda_link_dma_hw_params()
361 struct hdac_stream *hstream; in non_hda_dai_hw_params_data() local
399 hstream = &hext_stream->hstream; in non_hda_dai_hw_params_data()
400 stream_id = hstream->stream_tag; in non_hda_dai_hw_params_data()
A Dhda.h568 #define hstream_to_sof_hda_stream(hstream) \ argument
569 container_of(hstream, struct sof_intel_hda_stream, hext_stream)
665 struct hdac_stream *hstream);
669 snd_pcm_uframes_t hda_dsp_stream_get_position(struct hdac_stream *hstream,
1019 struct hdac_stream *hstream);
/linux/sound/hda/ext/
A Dhdac_ext_stream.c142 struct hdac_stream *hstream = &hext_stream->hstream; in snd_hdac_ext_stream_decouple_locked() local
238 struct hdac_stream *hstream = &hext_stream->hstream; in snd_hdac_ext_stream_setup() local
272 hstream); in hdac_ext_link_dma_stream_assign()
308 hstream); in hdac_ext_host_dma_stream_assign()
312 if (!hstream->opened) { in hdac_ext_host_dma_stream_assign()
319 res->hstream.opened = 1; in hdac_ext_host_dma_stream_assign()
320 res->hstream.running = 0; in hdac_ext_host_dma_stream_assign()
355 if (hstream) in snd_hdac_ext_stream_assign()
358 hstream); in snd_hdac_ext_stream_assign()
437 if (!hstream->opened) { in snd_hdac_ext_cstream_assign()
[all …]
/linux/sound/soc/intel/avs/
A Dloader.c361 struct hdac_stream *hstream; in avs_hda_load_basefw() local
373 hstream = hdac_stream(estream); in avs_hda_load_basefw()
377 ret = snd_hdac_dsp_prepare(hstream, sdfmt, fw->size, &dmab); in avs_hda_load_basefw()
382 snd_hdac_stream_spbcap_enable(bus, true, hstream->index); in avs_hda_load_basefw()
383 ret = snd_hdac_stream_set_spib(bus, hstream, fw->size); in avs_hda_load_basefw()
390 unsigned int dma_id = hstream->stream_tag - 1; in avs_hda_load_basefw()
401 snd_hdac_dsp_trigger(hstream, true); in avs_hda_load_basefw()
405 snd_hdac_dsp_trigger(hstream, false); in avs_hda_load_basefw()
413 snd_hdac_stream_spbcap_enable(bus, false, hstream->index); in avs_hda_load_basefw()
414 snd_hdac_stream_set_spib(bus, hstream, 0); in avs_hda_load_basefw()
[all …]
A Dpcm.c1001 struct hdac_stream *hstream; in avs_dai_resume_fe_prepare() local
1006 hstream = hdac_stream(host_stream); in avs_dai_resume_fe_prepare()
1010 snd_hdac_stream_drsm_enable(bus, true, hstream->index); in avs_dai_resume_fe_prepare()
1024 snd_hdac_stream_set_lpib(hstream, hstream->lpib); in avs_dai_resume_fe_prepare()
1025 snd_hdac_stream_set_dpibr(bus, hstream, hstream->lpib); in avs_dai_resume_fe_prepare()
/linux/include/trace/events/
A Dsof_intel.h91 struct hdac_stream *hstream,
95 TP_ARGS(sdev, hstream, substream, pos),
104 __entry->hstream_index = hstream->index;
/linux/include/sound/
A Dhdaudio_ext.h49 struct hdac_stream hstream; member
71 #define hdac_stream(s) (&(s)->hstream)
73 container_of(s, struct hdac_ext_stream, hstream)
/linux/sound/soc/codecs/
A Dhdac_hda.c199 struct hdac_stream *hstream; in hdac_hda_dai_set_stream() local
206 hstream = (struct hdac_stream *)stream; in hdac_hda_dai_set_stream()
208 pcm->stream_tag[direction] = hstream->stream_tag; in hdac_hda_dai_set_stream()
A Dhdac_hdmi.c447 struct hdac_stream *hstream; in hdac_hdmi_set_stream() local
452 hstream = (struct hdac_stream *)stream; in hdac_hdmi_set_stream()
454 dev_dbg(&hdev->dev, "%s: strm_tag: %d\n", __func__, hstream->stream_tag); in hdac_hdmi_set_stream()
461 pcm->stream_tag = (hstream->stream_tag << 4); in hdac_hdmi_set_stream()

Completed in 49 milliseconds