mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 18:58:48 +07:00
42fea318e1
The Spreadtrum DMA engine uses the link-list mode to support audio playback or capture, thus this patch adds audio DMA platform support for CPU DAI to trigger DMA link-list transfer. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
16 lines
352 B
C
16 lines
352 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#ifndef __SPRD_PCM_DMA_H
|
|
#define __SPRD_PCM_DMA_H
|
|
|
|
#define SPRD_PCM_CHANNEL_MAX 2
|
|
|
|
struct sprd_pcm_dma_params {
|
|
dma_addr_t dev_phys[SPRD_PCM_CHANNEL_MAX];
|
|
u32 datawidth[SPRD_PCM_CHANNEL_MAX];
|
|
u32 fragment_len[SPRD_PCM_CHANNEL_MAX];
|
|
const char *chan_name[SPRD_PCM_CHANNEL_MAX];
|
|
};
|
|
|
|
#endif /* __SPRD_PCM_DMA_H */
|