Path: blob/master/arch/sh/include/mach-dreamcast/mach/dma.h
15162 views
/*1* include/asm-sh/dreamcast/dma.h2*3* Copyright (C) 2003 Paul Mundt4*5* This file is subject to the terms and conditions of the GNU General Public6* License. See the file "COPYING" in the main directory of this archive7* for more details.8*/9#ifndef __ASM_SH_DREAMCAST_DMA_H10#define __ASM_SH_DREAMCAST_DMA_H1112/* Number of DMA channels */13#define ONCHIP_NR_DMA_CHANNELS 414#define G2_NR_DMA_CHANNELS 415#define PVR2_NR_DMA_CHANNELS 11617/* Channels for cascading */18#define PVR2_CASCADE_CHAN 219#define G2_CASCADE_CHAN 32021/* PVR2 DMA Registers */22#define PVR2_DMA_BASE 0xa05f680023#define PVR2_DMA_ADDR (PVR2_DMA_BASE + 0)24#define PVR2_DMA_COUNT (PVR2_DMA_BASE + 4)25#define PVR2_DMA_MODE (PVR2_DMA_BASE + 8)26#define PVR2_DMA_LMMODE0 (PVR2_DMA_BASE + 132)27#define PVR2_DMA_LMMODE1 (PVR2_DMA_BASE + 136)2829/* G2 DMA Register */30#define G2_DMA_BASE 0xa05f78003132#endif /* __ASM_SH_DREAMCAST_DMA_H */33343536