1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __LINUX_CRYPTO_ATMEL_H 3 #define __LINUX_CRYPTO_ATMEL_H 4 5 #include <linux/platform_data/dma-atmel.h> 6 7 /** 8 * struct crypto_dma_data - DMA data for AES/TDES/SHA 9 */ 10 struct crypto_dma_data { 11 struct at_dma_slave txdata; 12 struct at_dma_slave rxdata; 13 }; 14 15 /** 16 * struct crypto_platform_data - board-specific AES/TDES/SHA configuration 17 * @dma_slave: DMA slave interface to use in data transfers. 18 */ 19 struct crypto_platform_data { 20 struct crypto_dma_data *dma_slave; 21 }; 22 23 #endif /* __LINUX_CRYPTO_ATMEL_H */ 24