Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (c) 2011 Samsung Electronics Co., Ltd
0004  *      http://www.samsung.com
0005  */
0006 
0007 #ifndef __SND_SOC_SAMSUNG_IDMA_H_
0008 #define __SND_SOC_SAMSUNG_IDMA_H_
0009 
0010 extern void idma_reg_addr_init(void __iomem *regs, dma_addr_t addr);
0011 
0012 /* dma_state */
0013 #define LPAM_DMA_STOP   0
0014 #define LPAM_DMA_START  1
0015 
0016 #define MAX_IDMA_PERIOD (128 * 1024)
0017 #define MAX_IDMA_BUFFER (160 * 1024)
0018 
0019 #endif /* __SND_SOC_SAMSUNG_IDMA_H_ */