dma.h 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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
  6. * under the terms of the GNU General Public License as published by the
  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. #ifndef __ASM_MACH_JZ4740_DMA_H__
  16. #define __ASM_MACH_JZ4740_DMA_H__
  17. enum jz4740_dma_request_type {
  18. JZ4740_DMA_TYPE_AUTO_REQUEST = 8,
  19. JZ4740_DMA_TYPE_UART_TRANSMIT = 20,
  20. JZ4740_DMA_TYPE_UART_RECEIVE = 21,
  21. JZ4740_DMA_TYPE_SPI_TRANSMIT = 22,
  22. JZ4740_DMA_TYPE_SPI_RECEIVE = 23,
  23. JZ4740_DMA_TYPE_MMC_TRANSMIT = 26,
  24. JZ4740_DMA_TYPE_MMC_RECEIVE = 27,
  25. JZ4740_DMA_TYPE_TCU = 28,
  26. JZ4740_DMA_TYPE_SADC = 29,
  27. JZ4740_DMA_TYPE_SLCD = 30,
  28. };
  29. #endif /* __ASM_JZ4740_DMA_H__ */