PageRenderTime 32ms CodeModel.GetById 27ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/blackfin/mach-bf537/include/mach/dma.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35
C++ Header | 31 lines | 20 code | 5 blank | 6 comment | 0 complexity | 2d98dbde5f6661c87b9eea281af6d332 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 1/* mach/dma.h - arch-specific DMA defines
 2 *
 3 * Copyright 2004-2008 Analog Devices Inc.
 4 *
 5 * Licensed under the GPL-2 or later.
 6 */
 7
 8#ifndef _MACH_DMA_H_
 9#define _MACH_DMA_H_
10
11#define MAX_DMA_CHANNELS 16
12
13#define CH_PPI 			    0
14#define CH_EMAC_RX 		    1
15#define CH_EMAC_TX 		    2
16#define CH_SPORT0_RX 		3
17#define CH_SPORT0_TX 		4
18#define CH_SPORT1_RX 		5
19#define CH_SPORT1_TX 		6
20#define CH_SPI 			    7
21#define CH_UART0_RX 		8
22#define CH_UART0_TX 		9
23#define CH_UART1_RX 		10
24#define CH_UART1_TX 		11
25
26#define CH_MEM_STREAM0_DEST	12	 /* TX */
27#define CH_MEM_STREAM0_SRC  	13	 /* RX */
28#define CH_MEM_STREAM1_DEST	14	 /* TX */
29#define CH_MEM_STREAM1_SRC 	15	 /* RX */
30
31#endif