Path: blob/master/arch/sh/include/mach-dreamcast/mach/dma.h
26498 views
/* SPDX-License-Identifier: GPL-2.01*2* include/asm-sh/dreamcast/dma.h3*4* Copyright (C) 2003 Paul Mundt5*/6#ifndef __ASM_SH_DREAMCAST_DMA_H7#define __ASM_SH_DREAMCAST_DMA_H89/* Number of DMA channels */10#define G2_NR_DMA_CHANNELS 41112/* Channels for cascading */13#define PVR2_CASCADE_CHAN 214#define G2_CASCADE_CHAN 31516/* PVR2 DMA Registers */17#define PVR2_DMA_BASE 0xa05f680018#define PVR2_DMA_ADDR (PVR2_DMA_BASE + 0)19#define PVR2_DMA_COUNT (PVR2_DMA_BASE + 4)20#define PVR2_DMA_MODE (PVR2_DMA_BASE + 8)21#define PVR2_DMA_LMMODE0 (PVR2_DMA_BASE + 132)22#define PVR2_DMA_LMMODE1 (PVR2_DMA_BASE + 136)2324/* G2 DMA Register */25#define G2_DMA_BASE 0xa05f78002627#endif /* __ASM_SH_DREAMCAST_DMA_H */28293031