Home
last modified time | relevance | path

Searched refs:hda_stream (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/sof/intel/
Dhda-dai.c60 struct sof_intel_hda_stream *hda_stream; in hda_link_stream_assign() local
78 hda_stream = hstream_to_sof_hda_stream(hstream); in hda_link_stream_assign()
99 hda_stream->host_reserved = 1; in hda_link_stream_assign()
156 static int hda_link_config_ipc(struct sof_intel_hda_stream *hda_stream, in hda_link_config_ipc() argument
164 list_for_each_entry(sof_dai, &hda_stream->sdev->dai_list, list) { in hda_link_config_ipc()
173 dev_err(hda_stream->sdev->dev, in hda_link_config_ipc()
183 ret = sof_ipc_tx_message(hda_stream->sdev->ipc, in hda_link_config_ipc()
190 dev_err(hda_stream->sdev->dev, in hda_link_config_ipc()
209 struct sof_intel_hda_stream *hda_stream; in hda_link_hw_params() local
227 hda_stream = hstream_to_sof_hda_stream(link_dev); in hda_link_hw_params()
[all …]
Dhda-ipc.c264 struct sof_intel_hda_stream *hda_stream; 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()
272 sof_mailbox_read(sdev, hda_stream->stream.posn_offset, in hda_ipc_msg_data()
282 struct sof_intel_hda_stream *hda_stream; 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()
294 hda_stream->stream.posn_offset = sdev->stream_box.offset + posn_offset; in hda_ipc_pcm_params()
297 substream->stream, hda_stream->stream.posn_offset); in hda_ipc_pcm_params()
Dhda-stream.c161 struct sof_intel_hda_stream *hda_stream; in hda_dsp_stream_get() local
171 hda_stream = container_of(stream, in hda_dsp_stream_get()
173 hda_stream); in hda_dsp_stream_get()
175 if (hda_stream->host_reserved) in hda_dsp_stream_get()
802 struct sof_intel_hda_stream *hda_stream; in hda_dsp_stream_init() local
804 hda_stream = devm_kzalloc(sdev->dev, sizeof(*hda_stream), in hda_dsp_stream_init()
806 if (!hda_stream) in hda_dsp_stream_init()
809 hda_stream->sdev = sdev; in hda_dsp_stream_init()
811 stream = &hda_stream->hda_stream; in hda_dsp_stream_init()
857 struct sof_intel_hda_stream *hda_stream; in hda_dsp_stream_init() local
[all …]
Dhda.h468 struct hdac_ext_stream hda_stream; member
474 container_of(hstream, struct sof_intel_hda_stream, hda_stream)
/kernel/linux/linux-5.10/sound/soc/codecs/
Dhdac_hda.c240 struct hda_pcm_stream *hda_stream; in hdac_hda_dai_hw_free() local
248 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_hw_free()
249 snd_hda_codec_cleanup(&hda_pvt->codec, hda_stream, substream); in hdac_hda_dai_hw_free()
258 struct hda_pcm_stream *hda_stream; in hdac_hda_dai_prepare() local
272 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_prepare()
277 ret = snd_hda_codec_prepare(&hda_pvt->codec, hda_stream, in hdac_hda_dai_prepare()
290 struct hda_pcm_stream *hda_stream; in hdac_hda_dai_open() local
300 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_open()
302 return hda_stream->ops.open(hda_stream, &hda_pvt->codec, substream); in hdac_hda_dai_open()
310 struct hda_pcm_stream *hda_stream; in hdac_hda_dai_close() local
[all …]