Home
last modified time | relevance | path

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

/sound/soc/sof/intel/
Dhda-stream.c135 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_stream_spib_config() local
143 mask = (1 << hstream->index); in hda_dsp_stream_spib_config()
148 enable << hstream->index); in hda_dsp_stream_spib_config()
257 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_stream_trigger() local
258 int sd_offset = SOF_STREAM_SD_OFFSET(hstream); in hda_dsp_stream_trigger()
269 1 << hstream->index, in hda_dsp_stream_trigger()
270 1 << hstream->index); in hda_dsp_stream_trigger()
293 hstream->running = true; in hda_dsp_stream_trigger()
320 hstream->running = false; in hda_dsp_stream_trigger()
322 1 << hstream->index, 0x0); in hda_dsp_stream_trigger()
[all …]
Dhda-pcm.c94 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_hw_params() local
95 struct hdac_ext_stream *stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_hw_params()
106 hstream->substream = substream; in hda_dsp_pcm_hw_params()
110 hstream->format_val = rate | bits | (params_channels(params) - 1); 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()
146 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_trigger() local
147 struct hdac_ext_stream *stream = stream_to_hdac_ext_stream(hstream); in hda_dsp_pcm_trigger()
[all …]
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()
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()
54 hstream->period_bytes = 0;/* initialize period_bytes */ in cl_stream_prepare()
55 hstream->format_val = format; in cl_stream_prepare()
56 hstream->bufsize = size; in cl_stream_prepare()
78 hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in cl_stream_prepare()
196 struct hdac_stream *hstream = &stream->hstream; in cl_trigger() local
197 int sd_offset = SOF_STREAM_SD_OFFSET(hstream); in cl_trigger()
203 1 << hstream->index, in cl_trigger()
[all …]
Dhda-dai.c73 struct hdac_ext_stream *hstream = in hda_link_stream_assign() local
78 hda_stream = hstream_to_sof_hda_stream(hstream); in hda_link_stream_assign()
81 if (!hstream->link_locked) { in hda_link_stream_assign()
89 res = hstream; in hda_link_stream_assign()
93 res = hstream; in hda_link_stream_assign()
124 struct hdac_stream *hstream = &stream->hstream; in hda_link_dma_params() local
125 unsigned char stream_tag = hstream->stream_tag; in hda_link_dma_params()
126 struct hdac_bus *bus = hstream->bus; in hda_link_dma_params()
142 if (stream->hstream.direction == SNDRV_PCM_STREAM_PLAYBACK) { in hda_link_dma_params()
204 struct hdac_stream *hstream = substream->runtime->private_data; in hda_link_hw_params() local
[all …]
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()
281 struct hdac_stream *hstream = substream->runtime->private_data; in hda_ipc_pcm_params() local
286 hda_stream = container_of(hstream, struct sof_intel_hda_stream, in hda_ipc_pcm_params()
287 hda_stream.hstream); in hda_ipc_pcm_params()
Dhda-compress.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()
Dhda.h480 #define hstream_to_sof_hda_stream(hstream) \ argument
481 container_of(hstream, struct sof_intel_hda_stream, hda_stream)
/sound/hda/ext/
Dhdac_ext_stream.c57 snd_hdac_stream_init(bus, &stream->hstream, idx, direction, tag); in snd_hdac_ext_stream_init()
113 struct hdac_stream *hstream = &stream->hstream; in snd_hdac_ext_stream_decouple_locked() local
115 int mask = AZX_PPCTL_PROCEN(hstream->index); in snd_hdac_ext_stream_decouple_locked()
209 struct hdac_stream *hstream = &stream->hstream; in snd_hdac_ext_link_stream_setup() local
217 (hstream->stream_tag << AZX_PPLCCTL_STRM_SHIFT); in snd_hdac_ext_link_stream_setup()
265 struct hdac_ext_stream *hstream = container_of(stream, in hdac_ext_link_stream_assign() 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()
277 if (!hstream->link_locked) { in hdac_ext_link_stream_assign()
[all …]
/sound/soc/intel/skylake/
Dskl-pcm.c65 struct hdac_stream *hstream = hdac_stream(stream); in get_bus_ctx() local
66 struct hdac_bus *bus = hstream->bus; in get_bus_ctx()
128 struct hdac_stream *hstream; in skl_pcm_host_dma_prepare() local
132 hstream = snd_hdac_get_stream(bus, params->stream, in skl_pcm_host_dma_prepare()
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
180 hstream = snd_hdac_get_stream(bus, params->stream, in skl_pcm_link_dma_prepare()
182 if (!hstream) in skl_pcm_link_dma_prepare()
185 stream = stream_to_hdac_ext_stream(hstream); in skl_pcm_link_dma_prepare()
[all …]