linux-stable/arch/sh/include/mach-dreamcast/mach/dma.h
Kuninori Morimoto 6a0abce4c4 sh: include: convert to SPDX identifiers
Update license to use SPDX-License-Identifier instead of verbose license
text.

Link: http://lkml.kernel.org/r/87ftvccszx.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Cc: Rich Felker <dalias@libc.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-12-28 12:11:45 -08:00

29 lines
702 B
C

/* SPDX-License-Identifier: GPL-2.0
*
* include/asm-sh/dreamcast/dma.h
*
* Copyright (C) 2003 Paul Mundt
*/
#ifndef __ASM_SH_DREAMCAST_DMA_H
#define __ASM_SH_DREAMCAST_DMA_H
/* Number of DMA channels */
#define G2_NR_DMA_CHANNELS 4
/* 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 */