summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/sof-priv.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2024-02-13 12:12:35 +0200
committerMark Brown <broonie@kernel.org>2024-02-13 13:28:53 +0000
commitd69f9ecbe1ecfa97b9c8ab7b6332bd73ba2ff4d8 (patch)
tree6b634ccd94d53a8c38e4424777b0dc3bb5897785 /sound/soc/sof/sof-priv.h
parentba91d0919a78d344d19b02a3899d0921b2f903d1 (diff)
downloadlinux-stable-d69f9ecbe1ecfa97b9c8ab7b6332bd73ba2ff4d8.tar.gz
linux-stable-d69f9ecbe1ecfa97b9c8ab7b6332bd73ba2ff4d8.tar.bz2
linux-stable-d69f9ecbe1ecfa97b9c8ab7b6332bd73ba2ff4d8.zip
ASoC: SOF: Intel: hda: add 'is_chain_dma_supported' callback
Reuse existing function to get the interface mask and expose it to the SOF core with a callback - the main user is the IPC4 topology so only HDaudio platforms provide this callback. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://msgid.link/r/20240213101247.28887-4-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-priv.h')
-rw-r--r--sound/soc/sof/sof-priv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h
index 6c163c008607..5e5c5a36c3c9 100644
--- a/sound/soc/sof/sof-priv.h
+++ b/sound/soc/sof/sof-priv.h
@@ -157,6 +157,13 @@ struct sof_firmware {
u32 payload_offset;
};
+enum sof_dai_access {
+ SOF_DAI_DSP_ACCESS, /* access from DSP only */
+ SOF_DAI_HOST_ACCESS, /* access from host only */
+
+ SOF_DAI_ACCESS_NUM
+};
+
/*
* SOF DSP HW abstraction operations.
* Used to abstract DSP HW architecture and any IO busses between host CPU