dma.h 600 B

123456789101112131415161718192021222324252627
  1. /* mach/dma.h - arch-specific DMA defines
  2. *
  3. * Copyright 2004-2008 Analog Devices Inc.
  4. *
  5. * Licensed under the GPL-2 or later.
  6. */
  7. #ifndef _MACH_DMA_H_
  8. #define _MACH_DMA_H_
  9. #define MAX_DMA_CHANNELS 12
  10. #define CH_PPI 0
  11. #define CH_SPORT0_RX 1
  12. #define CH_SPORT0_TX 2
  13. #define CH_SPORT1_RX 3
  14. #define CH_SPORT1_TX 4
  15. #define CH_SPI 5
  16. #define CH_UART0_RX 6
  17. #define CH_UART0_TX 7
  18. #define CH_MEM_STREAM0_DEST 8 /* TX */
  19. #define CH_MEM_STREAM0_SRC 9 /* RX */
  20. #define CH_MEM_STREAM1_DEST 10 /* TX */
  21. #define CH_MEM_STREAM1_SRC 11 /* RX */
  22. #endif