Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A Dhdac_hda.c243 struct hda_pcm_stream *hda_stream; in hdac_hda_dai_hw_free() local
251 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_hw_free()
261 struct hda_pcm_stream *hda_stream; in hdac_hda_dai_prepare() local
275 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_prepare()
280 ret = snd_hda_codec_prepare(hda_pvt->codec, hda_stream, in hdac_hda_dai_prepare()
293 struct hda_pcm_stream *hda_stream; in hdac_hda_dai_open() local
303 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_open()
305 return hda_stream->ops.open(hda_stream, hda_pvt->codec, substream); in hdac_hda_dai_open()
313 struct hda_pcm_stream *hda_stream; in hdac_hda_dai_close() local
321 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_close()
[all …]
/openbmc/linux/sound/soc/sof/intel/
H A Dhda-stream.c187 struct sof_intel_hda_stream *hda_stream; in hda_dsp_stream_get() local
197 hda_stream = container_of(hext_stream, in hda_dsp_stream_get()
201 if (hda_stream->host_reserved) in hda_dsp_stream_get()
219 hda_stream->flags = flags; in hda_dsp_stream_get()
243 struct sof_intel_hda_stream *hda_stream; in hda_dsp_stream_put() local
876 hda_stream = devm_kzalloc(sdev->dev, sizeof(*hda_stream), in hda_dsp_stream_init()
878 if (!hda_stream) in hda_dsp_stream_init()
881 hda_stream->sdev = sdev; in hda_dsp_stream_init()
883 hext_stream = &hda_stream->hext_stream; in hda_dsp_stream_init()
948 struct sof_intel_hda_stream *hda_stream; in hda_dsp_stream_free() local
[all …]
H A Dhda-ipc.c403 struct sof_intel_hda_stream *hda_stream; in hda_ipc_msg_data() local
405 hda_stream = container_of(hstream, in hda_ipc_msg_data()
413 sof_mailbox_read(sdev, hda_stream->sof_intel_stream.posn_offset, p, sz); in hda_ipc_msg_data()
425 struct sof_intel_hda_stream *hda_stream; in hda_set_stream_data_offset() local
427 hda_stream = container_of(hstream, struct sof_intel_hda_stream, in hda_set_stream_data_offset()
435 hda_stream->sof_intel_stream.posn_offset = sdev->stream_box.offset + posn_offset; in hda_set_stream_data_offset()
438 substream->stream, hda_stream->sof_intel_stream.posn_offset); in hda_set_stream_data_offset()
H A Dhda-dai-ops.c47 struct sof_intel_hda_stream *hda_stream; in hda_link_stream_assign() local
67 hda_stream = hstream_to_sof_hda_stream(hext_stream); in hda_link_stream_assign()
68 sdev = hda_stream->sdev; in hda_link_stream_assign()
99 hda_stream->host_reserved = 1; in hda_link_stream_assign()
H A Dhda-dai.c116 struct sof_intel_hda_stream *hda_stream; in hda_link_dma_cleanup() local
143 hda_stream = hstream_to_sof_hda_stream(hext_stream); in hda_link_dma_cleanup()
144 hda_stream->host_reserved = 0; in hda_link_dma_cleanup()