1 #ifndef __MACH_ATMEL_MCI_H
2 #define __MACH_ATMEL_MCI_H
4 #include <mach/at_hdmac.h>
7 * struct mci_dma_data - DMA data for MCI interface
10 struct at_dma_slave sdata
;
14 #define slave_data_ptr(s) (&(s)->sdata)
15 #define find_slave_dev(s) ((s)->sdata.dma_dev)
17 #define setup_dma_addr(s, t, r) do { \
19 (s)->sdata.tx_reg = (t); \
20 (s)->sdata.rx_reg = (r); \
24 #endif /* __MACH_ATMEL_MCI_H */