Home
last modified time | relevance | path

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

/Linux-v5.4/sound/soc/sof/intel/
Dhda-dai.c59 struct sof_intel_hda_stream *hda_stream; in hda_link_stream_assign() local
76 hda_stream = hstream_to_sof_hda_stream(hstream); in hda_link_stream_assign()
97 hda_stream->host_reserved = 1; in hda_link_stream_assign()
154 static int hda_link_config_ipc(struct sof_intel_hda_stream *hda_stream, in hda_link_config_ipc() argument
162 list_for_each_entry(sof_dai, &hda_stream->sdev->dai_list, list) { in hda_link_config_ipc()
171 dev_err(hda_stream->sdev->dev, in hda_link_config_ipc()
181 ret = sof_ipc_tx_message(hda_stream->sdev->ipc, in hda_link_config_ipc()
188 dev_err(hda_stream->sdev->dev, in hda_link_config_ipc()
207 struct sof_intel_hda_stream *hda_stream; in hda_link_hw_params() local
223 hda_stream = hstream_to_sof_hda_stream(link_dev); in hda_link_hw_params()
[all …]
Dhda-stream.c158 struct sof_intel_hda_stream *hda_stream; in hda_dsp_stream_get() local
168 hda_stream = container_of(stream, in hda_dsp_stream_get()
170 hda_stream); in hda_dsp_stream_get()
172 if (hda_stream->host_reserved) in hda_dsp_stream_get()
686 struct sof_intel_hda_stream *hda_stream; in hda_dsp_stream_init() local
688 hda_stream = devm_kzalloc(sdev->dev, sizeof(*hda_stream), in hda_dsp_stream_init()
690 if (!hda_stream) in hda_dsp_stream_init()
693 hda_stream->sdev = sdev; in hda_dsp_stream_init()
695 stream = &hda_stream->hda_stream; in hda_dsp_stream_init()
741 struct sof_intel_hda_stream *hda_stream; in hda_dsp_stream_init() local
[all …]
Dhda-ipc.c287 struct sof_intel_hda_stream *hda_stream; in hda_ipc_msg_data() local
289 hda_stream = container_of(hstream, in hda_ipc_msg_data()
291 hda_stream.hstream); in hda_ipc_msg_data()
295 sof_mailbox_read(sdev, hda_stream->stream.posn_offset, in hda_ipc_msg_data()
305 struct sof_intel_hda_stream *hda_stream; in hda_ipc_pcm_params() local
309 hda_stream = container_of(hstream, struct sof_intel_hda_stream, in hda_ipc_pcm_params()
310 hda_stream.hstream); in hda_ipc_pcm_params()
317 hda_stream->stream.posn_offset = sdev->stream_box.offset + posn_offset; in hda_ipc_pcm_params()
320 substream->stream, hda_stream->stream.posn_offset); in hda_ipc_pcm_params()
Dhda.h422 struct hdac_ext_stream hda_stream; member
428 container_of(hstream, struct sof_intel_hda_stream, hda_stream)
/Linux-v5.4/sound/soc/codecs/
Dhdac_hda.c184 struct hda_pcm_stream *hda_stream; in hdac_hda_dai_hw_free() local
192 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_hw_free()
193 snd_hda_codec_cleanup(&hda_pvt->codec, hda_stream, substream); in hdac_hda_dai_hw_free()
202 struct hda_pcm_stream *hda_stream; in hdac_hda_dai_prepare() local
216 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_prepare()
221 ret = snd_hda_codec_prepare(&hda_pvt->codec, hda_stream, in hdac_hda_dai_prepare()
234 struct hda_pcm_stream *hda_stream; in hdac_hda_dai_open() local
245 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_open()
247 ret = hda_stream->ops.open(hda_stream, &hda_pvt->codec, substream); in hdac_hda_dai_open()
259 struct hda_pcm_stream *hda_stream; in hdac_hda_dai_close() local
[all …]