Commit | Line | Data |
---|---|---|
68fcfe7f LPC |
1 | /* |
2 | * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> | |
3 | * JZ7420/JZ4740 DMA definitions | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or modify it | |
70342287 | 6 | * under the terms of the GNU General Public License as published by the |
68fcfe7f LPC |
7 | * Free Software Foundation; either version 2 of the License, or (at your |
8 | * option) any later version. | |
9 | * | |
10 | * You should have received a copy of the GNU General Public License along | |
11 | * with this program; if not, write to the Free Software Foundation, Inc., | |
12 | * 675 Mass Ave, Cambridge, MA 02139, USA. | |
13 | * | |
14 | */ | |
15 | ||
16 | #ifndef __ASM_MACH_JZ4740_DMA_H__ | |
17 | #define __ASM_MACH_JZ4740_DMA_H__ | |
18 | ||
68fcfe7f LPC |
19 | enum jz4740_dma_request_type { |
20 | JZ4740_DMA_TYPE_AUTO_REQUEST = 8, | |
21 | JZ4740_DMA_TYPE_UART_TRANSMIT = 20, | |
22 | JZ4740_DMA_TYPE_UART_RECEIVE = 21, | |
23 | JZ4740_DMA_TYPE_SPI_TRANSMIT = 22, | |
24 | JZ4740_DMA_TYPE_SPI_RECEIVE = 23, | |
68fcfe7f LPC |
25 | JZ4740_DMA_TYPE_MMC_TRANSMIT = 26, |
26 | JZ4740_DMA_TYPE_MMC_RECEIVE = 27, | |
27 | JZ4740_DMA_TYPE_TCU = 28, | |
28 | JZ4740_DMA_TYPE_SADC = 29, | |
29 | JZ4740_DMA_TYPE_SLCD = 30, | |
30 | }; | |
31 | ||
70342287 | 32 | #endif /* __ASM_JZ4740_DMA_H__ */ |