Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
tegra-aes.h File Reference

Go to the source code of this file.

Macros

#define TEGRA_AES_ICMDQUE_WR   0x1000
 
#define TEGRA_AES_CMDQUE_CONTROL   0x1008
 
#define TEGRA_AES_INTR_STATUS   0x1018
 
#define TEGRA_AES_INT_ENB   0x1040
 
#define TEGRA_AES_CONFIG   0x1044
 
#define TEGRA_AES_IRAM_ACCESS_CFG   0x10A0
 
#define TEGRA_AES_SECURE_DEST_ADDR   0x1100
 
#define TEGRA_AES_SECURE_INPUT_SELECT   0x1104
 
#define TEGRA_AES_SECURE_CONFIG   0x1108
 
#define TEGRA_AES_SECURE_CONFIG_EXT   0x110C
 
#define TEGRA_AES_SECURE_SECURITY   0x1110
 
#define TEGRA_AES_SECURE_HASH_RESULT0   0x1120
 
#define TEGRA_AES_SECURE_HASH_RESULT1   0x1124
 
#define TEGRA_AES_SECURE_HASH_RESULT2   0x1128
 
#define TEGRA_AES_SECURE_HASH_RESULT3   0x112C
 
#define TEGRA_AES_SECURE_SEC_SEL0   0x1140
 
#define TEGRA_AES_SECURE_SEC_SEL1   0x1144
 
#define TEGRA_AES_SECURE_SEC_SEL2   0x1148
 
#define TEGRA_AES_SECURE_SEC_SEL3   0x114C
 
#define TEGRA_AES_SECURE_SEC_SEL4   0x1150
 
#define TEGRA_AES_SECURE_SEC_SEL5   0x1154
 
#define TEGRA_AES_SECURE_SEC_SEL6   0x1158
 
#define TEGRA_AES_SECURE_SEC_SEL7   0x115C
 
#define TEGRA_AES_ENGINE_BUSY_FIELD   BIT(0)
 
#define TEGRA_AES_ICQ_EMPTY_FIELD   BIT(3)
 
#define TEGRA_AES_DMA_BUSY_FIELD   BIT(23)
 
#define TEGRA_AES_SECURE_SEL0_KEYREAD_ENB0_FIELD   BIT(0)
 
#define TEGRA_AES_SECURE_KEY_SCH_DIS_FIELD   BIT(15)
 
#define TEGRA_AES_SECURE_KEY_INDEX_SHIFT   20
 
#define TEGRA_AES_SECURE_KEY_INDEX_FIELD   (0x1F << TEGRA_AES_SECURE_KEY_INDEX_SHIFT)
 
#define TEGRA_AES_SECURE_BLOCK_CNT_SHIFT   0
 
#define TEGRA_AES_SECURE_BLOCK_CNT_FIELD   (0xFFFFF << TEGRA_AES_SECURE_BLOCK_CNT_SHIFT)
 
#define TEGRA_AES_CMDQ_CTRL_UCMDQEN_FIELD   BIT(0)
 
#define TEGRA_AES_CMDQ_CTRL_ICMDQEN_FIELD   BIT(1)
 
#define TEGRA_AES_CMDQ_CTRL_SRC_STM_SEL_FIELD   BIT(4)
 
#define TEGRA_AES_CMDQ_CTRL_DST_STM_SEL_FIELD   BIT(5)
 
#define TEGRA_AES_CONFIG_ENDIAN_ENB_FIELD   BIT(10)
 
#define TEGRA_AES_CONFIG_MODE_SEL_SHIFT   0
 
#define TEGRA_AES_CONFIG_MODE_SEL_FIELD   (0x1F << TEGRA_AES_CONFIG_MODE_SEL_SHIFT)
 
#define TEGRA_AES_SECURE_OFFSET_CNT_SHIFT   24
 
#define TEGRA_AES_SECURE_OFFSET_CNT_FIELD   (0xFF << TEGRA_AES_SECURE_OFFSET_CNT_SHIFT)
 
#define TEGRA_AES_SECURE_KEYSCHED_GEN_FIELD   BIT(15)
 
#define TEGRA_AES_SECURE_IV_SELECT_SHIFT   10
 
#define TEGRA_AES_SECURE_IV_SELECT_FIELD   BIT(10)
 
#define TEGRA_AES_SECURE_INPUT_ALG_SEL_SHIFT   28
 
#define TEGRA_AES_SECURE_INPUT_ALG_SEL_FIELD   (0xF << TEGRA_AES_SECURE_INPUT_ALG_SEL_SHIFT)
 
#define TEGRA_AES_SECURE_INPUT_KEY_LEN_SHIFT   16
 
#define TEGRA_AES_SECURE_INPUT_KEY_LEN_FIELD   (0xFFF << TEGRA_AES_SECURE_INPUT_KEY_LEN_SHIFT)
 
#define TEGRA_AES_SECURE_RNG_ENB_FIELD   BIT(11)
 
#define TEGRA_AES_SECURE_CORE_SEL_SHIFT   9
 
#define TEGRA_AES_SECURE_CORE_SEL_FIELD   BIT(9)
 
#define TEGRA_AES_SECURE_VCTRAM_SEL_SHIFT   7
 
#define TEGRA_AES_SECURE_VCTRAM_SEL_FIELD   (0x3 << TEGRA_AES_SECURE_VCTRAM_SEL_SHIFT)
 
#define TEGRA_AES_SECURE_INPUT_SEL_SHIFT   5
 
#define TEGRA_AES_SECURE_INPUT_SEL_FIELD   (0x3 << TEGRA_AES_SECURE_INPUT_SEL_SHIFT)
 
#define TEGRA_AES_SECURE_XOR_POS_SHIFT   3
 
#define TEGRA_AES_SECURE_XOR_POS_FIELD   (0x3 << TEGRA_AES_SECURE_XOR_POS_SHIFT)
 
#define TEGRA_AES_SECURE_HASH_ENB_FIELD   BIT(2)
 
#define TEGRA_AES_SECURE_ON_THE_FLY_FIELD   BIT(0)
 
#define TEGRA_AES_INT_ERROR_MASK   0xFFF000
 

Macro Definition Documentation

#define TEGRA_AES_CMDQ_CTRL_DST_STM_SEL_FIELD   BIT(5)

Definition at line 67 of file tegra-aes.h.

#define TEGRA_AES_CMDQ_CTRL_ICMDQEN_FIELD   BIT(1)

Definition at line 65 of file tegra-aes.h.

#define TEGRA_AES_CMDQ_CTRL_SRC_STM_SEL_FIELD   BIT(4)

Definition at line 66 of file tegra-aes.h.

#define TEGRA_AES_CMDQ_CTRL_UCMDQEN_FIELD   BIT(0)

Definition at line 64 of file tegra-aes.h.

#define TEGRA_AES_CMDQUE_CONTROL   0x1008

Definition at line 23 of file tegra-aes.h.

#define TEGRA_AES_CONFIG   0x1044

Definition at line 26 of file tegra-aes.h.

#define TEGRA_AES_CONFIG_ENDIAN_ENB_FIELD   BIT(10)

Definition at line 70 of file tegra-aes.h.

#define TEGRA_AES_CONFIG_MODE_SEL_FIELD   (0x1F << TEGRA_AES_CONFIG_MODE_SEL_SHIFT)

Definition at line 72 of file tegra-aes.h.

#define TEGRA_AES_CONFIG_MODE_SEL_SHIFT   0

Definition at line 71 of file tegra-aes.h.

#define TEGRA_AES_DMA_BUSY_FIELD   BIT(23)

Definition at line 49 of file tegra-aes.h.

#define TEGRA_AES_ENGINE_BUSY_FIELD   BIT(0)

Definition at line 47 of file tegra-aes.h.

#define TEGRA_AES_ICMDQUE_WR   0x1000

Definition at line 22 of file tegra-aes.h.

#define TEGRA_AES_ICQ_EMPTY_FIELD   BIT(3)

Definition at line 48 of file tegra-aes.h.

#define TEGRA_AES_INT_ENB   0x1040

Definition at line 25 of file tegra-aes.h.

#define TEGRA_AES_INT_ERROR_MASK   0xFFF000

Definition at line 101 of file tegra-aes.h.

#define TEGRA_AES_INTR_STATUS   0x1018

Definition at line 24 of file tegra-aes.h.

#define TEGRA_AES_IRAM_ACCESS_CFG   0x10A0

Definition at line 27 of file tegra-aes.h.

#define TEGRA_AES_SECURE_BLOCK_CNT_FIELD   (0xFFFFF << TEGRA_AES_SECURE_BLOCK_CNT_SHIFT)

Definition at line 61 of file tegra-aes.h.

#define TEGRA_AES_SECURE_BLOCK_CNT_SHIFT   0

Definition at line 60 of file tegra-aes.h.

#define TEGRA_AES_SECURE_CONFIG   0x1108

Definition at line 30 of file tegra-aes.h.

#define TEGRA_AES_SECURE_CONFIG_EXT   0x110C

Definition at line 31 of file tegra-aes.h.

#define TEGRA_AES_SECURE_CORE_SEL_FIELD   BIT(9)

Definition at line 90 of file tegra-aes.h.

#define TEGRA_AES_SECURE_CORE_SEL_SHIFT   9

Definition at line 89 of file tegra-aes.h.

#define TEGRA_AES_SECURE_DEST_ADDR   0x1100

Definition at line 28 of file tegra-aes.h.

#define TEGRA_AES_SECURE_HASH_ENB_FIELD   BIT(2)

Definition at line 97 of file tegra-aes.h.

#define TEGRA_AES_SECURE_HASH_RESULT0   0x1120

Definition at line 33 of file tegra-aes.h.

#define TEGRA_AES_SECURE_HASH_RESULT1   0x1124

Definition at line 34 of file tegra-aes.h.

#define TEGRA_AES_SECURE_HASH_RESULT2   0x1128

Definition at line 35 of file tegra-aes.h.

#define TEGRA_AES_SECURE_HASH_RESULT3   0x112C

Definition at line 36 of file tegra-aes.h.

#define TEGRA_AES_SECURE_INPUT_ALG_SEL_FIELD   (0xF << TEGRA_AES_SECURE_INPUT_ALG_SEL_SHIFT)

Definition at line 85 of file tegra-aes.h.

#define TEGRA_AES_SECURE_INPUT_ALG_SEL_SHIFT   28

Definition at line 84 of file tegra-aes.h.

#define TEGRA_AES_SECURE_INPUT_KEY_LEN_FIELD   (0xFFF << TEGRA_AES_SECURE_INPUT_KEY_LEN_SHIFT)

Definition at line 87 of file tegra-aes.h.

#define TEGRA_AES_SECURE_INPUT_KEY_LEN_SHIFT   16

Definition at line 86 of file tegra-aes.h.

#define TEGRA_AES_SECURE_INPUT_SEL_FIELD   (0x3 << TEGRA_AES_SECURE_INPUT_SEL_SHIFT)

Definition at line 94 of file tegra-aes.h.

#define TEGRA_AES_SECURE_INPUT_SEL_SHIFT   5

Definition at line 93 of file tegra-aes.h.

#define TEGRA_AES_SECURE_INPUT_SELECT   0x1104

Definition at line 29 of file tegra-aes.h.

#define TEGRA_AES_SECURE_IV_SELECT_FIELD   BIT(10)

Definition at line 81 of file tegra-aes.h.

#define TEGRA_AES_SECURE_IV_SELECT_SHIFT   10

Definition at line 80 of file tegra-aes.h.

#define TEGRA_AES_SECURE_KEY_INDEX_FIELD   (0x1F << TEGRA_AES_SECURE_KEY_INDEX_SHIFT)

Definition at line 59 of file tegra-aes.h.

#define TEGRA_AES_SECURE_KEY_INDEX_SHIFT   20

Definition at line 58 of file tegra-aes.h.

#define TEGRA_AES_SECURE_KEY_SCH_DIS_FIELD   BIT(15)

Definition at line 55 of file tegra-aes.h.

#define TEGRA_AES_SECURE_KEYSCHED_GEN_FIELD   BIT(15)

Definition at line 77 of file tegra-aes.h.

#define TEGRA_AES_SECURE_OFFSET_CNT_FIELD   (0xFF << TEGRA_AES_SECURE_OFFSET_CNT_SHIFT)

Definition at line 76 of file tegra-aes.h.

#define TEGRA_AES_SECURE_OFFSET_CNT_SHIFT   24

Definition at line 75 of file tegra-aes.h.

#define TEGRA_AES_SECURE_ON_THE_FLY_FIELD   BIT(0)

Definition at line 98 of file tegra-aes.h.

#define TEGRA_AES_SECURE_RNG_ENB_FIELD   BIT(11)

Definition at line 88 of file tegra-aes.h.

#define TEGRA_AES_SECURE_SEC_SEL0   0x1140

Definition at line 37 of file tegra-aes.h.

#define TEGRA_AES_SECURE_SEC_SEL1   0x1144

Definition at line 38 of file tegra-aes.h.

#define TEGRA_AES_SECURE_SEC_SEL2   0x1148

Definition at line 39 of file tegra-aes.h.

#define TEGRA_AES_SECURE_SEC_SEL3   0x114C

Definition at line 40 of file tegra-aes.h.

#define TEGRA_AES_SECURE_SEC_SEL4   0x1150

Definition at line 41 of file tegra-aes.h.

#define TEGRA_AES_SECURE_SEC_SEL5   0x1154

Definition at line 42 of file tegra-aes.h.

#define TEGRA_AES_SECURE_SEC_SEL6   0x1158

Definition at line 43 of file tegra-aes.h.

#define TEGRA_AES_SECURE_SEC_SEL7   0x115C

Definition at line 44 of file tegra-aes.h.

#define TEGRA_AES_SECURE_SECURITY   0x1110

Definition at line 32 of file tegra-aes.h.

#define TEGRA_AES_SECURE_SEL0_KEYREAD_ENB0_FIELD   BIT(0)

Definition at line 52 of file tegra-aes.h.

#define TEGRA_AES_SECURE_VCTRAM_SEL_FIELD   (0x3 << TEGRA_AES_SECURE_VCTRAM_SEL_SHIFT)

Definition at line 92 of file tegra-aes.h.

#define TEGRA_AES_SECURE_VCTRAM_SEL_SHIFT   7

Definition at line 91 of file tegra-aes.h.

#define TEGRA_AES_SECURE_XOR_POS_FIELD   (0x3 << TEGRA_AES_SECURE_XOR_POS_SHIFT)

Definition at line 96 of file tegra-aes.h.

#define TEGRA_AES_SECURE_XOR_POS_SHIFT   3

Definition at line 95 of file tegra-aes.h.