crypto-ux500.h 500 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (C) ST-Ericsson SA 2011
  3. *
  4. * Author: Joakim Bech <joakim.xx.bech@stericsson.com> for ST-Ericsson
  5. * License terms: GNU General Public License (GPL) version 2
  6. */
  7. #ifndef _CRYPTO_UX500_H
  8. #include <linux/dmaengine.h>
  9. #include <plat/ste_dma40.h>
  10. struct hash_platform_data {
  11. void *mem_to_engine;
  12. bool (*dma_filter)(struct dma_chan *chan, void *filter_param);
  13. };
  14. struct cryp_platform_data {
  15. struct stedma40_chan_cfg mem_to_engine;
  16. struct stedma40_chan_cfg engine_to_mem;
  17. };
  18. #endif