Lars-Peter Clausen | 68fcfe7 | 2010-06-19 04:08:14 +0000 | [diff] [blame] | 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 |
Ralf Baechle | 7034228 | 2013-01-22 12:59:30 +0100 | [diff] [blame] | 6 | * under the terms of the GNU General Public License as published by the |
Lars-Peter Clausen | 68fcfe7 | 2010-06-19 04:08:14 +0000 | [diff] [blame] | 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 | |
Lars-Peter Clausen | 68fcfe7 | 2010-06-19 04:08:14 +0000 | [diff] [blame] | 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, |
Lars-Peter Clausen | 68fcfe7 | 2010-06-19 04:08:14 +0000 | [diff] [blame] | 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 | |
Ralf Baechle | 7034228 | 2013-01-22 12:59:30 +0100 | [diff] [blame] | 32 | #endif /* __ASM_JZ4740_DMA_H__ */ |