Path: blob/master/arch/sh/include/asm/dma-register.h
15125 views
/*1* Common header for the legacy SH DMA driver and the new dmaengine driver2*3* extracted from arch/sh/include/asm/dma-sh.h:4*5* Copyright (C) 2000 Takashi YOSHII6* Copyright (C) 2003 Paul Mundt7*8* This file is subject to the terms and conditions of the GNU General Public9* License. See the file "COPYING" in the main directory of this archive10* for more details.11*/12#ifndef DMA_REGISTER_H13#define DMA_REGISTER_H1415/* DMA register */16#define SAR 0x0017#define DAR 0x0418#define TCR 0x0819#define CHCR 0x0C20#define DMAOR 0x402122/* DMAOR definitions */23#define DMAOR_AE 0x0000000424#define DMAOR_NMIF 0x0000000225#define DMAOR_DME 0x000000012627/* Definitions for the SuperH DMAC */28#define REQ_L 0x0000000029#define REQ_E 0x0008000030#define RACK_H 0x0000000031#define RACK_L 0x0004000032#define ACK_R 0x0000000033#define ACK_W 0x0002000034#define ACK_H 0x0000000035#define ACK_L 0x0001000036#define DM_INC 0x0000400037#define DM_DEC 0x0000800038#define DM_FIX 0x0000c00039#define SM_INC 0x0000100040#define SM_DEC 0x0000200041#define SM_FIX 0x0000300042#define RS_IN 0x0000020043#define RS_OUT 0x0000030044#define TS_BLK 0x0000004045#define TM_BUR 0x0000002046#define CHCR_DE 0x0000000147#define CHCR_TE 0x0000000248#define CHCR_IE 0x000000044950#endif515253