aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/atmel-aes.h
blob: ab68082fbcb03b4f404236b49fabf648d3f1a0d2 (plain) (blame)
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 <linux/platform_data/dma-atmel.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 */