Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | TDES_CR 0x00 |
#define | TDES_CR_START (1 << 0) |
#define | TDES_CR_SWRST (1 << 8) |
#define | TDES_CR_LOADSEED (1 << 16) |
#define | TDES_MR 0x04 |
#define | TDES_MR_CYPHER_DEC (0 << 0) |
#define | TDES_MR_CYPHER_ENC (1 << 0) |
#define | TDES_MR_TDESMOD_MASK (0x3 << 1) |
#define | TDES_MR_TDESMOD_DES (0x0 << 1) |
#define | TDES_MR_TDESMOD_TDES (0x1 << 1) |
#define | TDES_MR_TDESMOD_XTEA (0x2 << 1) |
#define | TDES_MR_KEYMOD_3KEY (0 << 4) |
#define | TDES_MR_KEYMOD_2KEY (1 << 4) |
#define | TDES_MR_SMOD_MASK (0x3 << 8) |
#define | TDES_MR_SMOD_MANUAL (0x0 << 8) |
#define | TDES_MR_SMOD_AUTO (0x1 << 8) |
#define | TDES_MR_SMOD_PDC (0x2 << 8) |
#define | TDES_MR_OPMOD_MASK (0x3 << 12) |
#define | TDES_MR_OPMOD_ECB (0x0 << 12) |
#define | TDES_MR_OPMOD_CBC (0x1 << 12) |
#define | TDES_MR_OPMOD_OFB (0x2 << 12) |
#define | TDES_MR_OPMOD_CFB (0x3 << 12) |
#define | TDES_MR_LOD (0x1 << 15) |
#define | TDES_MR_CFBS_MASK (0x3 << 16) |
#define | TDES_MR_CFBS_64b (0x0 << 16) |
#define | TDES_MR_CFBS_32b (0x1 << 16) |
#define | TDES_MR_CFBS_16b (0x2 << 16) |
#define | TDES_MR_CFBS_8b (0x3 << 16) |
#define | TDES_MR_CKEY_MASK (0xF << 20) |
#define | TDES_MR_CKEY_OFFSET 20 |
#define | TDES_MR_CTYPE_MASK (0x3F << 24) |
#define | TDES_MR_CTYPE_OFFSET 24 |
#define | TDES_IER 0x10 |
#define | TDES_IDR 0x14 |
#define | TDES_IMR 0x18 |
#define | TDES_ISR 0x1C |
#define | TDES_INT_DATARDY (1 << 0) |
#define | TDES_INT_ENDRX (1 << 1) |
#define | TDES_INT_ENDTX (1 << 2) |
#define | TDES_INT_RXBUFF (1 << 3) |
#define | TDES_INT_TXBUFE (1 << 4) |
#define | TDES_INT_URAD (1 << 8) |
#define | TDES_ISR_URAT_MASK (0x3 << 12) |
#define | TDES_ISR_URAT_IDR (0x0 << 12) |
#define | TDES_ISR_URAT_ODR (0x1 << 12) |
#define | TDES_ISR_URAT_MR (0x2 << 12) |
#define | TDES_ISR_URAT_WO (0x3 << 12) |
#define | TDES_KEY1W1R 0x20 |
#define | TDES_KEY1W2R 0x24 |
#define | TDES_KEY2W1R 0x28 |
#define | TDES_KEY2W2R 0x2C |
#define | TDES_KEY3W1R 0x30 |
#define | TDES_KEY3W2R 0x34 |
#define | TDES_IDATA1R 0x40 |
#define | TDES_IDATA2R 0x44 |
#define | TDES_ODATA1R 0x50 |
#define | TDES_ODATA2R 0x54 |
#define | TDES_IV1R 0x60 |
#define | TDES_IV2R 0x64 |
#define | TDES_XTEARNDR 0x70 |
#define | TDES_XTEARNDR_XTEA_RNDS_MASK (0x3F << 0) |
#define | TDES_XTEARNDR_XTEA_RNDS_OFFSET 0 |
#define | TDES_RPR 0x100 |
#define | TDES_RCR 0x104 |
#define | TDES_TPR 0x108 |
#define | TDES_TCR 0x10C |
#define | TDES_RNPR 0x118 |
#define | TDES_RNCR 0x11C |
#define | TDES_TNPR 0x118 |
#define | TDES_TNCR 0x11C |
#define | TDES_PTCR 0x120 |
#define | TDES_PTCR_RXTEN (1 << 0) |
#define | TDES_PTCR_RXTDIS (1 << 1) |
#define | TDES_PTCR_TXTEN (1 << 8) |
#define | TDES_PTCR_TXTDIS (1 << 9) |
#define | TDES_PTSR 0x124 |
#define | TDES_PTSR_RXTEN (1 << 0) |
#define | TDES_PTSR_TXTEN (1 << 8) |
#define TDES_CR 0x00 |
Definition at line 4 of file atmel-tdes-regs.h.
#define TDES_CR_LOADSEED (1 << 16) |
Definition at line 7 of file atmel-tdes-regs.h.
#define TDES_CR_START (1 << 0) |
Definition at line 5 of file atmel-tdes-regs.h.
#define TDES_CR_SWRST (1 << 8) |
Definition at line 6 of file atmel-tdes-regs.h.
#define TDES_IDATA1R 0x40 |
Definition at line 61 of file atmel-tdes-regs.h.
#define TDES_IDATA2R 0x44 |
Definition at line 62 of file atmel-tdes-regs.h.
#define TDES_IDR 0x14 |
Definition at line 39 of file atmel-tdes-regs.h.
#define TDES_IER 0x10 |
Definition at line 38 of file atmel-tdes-regs.h.
#define TDES_IMR 0x18 |
Definition at line 40 of file atmel-tdes-regs.h.
#define TDES_INT_DATARDY (1 << 0) |
Definition at line 42 of file atmel-tdes-regs.h.
#define TDES_INT_ENDRX (1 << 1) |
Definition at line 43 of file atmel-tdes-regs.h.
#define TDES_INT_ENDTX (1 << 2) |
Definition at line 44 of file atmel-tdes-regs.h.
#define TDES_INT_RXBUFF (1 << 3) |
Definition at line 45 of file atmel-tdes-regs.h.
#define TDES_INT_TXBUFE (1 << 4) |
Definition at line 46 of file atmel-tdes-regs.h.
#define TDES_INT_URAD (1 << 8) |
Definition at line 47 of file atmel-tdes-regs.h.
#define TDES_ISR 0x1C |
Definition at line 41 of file atmel-tdes-regs.h.
#define TDES_ISR_URAT_IDR (0x0 << 12) |
Definition at line 49 of file atmel-tdes-regs.h.
#define TDES_ISR_URAT_MASK (0x3 << 12) |
Definition at line 48 of file atmel-tdes-regs.h.
#define TDES_ISR_URAT_MR (0x2 << 12) |
Definition at line 51 of file atmel-tdes-regs.h.
#define TDES_ISR_URAT_ODR (0x1 << 12) |
Definition at line 50 of file atmel-tdes-regs.h.
#define TDES_ISR_URAT_WO (0x3 << 12) |
Definition at line 52 of file atmel-tdes-regs.h.
#define TDES_IV1R 0x60 |
Definition at line 65 of file atmel-tdes-regs.h.
#define TDES_IV2R 0x64 |
Definition at line 66 of file atmel-tdes-regs.h.
#define TDES_KEY1W1R 0x20 |
Definition at line 55 of file atmel-tdes-regs.h.
#define TDES_KEY1W2R 0x24 |
Definition at line 56 of file atmel-tdes-regs.h.
#define TDES_KEY2W1R 0x28 |
Definition at line 57 of file atmel-tdes-regs.h.
#define TDES_KEY2W2R 0x2C |
Definition at line 58 of file atmel-tdes-regs.h.
#define TDES_KEY3W1R 0x30 |
Definition at line 59 of file atmel-tdes-regs.h.
#define TDES_KEY3W2R 0x34 |
Definition at line 60 of file atmel-tdes-regs.h.
#define TDES_MR 0x04 |
Definition at line 9 of file atmel-tdes-regs.h.
#define TDES_MR_CFBS_16b (0x2 << 16) |
Definition at line 31 of file atmel-tdes-regs.h.
#define TDES_MR_CFBS_32b (0x1 << 16) |
Definition at line 30 of file atmel-tdes-regs.h.
#define TDES_MR_CFBS_64b (0x0 << 16) |
Definition at line 29 of file atmel-tdes-regs.h.
#define TDES_MR_CFBS_8b (0x3 << 16) |
Definition at line 32 of file atmel-tdes-regs.h.
#define TDES_MR_CFBS_MASK (0x3 << 16) |
Definition at line 28 of file atmel-tdes-regs.h.
#define TDES_MR_CKEY_MASK (0xF << 20) |
Definition at line 33 of file atmel-tdes-regs.h.
#define TDES_MR_CKEY_OFFSET 20 |
Definition at line 34 of file atmel-tdes-regs.h.
#define TDES_MR_CTYPE_MASK (0x3F << 24) |
Definition at line 35 of file atmel-tdes-regs.h.
#define TDES_MR_CTYPE_OFFSET 24 |
Definition at line 36 of file atmel-tdes-regs.h.
#define TDES_MR_CYPHER_DEC (0 << 0) |
Definition at line 10 of file atmel-tdes-regs.h.
#define TDES_MR_CYPHER_ENC (1 << 0) |
Definition at line 11 of file atmel-tdes-regs.h.
#define TDES_MR_KEYMOD_2KEY (1 << 4) |
Definition at line 17 of file atmel-tdes-regs.h.
#define TDES_MR_KEYMOD_3KEY (0 << 4) |
Definition at line 16 of file atmel-tdes-regs.h.
#define TDES_MR_LOD (0x1 << 15) |
Definition at line 27 of file atmel-tdes-regs.h.
#define TDES_MR_OPMOD_CBC (0x1 << 12) |
Definition at line 24 of file atmel-tdes-regs.h.
#define TDES_MR_OPMOD_CFB (0x3 << 12) |
Definition at line 26 of file atmel-tdes-regs.h.
#define TDES_MR_OPMOD_ECB (0x0 << 12) |
Definition at line 23 of file atmel-tdes-regs.h.
#define TDES_MR_OPMOD_MASK (0x3 << 12) |
Definition at line 22 of file atmel-tdes-regs.h.
#define TDES_MR_OPMOD_OFB (0x2 << 12) |
Definition at line 25 of file atmel-tdes-regs.h.
#define TDES_MR_SMOD_AUTO (0x1 << 8) |
Definition at line 20 of file atmel-tdes-regs.h.
#define TDES_MR_SMOD_MANUAL (0x0 << 8) |
Definition at line 19 of file atmel-tdes-regs.h.
#define TDES_MR_SMOD_MASK (0x3 << 8) |
Definition at line 18 of file atmel-tdes-regs.h.
#define TDES_MR_SMOD_PDC (0x2 << 8) |
Definition at line 21 of file atmel-tdes-regs.h.
#define TDES_MR_TDESMOD_DES (0x0 << 1) |
Definition at line 13 of file atmel-tdes-regs.h.
#define TDES_MR_TDESMOD_MASK (0x3 << 1) |
Definition at line 12 of file atmel-tdes-regs.h.
#define TDES_MR_TDESMOD_TDES (0x1 << 1) |
Definition at line 14 of file atmel-tdes-regs.h.
#define TDES_MR_TDESMOD_XTEA (0x2 << 1) |
Definition at line 15 of file atmel-tdes-regs.h.
#define TDES_ODATA1R 0x50 |
Definition at line 63 of file atmel-tdes-regs.h.
#define TDES_ODATA2R 0x54 |
Definition at line 64 of file atmel-tdes-regs.h.
#define TDES_PTCR 0x120 |
Definition at line 80 of file atmel-tdes-regs.h.
#define TDES_PTCR_RXTDIS (1 << 1) |
Definition at line 82 of file atmel-tdes-regs.h.
#define TDES_PTCR_RXTEN (1 << 0) |
Definition at line 81 of file atmel-tdes-regs.h.
#define TDES_PTCR_TXTDIS (1 << 9) |
Definition at line 84 of file atmel-tdes-regs.h.
#define TDES_PTCR_TXTEN (1 << 8) |
Definition at line 83 of file atmel-tdes-regs.h.
#define TDES_PTSR 0x124 |
Definition at line 85 of file atmel-tdes-regs.h.
#define TDES_PTSR_RXTEN (1 << 0) |
Definition at line 86 of file atmel-tdes-regs.h.
#define TDES_PTSR_TXTEN (1 << 8) |
Definition at line 87 of file atmel-tdes-regs.h.
#define TDES_RCR 0x104 |
Definition at line 73 of file atmel-tdes-regs.h.
#define TDES_RNCR 0x11C |
Definition at line 77 of file atmel-tdes-regs.h.
#define TDES_RNPR 0x118 |
Definition at line 76 of file atmel-tdes-regs.h.
#define TDES_RPR 0x100 |
Definition at line 72 of file atmel-tdes-regs.h.
#define TDES_TCR 0x10C |
Definition at line 75 of file atmel-tdes-regs.h.
#define TDES_TNCR 0x11C |
Definition at line 79 of file atmel-tdes-regs.h.
#define TDES_TNPR 0x118 |
Definition at line 78 of file atmel-tdes-regs.h.
#define TDES_TPR 0x108 |
Definition at line 74 of file atmel-tdes-regs.h.
#define TDES_XTEARNDR 0x70 |
Definition at line 68 of file atmel-tdes-regs.h.
#define TDES_XTEARNDR_XTEA_RNDS_MASK (0x3F << 0) |
Definition at line 69 of file atmel-tdes-regs.h.
#define TDES_XTEARNDR_XTEA_RNDS_OFFSET 0 |
Definition at line 70 of file atmel-tdes-regs.h.