mv_xor.h 427 B

123456789101112131415161718192021222324
  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 mv_xor_platform_data {
  13. struct platform_device *shared;
  14. int hw_id;
  15. dma_cap_mask_t cap_mask;
  16. size_t pool_size;
  17. };
  18. #endif