diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/dma-dw.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/include/linux/platform_data/dma-dw.h b/include/linux/platform_data/dma-dw.h index bc411a1bf8e7..d0c97da66e22 100644 --- a/include/linux/platform_data/dma-dw.h +++ b/include/linux/platform_data/dma-dw.h | |||
| @@ -56,37 +56,6 @@ struct dw_dma_platform_data { | |||
| 56 | unsigned char data_width[4]; | 56 | unsigned char data_width[4]; |
| 57 | }; | 57 | }; |
| 58 | 58 | ||
| 59 | /* bursts size */ | ||
| 60 | enum dw_dma_msize { | ||
| 61 | DW_DMA_MSIZE_1, | ||
| 62 | DW_DMA_MSIZE_4, | ||
| 63 | DW_DMA_MSIZE_8, | ||
| 64 | DW_DMA_MSIZE_16, | ||
| 65 | DW_DMA_MSIZE_32, | ||
| 66 | DW_DMA_MSIZE_64, | ||
| 67 | DW_DMA_MSIZE_128, | ||
| 68 | DW_DMA_MSIZE_256, | ||
| 69 | }; | ||
| 70 | |||
| 71 | /* Platform-configurable bits in CFG_HI */ | ||
| 72 | #define DWC_CFGH_FCMODE (1 << 0) | ||
| 73 | #define DWC_CFGH_FIFO_MODE (1 << 1) | ||
| 74 | #define DWC_CFGH_PROTCTL(x) ((x) << 2) | ||
| 75 | #define DWC_CFGH_SRC_PER(x) ((x) << 7) | ||
| 76 | #define DWC_CFGH_DST_PER(x) ((x) << 11) | ||
| 77 | |||
| 78 | /* Platform-configurable bits in CFG_LO */ | ||
| 79 | #define DWC_CFGL_LOCK_CH_XFER (0 << 12) /* scope of LOCK_CH */ | ||
| 80 | #define DWC_CFGL_LOCK_CH_BLOCK (1 << 12) | ||
| 81 | #define DWC_CFGL_LOCK_CH_XACT (2 << 12) | ||
| 82 | #define DWC_CFGL_LOCK_BUS_XFER (0 << 14) /* scope of LOCK_BUS */ | ||
| 83 | #define DWC_CFGL_LOCK_BUS_BLOCK (1 << 14) | ||
| 84 | #define DWC_CFGL_LOCK_BUS_XACT (2 << 14) | ||
| 85 | #define DWC_CFGL_LOCK_CH (1 << 15) /* channel lockout */ | ||
| 86 | #define DWC_CFGL_LOCK_BUS (1 << 16) /* busmaster lockout */ | ||
| 87 | #define DWC_CFGL_HS_DST_POL (1 << 18) /* dst handshake active low */ | ||
| 88 | #define DWC_CFGL_HS_SRC_POL (1 << 19) /* src handshake active low */ | ||
| 89 | |||
| 90 | /* DMA API extensions */ | 59 | /* DMA API extensions */ |
| 91 | struct dw_cyclic_desc { | 60 | struct dw_cyclic_desc { |
| 92 | struct dw_desc **desc; | 61 | struct dw_desc **desc; |
