summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-03-07 20:29:00 +0300
committerMark Brown <broonie@kernel.org>2023-03-07 20:29:00 +0300
commitf1fbb6a2667e2bb21c281a0fa4edb1ac8d1d0ab0 (patch)
tree8b5f454203a577969858f7c0a9299ac20d691ba5 /include
parentdb97cc0f7459a2bee68e6e8bf0b2f7a286137fa8 (diff)
parent755ddc3acd50ca70e46b032c5c4a078e7b1b7d46 (diff)
downloadlinux-f1fbb6a2667e2bb21c281a0fa4edb1ac8d1d0ab0.tar.xz
ASoC: SOF: ipc4: Add core_id support from topology
Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>: The following series will add support for handling the core_id token which is needed for supporting multiple cores with complex topologies.
Diffstat (limited to 'include')
-rw-r--r--include/sound/sof/ipc4/header.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/sof/ipc4/header.h b/include/sound/sof/ipc4/header.h
index d31349bf011d..49ff1558a171 100644
--- a/include/sound/sof/ipc4/header.h
+++ b/include/sound/sof/ipc4/header.h
@@ -176,6 +176,10 @@ enum sof_ipc4_pipeline_state {
#define SOF_IPC4_GLB_PIPE_EXT_LP_MASK BIT(0)
#define SOF_IPC4_GLB_PIPE_EXT_LP(x) ((x) << SOF_IPC4_GLB_PIPE_EXT_LP_SHIFT)
+#define SOF_IPC4_GLB_PIPE_EXT_CORE_ID_SHIFT 20
+#define SOF_IPC4_GLB_PIPE_EXT_CORE_ID_MASK GENMASK(23, 20)
+#define SOF_IPC4_GLB_PIPE_EXT_CORE_ID(x) ((x) << SOF_IPC4_GLB_PIPE_EXT_CORE_ID_SHIFT)
+
/* pipeline set state ipc msg */
#define SOF_IPC4_GLB_PIPE_STATE_ID_SHIFT 16
#define SOF_IPC4_GLB_PIPE_STATE_ID_MASK GENMASK(23, 16)