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