mv_xor.h 536 B

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