xref: /openbmc/linux/sound/soc/samsung/idma.h (revision 1d3279c4)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2011 Samsung Electronics Co., Ltd
4  *		http://www.samsung.com
5  */
6 
7 #ifndef __SND_SOC_SAMSUNG_IDMA_H_
8 #define __SND_SOC_SAMSUNG_IDMA_H_
9 
10 extern void idma_reg_addr_init(void __iomem *regs, dma_addr_t addr);
11 
12 /* dma_state */
13 #define LPAM_DMA_STOP	0
14 #define LPAM_DMA_START	1
15 
16 #define MAX_IDMA_PERIOD (128 * 1024)
17 #define MAX_IDMA_BUFFER (160 * 1024)
18 
19 #endif /* __SND_SOC_SAMSUNG_IDMA_H_ */
20