diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/intel_mid_dma.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/intel_mid_dma.h b/include/linux/intel_mid_dma.h index d9d08b6269b6..befe3fbd9e28 100644 --- a/include/linux/intel_mid_dma.h +++ b/include/linux/intel_mid_dma.h | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | #include <linux/dmaengine.h> | 28 | #include <linux/dmaengine.h> |
29 | 29 | ||
30 | #define DMA_PREP_CIRCULAR_LIST (1 << 10) | ||
30 | /*DMA transaction width, src and dstn width would be same | 31 | /*DMA transaction width, src and dstn width would be same |
31 | The DMA length must be width aligned, | 32 | The DMA length must be width aligned, |
32 | for 32 bit width the length must be 32 bit (4bytes) aligned only*/ | 33 | for 32 bit width the length must be 32 bit (4bytes) aligned only*/ |
@@ -69,6 +70,7 @@ enum intel_mid_dma_msize { | |||
69 | * @cfg_mode: DMA data transfer mode (per-per/mem-per/mem-mem) | 70 | * @cfg_mode: DMA data transfer mode (per-per/mem-per/mem-mem) |
70 | * @src_msize: Source DMA burst size | 71 | * @src_msize: Source DMA burst size |
71 | * @dst_msize: Dst DMA burst size | 72 | * @dst_msize: Dst DMA burst size |
73 | * @per_addr: Periphral address | ||
72 | * @device_instance: DMA peripheral device instance, we can have multiple | 74 | * @device_instance: DMA peripheral device instance, we can have multiple |
73 | * peripheral device connected to single DMAC | 75 | * peripheral device connected to single DMAC |
74 | */ | 76 | */ |
@@ -80,6 +82,7 @@ struct intel_mid_dma_slave { | |||
80 | enum intel_mid_dma_mode cfg_mode; /*mode configuration*/ | 82 | enum intel_mid_dma_mode cfg_mode; /*mode configuration*/ |
81 | enum intel_mid_dma_msize src_msize; /*size if src burst*/ | 83 | enum intel_mid_dma_msize src_msize; /*size if src burst*/ |
82 | enum intel_mid_dma_msize dst_msize; /*size of dst burst*/ | 84 | enum intel_mid_dma_msize dst_msize; /*size of dst burst*/ |
85 | dma_addr_t per_addr; /*Peripheral address*/ | ||
83 | unsigned int device_instance; /*0, 1 for periphral instance*/ | 86 | unsigned int device_instance; /*0, 1 for periphral instance*/ |
84 | }; | 87 | }; |
85 | 88 | ||