Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | AES_CR 0x00 |
#define | AES_CR_START (1 << 0) |
#define | AES_CR_SWRST (1 << 8) |
#define | AES_CR_LOADSEED (1 << 16) |
#define | AES_MR 0x04 |
#define | AES_MR_CYPHER_DEC (0 << 0) |
#define | AES_MR_CYPHER_ENC (1 << 0) |
#define | AES_MR_DUALBUFF (1 << 3) |
#define | AES_MR_PROCDLY_MASK (0xF << 4) |
#define | AES_MR_PROCDLY_OFFSET 4 |
#define | AES_MR_SMOD_MASK (0x3 << 8) |
#define | AES_MR_SMOD_MANUAL (0x0 << 8) |
#define | AES_MR_SMOD_AUTO (0x1 << 8) |
#define | AES_MR_SMOD_IDATAR0 (0x2 << 8) |
#define | AES_MR_KEYSIZE_MASK (0x3 << 10) |
#define | AES_MR_KEYSIZE_128 (0x0 << 10) |
#define | AES_MR_KEYSIZE_192 (0x1 << 10) |
#define | AES_MR_KEYSIZE_256 (0x2 << 10) |
#define | AES_MR_OPMOD_MASK (0x7 << 12) |
#define | AES_MR_OPMOD_ECB (0x0 << 12) |
#define | AES_MR_OPMOD_CBC (0x1 << 12) |
#define | AES_MR_OPMOD_OFB (0x2 << 12) |
#define | AES_MR_OPMOD_CFB (0x3 << 12) |
#define | AES_MR_OPMOD_CTR (0x4 << 12) |
#define | AES_MR_LOD (0x1 << 15) |
#define | AES_MR_CFBS_MASK (0x7 << 16) |
#define | AES_MR_CFBS_128b (0x0 << 16) |
#define | AES_MR_CFBS_64b (0x1 << 16) |
#define | AES_MR_CFBS_32b (0x2 << 16) |
#define | AES_MR_CFBS_16b (0x3 << 16) |
#define | AES_MR_CFBS_8b (0x4 << 16) |
#define | AES_MR_CKEY_MASK (0xF << 20) |
#define | AES_MR_CKEY_OFFSET 20 |
#define | AES_MR_CMTYP_MASK (0x1F << 24) |
#define | AES_MR_CMTYP_OFFSET 24 |
#define | AES_IER 0x10 |
#define | AES_IDR 0x14 |
#define | AES_IMR 0x18 |
#define | AES_ISR 0x1C |
#define | AES_INT_DATARDY (1 << 0) |
#define | AES_INT_URAD (1 << 8) |
#define | AES_ISR_URAT_MASK (0xF << 12) |
#define | AES_ISR_URAT_IDR_WR_PROC (0x0 << 12) |
#define | AES_ISR_URAT_ODR_RD_PROC (0x1 << 12) |
#define | AES_ISR_URAT_MR_WR_PROC (0x2 << 12) |
#define | AES_ISR_URAT_ODR_RD_SUBK (0x3 << 12) |
#define | AES_ISR_URAT_MR_WR_SUBK (0x4 << 12) |
#define | AES_ISR_URAT_WOR_RD (0x5 << 12) |
#define | AES_KEYWR(x) (0x20 + ((x) * 0x04)) |
#define | AES_IDATAR(x) (0x40 + ((x) * 0x04)) |
#define | AES_ODATAR(x) (0x50 + ((x) * 0x04)) |
#define | AES_IVR(x) (0x60 + ((x) * 0x04)) |
#define | AES_HW_VERSION 0xFC |
#define AES_CR 0x00 |
Definition at line 4 of file atmel-aes-regs.h.
#define AES_CR_LOADSEED (1 << 16) |
Definition at line 7 of file atmel-aes-regs.h.
#define AES_CR_START (1 << 0) |
Definition at line 5 of file atmel-aes-regs.h.
#define AES_CR_SWRST (1 << 8) |
Definition at line 6 of file atmel-aes-regs.h.
#define AES_HW_VERSION 0xFC |
Definition at line 60 of file atmel-aes-regs.h.
#define AES_IDATAR | ( | x | ) | (0x40 + ((x) * 0x04)) |
Definition at line 56 of file atmel-aes-regs.h.
#define AES_IDR 0x14 |
Definition at line 42 of file atmel-aes-regs.h.
#define AES_IER 0x10 |
Definition at line 41 of file atmel-aes-regs.h.
#define AES_IMR 0x18 |
Definition at line 43 of file atmel-aes-regs.h.
#define AES_INT_DATARDY (1 << 0) |
Definition at line 45 of file atmel-aes-regs.h.
#define AES_INT_URAD (1 << 8) |
Definition at line 46 of file atmel-aes-regs.h.
#define AES_ISR 0x1C |
Definition at line 44 of file atmel-aes-regs.h.
#define AES_ISR_URAT_IDR_WR_PROC (0x0 << 12) |
Definition at line 48 of file atmel-aes-regs.h.
#define AES_ISR_URAT_MASK (0xF << 12) |
Definition at line 47 of file atmel-aes-regs.h.
#define AES_ISR_URAT_MR_WR_PROC (0x2 << 12) |
Definition at line 50 of file atmel-aes-regs.h.
#define AES_ISR_URAT_MR_WR_SUBK (0x4 << 12) |
Definition at line 52 of file atmel-aes-regs.h.
#define AES_ISR_URAT_ODR_RD_PROC (0x1 << 12) |
Definition at line 49 of file atmel-aes-regs.h.
#define AES_ISR_URAT_ODR_RD_SUBK (0x3 << 12) |
Definition at line 51 of file atmel-aes-regs.h.
#define AES_ISR_URAT_WOR_RD (0x5 << 12) |
Definition at line 53 of file atmel-aes-regs.h.
#define AES_IVR | ( | x | ) | (0x60 + ((x) * 0x04)) |
Definition at line 58 of file atmel-aes-regs.h.
#define AES_KEYWR | ( | x | ) | (0x20 + ((x) * 0x04)) |
Definition at line 55 of file atmel-aes-regs.h.
#define AES_MR 0x04 |
Definition at line 9 of file atmel-aes-regs.h.
#define AES_MR_CFBS_128b (0x0 << 16) |
Definition at line 31 of file atmel-aes-regs.h.
#define AES_MR_CFBS_16b (0x3 << 16) |
Definition at line 34 of file atmel-aes-regs.h.
#define AES_MR_CFBS_32b (0x2 << 16) |
Definition at line 33 of file atmel-aes-regs.h.
#define AES_MR_CFBS_64b (0x1 << 16) |
Definition at line 32 of file atmel-aes-regs.h.
#define AES_MR_CFBS_8b (0x4 << 16) |
Definition at line 35 of file atmel-aes-regs.h.
#define AES_MR_CFBS_MASK (0x7 << 16) |
Definition at line 30 of file atmel-aes-regs.h.
#define AES_MR_CKEY_MASK (0xF << 20) |
Definition at line 36 of file atmel-aes-regs.h.
#define AES_MR_CKEY_OFFSET 20 |
Definition at line 37 of file atmel-aes-regs.h.
#define AES_MR_CMTYP_MASK (0x1F << 24) |
Definition at line 38 of file atmel-aes-regs.h.
#define AES_MR_CMTYP_OFFSET 24 |
Definition at line 39 of file atmel-aes-regs.h.
#define AES_MR_CYPHER_DEC (0 << 0) |
Definition at line 10 of file atmel-aes-regs.h.
#define AES_MR_CYPHER_ENC (1 << 0) |
Definition at line 11 of file atmel-aes-regs.h.
#define AES_MR_DUALBUFF (1 << 3) |
Definition at line 12 of file atmel-aes-regs.h.
#define AES_MR_KEYSIZE_128 (0x0 << 10) |
Definition at line 20 of file atmel-aes-regs.h.
#define AES_MR_KEYSIZE_192 (0x1 << 10) |
Definition at line 21 of file atmel-aes-regs.h.
#define AES_MR_KEYSIZE_256 (0x2 << 10) |
Definition at line 22 of file atmel-aes-regs.h.
#define AES_MR_KEYSIZE_MASK (0x3 << 10) |
Definition at line 19 of file atmel-aes-regs.h.
#define AES_MR_LOD (0x1 << 15) |
Definition at line 29 of file atmel-aes-regs.h.
#define AES_MR_OPMOD_CBC (0x1 << 12) |
Definition at line 25 of file atmel-aes-regs.h.
#define AES_MR_OPMOD_CFB (0x3 << 12) |
Definition at line 27 of file atmel-aes-regs.h.
#define AES_MR_OPMOD_CTR (0x4 << 12) |
Definition at line 28 of file atmel-aes-regs.h.
#define AES_MR_OPMOD_ECB (0x0 << 12) |
Definition at line 24 of file atmel-aes-regs.h.
#define AES_MR_OPMOD_MASK (0x7 << 12) |
Definition at line 23 of file atmel-aes-regs.h.
#define AES_MR_OPMOD_OFB (0x2 << 12) |
Definition at line 26 of file atmel-aes-regs.h.
#define AES_MR_PROCDLY_MASK (0xF << 4) |
Definition at line 13 of file atmel-aes-regs.h.
#define AES_MR_PROCDLY_OFFSET 4 |
Definition at line 14 of file atmel-aes-regs.h.
#define AES_MR_SMOD_AUTO (0x1 << 8) |
Definition at line 17 of file atmel-aes-regs.h.
#define AES_MR_SMOD_IDATAR0 (0x2 << 8) |
Definition at line 18 of file atmel-aes-regs.h.
#define AES_MR_SMOD_MANUAL (0x0 << 8) |
Definition at line 16 of file atmel-aes-regs.h.
#define AES_MR_SMOD_MASK (0x3 << 8) |
Definition at line 15 of file atmel-aes-regs.h.
#define AES_ODATAR | ( | x | ) | (0x50 + ((x) * 0x04)) |
Definition at line 57 of file atmel-aes-regs.h.