xref: /linux/sound/soc/sprd/sprd-pcm-dma.h (revision ec63e2a4897075e427c121d863bd89c44578094f)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #ifndef __SPRD_PCM_DMA_H
4 #define __SPRD_PCM_DMA_H
5 
6 #define SPRD_PCM_CHANNEL_MAX	2
7 
8 struct sprd_pcm_dma_params {
9 	dma_addr_t dev_phys[SPRD_PCM_CHANNEL_MAX];
10 	u32 datawidth[SPRD_PCM_CHANNEL_MAX];
11 	u32 fragment_len[SPRD_PCM_CHANNEL_MAX];
12 	const char *chan_name[SPRD_PCM_CHANNEL_MAX];
13 };
14 
15 #endif /* __SPRD_PCM_DMA_H */
16