dma.h 842 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * include/asm-sh/dreamcast/dma.h
  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_SH_DREAMCAST_DMA_H
  11. #define __ASM_SH_DREAMCAST_DMA_H
  12. /* Number of DMA channels */
  13. #define G2_NR_DMA_CHANNELS 4
  14. /* Channels for cascading */
  15. #define PVR2_CASCADE_CHAN 2
  16. #define G2_CASCADE_CHAN 3
  17. /* PVR2 DMA Registers */
  18. #define PVR2_DMA_BASE 0xa05f6800
  19. #define PVR2_DMA_ADDR (PVR2_DMA_BASE + 0)
  20. #define PVR2_DMA_COUNT (PVR2_DMA_BASE + 4)
  21. #define PVR2_DMA_MODE (PVR2_DMA_BASE + 8)
  22. #define PVR2_DMA_LMMODE0 (PVR2_DMA_BASE + 132)
  23. #define PVR2_DMA_LMMODE1 (PVR2_DMA_BASE + 136)
  24. /* G2 DMA Register */
  25. #define G2_DMA_BASE 0xa05f7800
  26. #endif /* __ASM_SH_DREAMCAST_DMA_H */