ASoC: SOF: ipc4: Add macros for chain-dma message bits
authorJyri Sarha <jyri.sarha@intel.com>
Tue, 21 Mar 2023 09:26:53 +0000 (11:26 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 21 Mar 2023 12:13:30 +0000 (12:13 +0000)
commitcb3cdef33136baceada86ba2a21ba30cd53a9087
treef5f4441a7af256798066b7c4cf979c9d17b85ea0
parent3d3e223f09ed59f7a47d27cf4301b4d0d5c7fc3d
ASoC: SOF: ipc4: Add macros for chain-dma message bits

In the chained DMA mode, the firmware allocates buffers for the host
and link DMA, and takes care of copying data between host- and
link-DMA buffers in a low-latency thread. This is different to a
regular pipeline, no processing is allowed, and the connection between
host- and link DMA is handled with a dedicated IPC.

This patch exposes the macros needed to create the required IPC messages.

Signed-off-by: Jyri Sarha <jyri.sarha@intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230321092654.7292-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/ipc4/header.h