1 #ifndef _ASM_ARCH_CRIS_DMA_H
2 #define _ASM_ARCH_CRIS_DMA_H
4 /* Defines for using and allocating dma channels. */
6 #define MAX_DMA_CHANNELS 12 /* 8 and 10 not used. */
22 int crisv32_request_dma(unsigned int dmanr
, const char *device_id
,
23 unsigned options
, unsigned bandwidth
, enum dma_owner owner
);
24 void crisv32_free_dma(unsigned int dmanr
);
26 /* Masks used by crisv32_request_dma options: */
27 #define DMA_VERBOSE_ON_ERROR 1
28 #define DMA_PANIC_ON_ERROR (2|DMA_VERBOSE_ON_ERROR)
31 #endif /* _ASM_ARCH_CRIS_DMA_H */