dma.h 702 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0
  2. *
  3. * include/asm-sh/dreamcast/dma.h
  4. *
  5. * Copyright (C) 2003 Paul Mundt
  6. */
  7. #ifndef __ASM_SH_DREAMCAST_DMA_H
  8. #define __ASM_SH_DREAMCAST_DMA_H
  9. /* Number of DMA channels */
  10. #define G2_NR_DMA_CHANNELS 4
  11. /* Channels for cascading */
  12. #define PVR2_CASCADE_CHAN 2
  13. #define G2_CASCADE_CHAN 3
  14. /* PVR2 DMA Registers */
  15. #define PVR2_DMA_BASE 0xa05f6800
  16. #define PVR2_DMA_ADDR (PVR2_DMA_BASE + 0)
  17. #define PVR2_DMA_COUNT (PVR2_DMA_BASE + 4)
  18. #define PVR2_DMA_MODE (PVR2_DMA_BASE + 8)
  19. #define PVR2_DMA_LMMODE0 (PVR2_DMA_BASE + 132)
  20. #define PVR2_DMA_LMMODE1 (PVR2_DMA_BASE + 136)
  21. /* G2 DMA Register */
  22. #define G2_DMA_BASE 0xa05f7800
  23. #endif /* __ASM_SH_DREAMCAST_DMA_H */