dmaengine: DMA engine driver for Marvell XOR engine
[linux-2.6.git] / include / asm-arm / plat-orion / mv_xor.h
1 /*
2  * Marvell XOR platform device data definition file.
3  */
4
5 #ifndef __ASM_PLAT_ORION_MV_XOR_H
6 #define __ASM_PLAT_ORION_MV_XOR_H
7
8 #include <linux/dmaengine.h>
9 #include <linux/mbus.h>
10
11 #define MV_XOR_SHARED_NAME      "mv_xor_shared"
12 #define MV_XOR_NAME             "mv_xor"
13
14 struct mbus_dram_target_info;
15
16 struct mv_xor_platform_shared_data {
17         struct mbus_dram_target_info    *dram;
18 };
19
20 struct mv_xor_platform_data {
21         struct platform_device          *shared;
22         int                             hw_id;
23         dma_cap_mask_t                  cap_mask;
24         size_t                          pool_size;
25 };
26
27
28 #endif