Home
last modified time | relevance | path

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

/linux/sound/soc/sof/intel/
A Dhda-stream.c40 if (hstream->substream) in hda_hstream_dbg_get_stream_info_str()
162 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_stream_spib_config() local
285 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_stream_trigger() local
366 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_iccmax_stream_hw_params() local
376 if (hstream->posbuf) in hda_dsp_iccmax_stream_hw_params()
387 hstream->frags = 0; in hda_dsp_iccmax_stream_hw_params()
437 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_stream_hw_params() local
554 hstream->frags = 0; in hda_dsp_stream_hw_params()
647 hstream); in hda_dsp_stream_hw_free()
870 hstream = &stream->hstream; in hda_dsp_stream_init()
[all …]
A Dhda-pcm.c106 hstream->substream = substream; in hda_dsp_pcm_hw_params()
111 hstream->bufsize = size; in hda_dsp_pcm_hw_params()
112 hstream->period_bytes = params_period_bytes(params); in hda_dsp_pcm_hw_params()
113 hstream->no_period_wakeup = in hda_dsp_pcm_hw_params()
138 ipc_params->stream_tag = hstream->stream_tag; in hda_dsp_pcm_hw_params()
187 hstream->index)); in hda_dsp_pcm_pointer()
205 hstream->index)); in hda_dsp_pcm_pointer()
206 pos = snd_hdac_stream_get_pos_posbuf(hstream); in hda_dsp_pcm_pointer()
209 if (pos >= hstream->bufsize) in hda_dsp_pcm_pointer()
216 hstream->index, substream->stream, pos); in hda_dsp_pcm_pointer()
[all …]
A Dhda-loader.c34 struct hdac_stream *hstream; in cl_stream_prepare() local
44 hstream = &dsp_stream->hstream; in cl_stream_prepare()
45 hstream->substream = NULL; in cl_stream_prepare()
56 hstream->bufsize = size; in cl_stream_prepare()
195 struct hdac_stream *hstream = &stream->hstream; in cl_trigger() local
202 1 << hstream->index, in cl_trigger()
222 struct hdac_stream *hstream = &stream->hstream; in cl_cleanup() local
232 hda_dsp_stream_put(sdev, hstream->direction, hstream->stream_tag); in cl_cleanup()
233 hstream->running = 0; in cl_cleanup()
245 hstream->bufsize = 0; in cl_cleanup()
[all …]
A Dhda-trace.c26 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_trace_prepare() local
30 hstream->period_bytes = 0;/* initialize period_bytes */ in hda_dsp_trace_prepare()
31 hstream->bufsize = sdev->dmatb.bytes; in hda_dsp_trace_prepare()
54 *stream_tag = hda->dtrace_stream->hstream.stream_tag; in hda_dsp_trace_init()
74 struct hdac_stream *hstream; in hda_dsp_trace_release() local
77 hstream = &hda->dtrace_stream->hstream; in hda_dsp_trace_release()
80 hstream->stream_tag); in hda_dsp_trace_release()
A Dhda-dai.c77 struct hdac_ext_stream *hstream = in hda_link_stream_assign() local
85 if (!hstream->link_locked) { in hda_link_stream_assign()
93 res = hstream; in hda_link_stream_assign()
97 res = hstream; in hda_link_stream_assign()
128 struct hdac_stream *hstream = &stream->hstream; in hda_link_dma_params() local
130 struct hdac_bus *bus = hstream->bus; in hda_link_dma_params()
228 struct hdac_bus *bus = hstream->bus; in hda_link_hw_params()
317 struct hdac_stream *hstream; in hda_link_pcm_trigger() local
323 bus = hstream->bus; in hda_link_pcm_trigger()
387 struct hdac_stream *hstream; in hda_link_hw_free() local
[all …]
A Dhda-ipc.c263 struct hdac_stream *hstream = substream->runtime->private_data; in hda_ipc_msg_data() local
266 hda_stream = container_of(hstream, in hda_ipc_msg_data()
268 hda_stream.hstream); in hda_ipc_msg_data()
271 if (!hstream) in hda_ipc_msg_data()
284 struct hdac_stream *hstream = substream->runtime->private_data; in hda_ipc_pcm_params() local
289 hda_stream = container_of(hstream, struct sof_intel_hda_stream, in hda_ipc_pcm_params()
290 hda_stream.hstream); in hda_ipc_pcm_params()
A Dhda-probes.c65 struct hdac_stream *hstream = hdac_stream(stream); in hda_probe_compr_set_params() local
78 hstream->format_val = rate | bits | (params->codec.ch_out - 1); in hda_probe_compr_set_params()
79 hstream->bufsize = cstream->runtime->buffer_size; in hda_probe_compr_set_params()
80 hstream->period_bytes = cstream->runtime->fragment_size; in hda_probe_compr_set_params()
81 hstream->no_period_wakeup = 0; in hda_probe_compr_set_params()
A Dhda.h480 #define hstream_to_sof_hda_stream(hstream) \ argument
481 container_of(hstream, struct sof_intel_hda_stream, hda_stream)
/linux/sound/hda/ext/
A Dhdac_ext_stream.c113 struct hdac_stream *hstream = &stream->hstream; in snd_hdac_ext_stream_decouple_locked() local
209 struct hdac_stream *hstream = &stream->hstream; in snd_hdac_ext_link_stream_setup() local
267 hstream); in hdac_ext_link_stream_assign()
272 if (hstream->decoupled && !hstream->link_locked) { in hdac_ext_link_stream_assign()
273 res = hstream; in hdac_ext_link_stream_assign()
279 res = hstream; in hdac_ext_link_stream_assign()
307 hstream); in hdac_ext_host_stream_assign()
312 if (!hstream->decoupled) in hdac_ext_host_stream_assign()
314 res = hstream; in hdac_ext_host_stream_assign()
319 res->hstream.opened = 1; in hdac_ext_host_stream_assign()
[all …]
/linux/include/sound/
A Dhdaudio_ext.h57 struct hdac_stream hstream; member
76 #define hdac_stream(s) (&(s)->hstream)
78 container_of(s, struct hdac_ext_stream, hstream)
107 void snd_hdac_ext_link_stream_start(struct hdac_ext_stream *hstream);
108 void snd_hdac_ext_link_stream_clear(struct hdac_ext_stream *hstream);
109 void snd_hdac_ext_link_stream_reset(struct hdac_ext_stream *hstream);
/linux/sound/soc/intel/skylake/
A Dskl-pcm.c66 struct hdac_bus *bus = hstream->bus; in get_bus_ctx()
128 struct hdac_stream *hstream; in skl_pcm_host_dma_prepare() local
134 if (!hstream) in skl_pcm_host_dma_prepare()
137 stream = stream_to_hdac_ext_stream(hstream); in skl_pcm_host_dma_prepare()
175 struct hdac_stream *hstream; in skl_pcm_link_dma_prepare() local
182 if (!hstream) in skl_pcm_link_dma_prepare()
185 stream = stream_to_hdac_ext_stream(hstream); in skl_pcm_link_dma_prepare()
197 stream_tag = hstream->stream_tag; in skl_pcm_link_dma_prepare()
1201 hdac_stream(hstream)->index)); in skl_platform_soc_pointer()
1207 hdac_stream(hstream)->index)); in skl_platform_soc_pointer()
[all …]

Completed in 24 milliseconds