2012-07-02 01:19:43 +08:00
|
|
|
#ifndef __LINUX_ATMEL_AES_H
|
|
|
|
#define __LINUX_ATMEL_AES_H
|
|
|
|
|
2012-08-24 21:10:04 +08:00
|
|
|
#include <linux/platform_data/dma-atmel.h>
|
2012-07-02 01:19:43 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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 */
|