/arch/sh/include/cpu-sh2/cpu/dma.h

https://bitbucket.org/cresqo/cm7-p500-kernel · C Header · 23 lines · 9 code · 5 blank · 9 comment · 0 complexity · f43bbb8afb83da0afe5d12851401dc18 MD5 · raw file

  1. /*
  2. * Definitions for the SH-2 DMAC.
  3. *
  4. * Copyright (C) 2003 Paul Mundt
  5. *
  6. * This file is subject to the terms and conditions of the GNU General Public
  7. * License. See the file "COPYING" in the main directory of this archive
  8. * for more details.
  9. */
  10. #ifndef __ASM_CPU_SH2_DMA_H
  11. #define __ASM_CPU_SH2_DMA_H
  12. #define SH_MAX_DMA_CHANNELS 2
  13. #define SAR ((unsigned long[]){ 0xffffff80, 0xffffff90 })
  14. #define DAR ((unsigned long[]){ 0xffffff84, 0xffffff94 })
  15. #define DMATCR ((unsigned long[]){ 0xffffff88, 0xffffff98 })
  16. #define CHCR ((unsigned long[]){ 0xfffffffc, 0xffffff9c })
  17. #define DMAOR 0xffffffb0
  18. #endif /* __ASM_CPU_SH2_DMA_H */