mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 06:04:14 +08:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
35 lines
906 B
C
35 lines
906 B
C
/*
|
|
* include/asm-sh/dreamcast/dma.h
|
|
*
|
|
* Copyright (C) 2003 Paul Mundt
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*/
|
|
#ifndef __ASM_SH_DREAMCAST_DMA_H
|
|
#define __ASM_SH_DREAMCAST_DMA_H
|
|
|
|
/* Number of DMA channels */
|
|
#define ONCHIP_NR_DMA_CHANNELS 4
|
|
#define G2_NR_DMA_CHANNELS 4
|
|
#define PVR2_NR_DMA_CHANNELS 1
|
|
|
|
/* Channels for cascading */
|
|
#define PVR2_CASCADE_CHAN 2
|
|
#define G2_CASCADE_CHAN 3
|
|
|
|
/* PVR2 DMA Registers */
|
|
#define PVR2_DMA_BASE 0xa05f6800
|
|
#define PVR2_DMA_ADDR (PVR2_DMA_BASE + 0)
|
|
#define PVR2_DMA_COUNT (PVR2_DMA_BASE + 4)
|
|
#define PVR2_DMA_MODE (PVR2_DMA_BASE + 8)
|
|
#define PVR2_DMA_LMMODE0 (PVR2_DMA_BASE + 132)
|
|
#define PVR2_DMA_LMMODE1 (PVR2_DMA_BASE + 136)
|
|
|
|
/* G2 DMA Register */
|
|
#define G2_DMA_BASE 0xa05f7800
|
|
|
|
#endif /* __ASM_SH_DREAMCAST_DMA_H */
|
|
|