idma.h 444 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2011 Samsung Electronics Co., Ltd
  4. * http://www.samsung.com
  5. */
  6. #ifndef __SND_SOC_SAMSUNG_IDMA_H_
  7. #define __SND_SOC_SAMSUNG_IDMA_H_
  8. extern void idma_reg_addr_init(void __iomem *regs, dma_addr_t addr);
  9. /* dma_state */
  10. #define LPAM_DMA_STOP 0
  11. #define LPAM_DMA_START 1
  12. #define MAX_IDMA_PERIOD (128 * 1024)
  13. #define MAX_IDMA_BUFFER (160 * 1024)
  14. #endif /* __SND_SOC_SAMSUNG_IDMA_H_ */