Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * linux/include/asm-arm/imxads/dma.h |
| 3 | * |
| 4 | * Copyright (C) 1997,1998 Russell King |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 | */ |
Pavel Pisa | 999331a | 2006-04-02 16:58:37 +0100 | [diff] [blame] | 20 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #ifndef __ASM_ARCH_DMA_H |
| 22 | #define __ASM_ARCH_DMA_H |
| 23 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | typedef enum { |
| 25 | DMA_PRIO_HIGH = 0, |
Pavel Pisa | 999331a | 2006-04-02 16:58:37 +0100 | [diff] [blame] | 26 | DMA_PRIO_MEDIUM = 1, |
| 27 | DMA_PRIO_LOW = 2 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | } imx_dma_prio; |
| 29 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | #define DMA_REQ_UART3_T 2 |
| 31 | #define DMA_REQ_UART3_R 3 |
| 32 | #define DMA_REQ_SSI2_T 4 |
| 33 | #define DMA_REQ_SSI2_R 5 |
| 34 | #define DMA_REQ_CSI_STAT 6 |
| 35 | #define DMA_REQ_CSI_R 7 |
| 36 | #define DMA_REQ_MSHC 8 |
| 37 | #define DMA_REQ_DSPA_DCT_DOUT 9 |
| 38 | #define DMA_REQ_DSPA_DCT_DIN 10 |
| 39 | #define DMA_REQ_DSPA_MAC 11 |
| 40 | #define DMA_REQ_EXT 12 |
| 41 | #define DMA_REQ_SDHC 13 |
| 42 | #define DMA_REQ_SPI1_R 14 |
| 43 | #define DMA_REQ_SPI1_T 15 |
| 44 | #define DMA_REQ_SSI_T 16 |
| 45 | #define DMA_REQ_SSI_R 17 |
| 46 | #define DMA_REQ_ASP_DAC 18 |
| 47 | #define DMA_REQ_ASP_ADC 19 |
| 48 | #define DMA_REQ_USP_EP(x) (20+(x)) |
| 49 | #define DMA_REQ_SPI2_R 26 |
| 50 | #define DMA_REQ_SPI2_T 27 |
| 51 | #define DMA_REQ_UART2_T 28 |
| 52 | #define DMA_REQ_UART2_R 29 |
| 53 | #define DMA_REQ_UART1_T 30 |
| 54 | #define DMA_REQ_UART1_R 31 |
| 55 | |
| 56 | #endif /* _ASM_ARCH_DMA_H */ |