2009-01-07 23:14:38 +08:00
|
|
|
/* mach/dma.h - arch-specific DMA defines
|
2007-06-21 11:34:16 +08:00
|
|
|
*
|
2009-01-07 23:14:38 +08:00
|
|
|
* Copyright 2004-2008 Analog Devices Inc.
|
2007-06-21 11:34:16 +08:00
|
|
|
*
|
2009-01-07 23:14:38 +08:00
|
|
|
* Licensed under the GPL-2 or later.
|
2007-06-21 11:34:16 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _MACH_DMA_H_
|
|
|
|
#define _MACH_DMA_H_
|
|
|
|
|
|
|
|
#define CH_SPORT0_RX 0
|
|
|
|
#define CH_SPORT0_TX 1
|
|
|
|
#define CH_SPORT1_RX 2
|
|
|
|
#define CH_SPORT1_TX 3
|
|
|
|
#define CH_SPI0 4
|
|
|
|
#define CH_SPI1 5
|
|
|
|
#define CH_UART0_RX 6
|
|
|
|
#define CH_UART0_TX 7
|
|
|
|
#define CH_UART1_RX 8
|
|
|
|
#define CH_UART1_TX 9
|
|
|
|
#define CH_ATAPI_RX 10
|
|
|
|
#define CH_ATAPI_TX 11
|
|
|
|
#define CH_EPPI0 12
|
|
|
|
#define CH_EPPI1 13
|
|
|
|
#define CH_EPPI2 14
|
|
|
|
#define CH_PIXC_IMAGE 15
|
|
|
|
#define CH_PIXC_OVERLAY 16
|
|
|
|
#define CH_PIXC_OUTPUT 17
|
|
|
|
#define CH_SPORT2_RX 18
|
2008-02-02 16:31:00 +08:00
|
|
|
#define CH_UART2_RX 18
|
2007-06-21 11:34:16 +08:00
|
|
|
#define CH_SPORT2_TX 19
|
2008-02-02 16:31:00 +08:00
|
|
|
#define CH_UART2_TX 19
|
2007-06-21 11:34:16 +08:00
|
|
|
#define CH_SPORT3_RX 20
|
2008-02-02 16:31:00 +08:00
|
|
|
#define CH_UART3_RX 20
|
2007-06-21 11:34:16 +08:00
|
|
|
#define CH_SPORT3_TX 21
|
2008-02-02 16:31:00 +08:00
|
|
|
#define CH_UART3_TX 21
|
2007-06-21 11:34:16 +08:00
|
|
|
#define CH_SDH 22
|
2007-10-03 04:56:05 +08:00
|
|
|
#define CH_NFC 22
|
2007-06-21 11:34:16 +08:00
|
|
|
#define CH_SPI2 23
|
|
|
|
|
2007-07-12 22:41:45 +08:00
|
|
|
#define CH_MEM_STREAM0_DEST 24
|
|
|
|
#define CH_MEM_STREAM0_SRC 25
|
|
|
|
#define CH_MEM_STREAM1_DEST 26
|
|
|
|
#define CH_MEM_STREAM1_SRC 27
|
|
|
|
#define CH_MEM_STREAM2_DEST 28
|
|
|
|
#define CH_MEM_STREAM2_SRC 29
|
|
|
|
#define CH_MEM_STREAM3_DEST 30
|
|
|
|
#define CH_MEM_STREAM3_SRC 31
|
|
|
|
|
2009-01-07 23:14:39 +08:00
|
|
|
#define MAX_DMA_CHANNELS 32
|
2007-06-21 11:34:16 +08:00
|
|
|
|
|
|
|
#endif
|