summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/atmel-aes.h
blob: e7a1949bad2670b277ee95661cd7176621b0843b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __LINUX_ATMEL_AES_H
#define __LINUX_ATMEL_AES_H

#include <mach/at_hdmac.h>

/**
 * struct aes_dma_data - DMA data for AES
 */
struct aes_dma_data {
	struct at_dma_slave	txdata;
	struct at_dma_slave	rxdata;
};

/**
 * struct aes_platform_data - board-specific AES configuration
 * @dma_slave: DMA slave interface to use in data transfers.
 */
struct aes_platform_data {
	struct aes_dma_data	*dma_slave;
};

#endif /* __LINUX_ATMEL_AES_H */