-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: AT91SAM9G45: add crypto peripherals
Signed-off-by: Nicolas Royer <nicolas@eukrea.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Eric Bénard <eric@eukrea.com> Tested-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
- Loading branch information
Nicolas Royer
authored and
Herbert Xu
committed
Jul 11, 2012
1 parent
6c79294
commit 815e972
Showing
4 changed files
with
164 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 */ |