mv_xor.h 508 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Marvell XOR platform device data definition file.
  3. */
  4. #ifndef __ASM_PLAT_ORION_MV_XOR_H
  5. #define __ASM_PLAT_ORION_MV_XOR_H
  6. #include <linux/dmaengine.h>
  7. #include <linux/mbus.h>
  8. #define MV_XOR_SHARED_NAME "mv_xor_shared"
  9. #define MV_XOR_NAME "mv_xor"
  10. struct mbus_dram_target_info;
  11. struct mv_xor_platform_shared_data {
  12. struct mbus_dram_target_info *dram;
  13. };
  14. struct mv_xor_platform_data {
  15. struct platform_device *shared;
  16. int hw_id;
  17. dma_cap_mask_t cap_mask;
  18. size_t pool_size;
  19. };
  20. #endif