Use dentry_path() to create full path to inode object
[pohmelfs.git] / arch / avr32 / mach-at32ap / include / mach / atmel-mci.h
bloba9b38967f70365309e98d04f85da2414808aa756
1 #ifndef __MACH_ATMEL_MCI_H
2 #define __MACH_ATMEL_MCI_H
4 #include <linux/dw_dmac.h>
6 /**
7 * struct mci_dma_data - DMA data for MCI interface
8 */
9 struct mci_dma_data {
10 struct dw_dma_slave sdata;
13 /* accessor macros */
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 { \
18 if (s) { \
19 (s)->sdata.tx_reg = (t); \
20 (s)->sdata.rx_reg = (r); \
21 } \
22 } while (0)
24 #endif /* __MACH_ATMEL_MCI_H */