Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | SHA_REG_DIGEST(x) (0x80 + ((x) * 0x04)) |
#define | SHA_REG_DIN(x) (0x40 + ((x) * 0x04)) |
#define | SHA_CR 0x00 |
#define | SHA_CR_START (1 << 0) |
#define | SHA_CR_FIRST (1 << 4) |
#define | SHA_CR_SWRST (1 << 8) |
#define | SHA_MR 0x04 |
#define | SHA_MR_MODE_MASK (0x3 << 0) |
#define | SHA_MR_MODE_MANUAL 0x0 |
#define | SHA_MR_MODE_AUTO 0x1 |
#define | SHA_MR_MODE_PDC 0x2 |
#define | SHA_MR_DUALBUFF (1 << 3) |
#define | SHA_MR_PROCDLY (1 << 4) |
#define | SHA_MR_ALGO_SHA1 (0 << 8) |
#define | SHA_MR_ALGO_SHA256 (1 << 8) |
#define | SHA_IER 0x10 |
#define | SHA_IDR 0x14 |
#define | SHA_IMR 0x18 |
#define | SHA_ISR 0x1C |
#define | SHA_INT_DATARDY (1 << 0) |
#define | SHA_INT_ENDTX (1 << 1) |
#define | SHA_INT_TXBUFE (1 << 2) |
#define | SHA_INT_URAD (1 << 8) |
#define | SHA_ISR_URAT_MASK (0x7 << 12) |
#define | SHA_ISR_URAT_IDR (0x0 << 12) |
#define | SHA_ISR_URAT_ODR (0x1 << 12) |
#define | SHA_ISR_URAT_MR (0x2 << 12) |
#define | SHA_ISR_URAT_WO (0x5 << 12) |
#define | SHA_TPR 0x108 |
#define | SHA_TCR 0x10C |
#define | SHA_TNPR 0x118 |
#define | SHA_TNCR 0x11C |
#define | SHA_PTCR 0x120 |
#define | SHA_PTCR_TXTEN (1 << 8) |
#define | SHA_PTCR_TXTDIS (1 << 9) |
#define | SHA_PTSR 0x124 |
#define | SHA_PTSR_TXTEN (1 << 8) |
#define SHA_CR 0x00 |
Definition at line 7 of file atmel-sha-regs.h.
#define SHA_CR_FIRST (1 << 4) |
Definition at line 9 of file atmel-sha-regs.h.
#define SHA_CR_START (1 << 0) |
Definition at line 8 of file atmel-sha-regs.h.
#define SHA_CR_SWRST (1 << 8) |
Definition at line 10 of file atmel-sha-regs.h.
#define SHA_IDR 0x14 |
Definition at line 23 of file atmel-sha-regs.h.
#define SHA_IER 0x10 |
Definition at line 22 of file atmel-sha-regs.h.
#define SHA_IMR 0x18 |
Definition at line 24 of file atmel-sha-regs.h.
#define SHA_INT_DATARDY (1 << 0) |
Definition at line 26 of file atmel-sha-regs.h.
#define SHA_INT_ENDTX (1 << 1) |
Definition at line 27 of file atmel-sha-regs.h.
#define SHA_INT_TXBUFE (1 << 2) |
Definition at line 28 of file atmel-sha-regs.h.
#define SHA_INT_URAD (1 << 8) |
Definition at line 29 of file atmel-sha-regs.h.
#define SHA_ISR 0x1C |
Definition at line 25 of file atmel-sha-regs.h.
#define SHA_ISR_URAT_IDR (0x0 << 12) |
Definition at line 31 of file atmel-sha-regs.h.
#define SHA_ISR_URAT_MASK (0x7 << 12) |
Definition at line 30 of file atmel-sha-regs.h.
#define SHA_ISR_URAT_MR (0x2 << 12) |
Definition at line 33 of file atmel-sha-regs.h.
#define SHA_ISR_URAT_ODR (0x1 << 12) |
Definition at line 32 of file atmel-sha-regs.h.
#define SHA_ISR_URAT_WO (0x5 << 12) |
Definition at line 34 of file atmel-sha-regs.h.
#define SHA_MR 0x04 |
Definition at line 12 of file atmel-sha-regs.h.
#define SHA_MR_ALGO_SHA1 (0 << 8) |
Definition at line 19 of file atmel-sha-regs.h.
#define SHA_MR_ALGO_SHA256 (1 << 8) |
Definition at line 20 of file atmel-sha-regs.h.
#define SHA_MR_DUALBUFF (1 << 3) |
Definition at line 17 of file atmel-sha-regs.h.
#define SHA_MR_MODE_AUTO 0x1 |
Definition at line 15 of file atmel-sha-regs.h.
#define SHA_MR_MODE_MANUAL 0x0 |
Definition at line 14 of file atmel-sha-regs.h.
#define SHA_MR_MODE_MASK (0x3 << 0) |
Definition at line 13 of file atmel-sha-regs.h.
#define SHA_MR_MODE_PDC 0x2 |
Definition at line 16 of file atmel-sha-regs.h.
#define SHA_MR_PROCDLY (1 << 4) |
Definition at line 18 of file atmel-sha-regs.h.
#define SHA_PTCR 0x120 |
Definition at line 40 of file atmel-sha-regs.h.
#define SHA_PTCR_TXTDIS (1 << 9) |
Definition at line 42 of file atmel-sha-regs.h.
#define SHA_PTCR_TXTEN (1 << 8) |
Definition at line 41 of file atmel-sha-regs.h.
#define SHA_PTSR 0x124 |
Definition at line 43 of file atmel-sha-regs.h.
#define SHA_PTSR_TXTEN (1 << 8) |
Definition at line 44 of file atmel-sha-regs.h.
#define SHA_REG_DIGEST | ( | x | ) | (0x80 + ((x) * 0x04)) |
Definition at line 4 of file atmel-sha-regs.h.
#define SHA_REG_DIN | ( | x | ) | (0x40 + ((x) * 0x04)) |
Definition at line 5 of file atmel-sha-regs.h.
#define SHA_TCR 0x10C |
Definition at line 37 of file atmel-sha-regs.h.
#define SHA_TNCR 0x11C |
Definition at line 39 of file atmel-sha-regs.h.
#define SHA_TNPR 0x118 |
Definition at line 38 of file atmel-sha-regs.h.
#define SHA_TPR 0x108 |
Definition at line 36 of file atmel-sha-regs.h.