Home
last modified time | relevance | path

Searched refs:tegra_se_write_32 (Results 1 – 6 of 6) sorted by relevance

/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t194/drivers/se/
Dse.c123 tegra_se_write_32(AES0_INT_STATUS, INT_STATUS_SW_CLEAR); in tegra_se_is_ready()
124 tegra_se_write_32(AES1_INT_STATUS, INT_STATUS_SW_CLEAR); in tegra_se_is_ready()
125 tegra_se_write_32(RSA_INT_STATUS, INT_STATUS_SW_CLEAR); in tegra_se_is_ready()
126 tegra_se_write_32(SHA_INT_STATUS, INT_STATUS_SW_CLEAR); in tegra_se_is_ready()
129 tegra_se_write_32(AES0_ERR_STATUS, ERR_STATUS_SW_CLEAR); in tegra_se_is_ready()
130 tegra_se_write_32(AES1_ERR_STATUS, ERR_STATUS_SW_CLEAR); in tegra_se_is_ready()
131 tegra_se_write_32(RSA_ERR_STATUS, ERR_STATUS_SW_CLEAR); in tegra_se_is_ready()
132 tegra_se_write_32(SHA_ERR_STATUS, ERR_STATUS_SW_CLEAR); in tegra_se_is_ready()
174 tegra_se_write_32(AES0_OPERATION, SE_OP_CTX_SAVE); in tegra_se_save_context()
247 tegra_se_write_32(SE0_IN_ADDR, src_in_lo); in tegra_se_start_normal_operation()
[all …]
Dse_private.h160 static inline void tegra_se_write_32(uint32_t offset, uint32_t val) in tegra_se_write_32() function
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/drivers/se/
Dse.c90 tegra_se_write_32(SE0_IN_ADDR, src_in_lo); in tegra_se_start_normal_operation()
91 tegra_se_write_32(SE0_IN_HI_ADDR_HI, src_in_hi); in tegra_se_start_normal_operation()
95 tegra_se_write_32(SE0_INT_STATUS_REG_OFFSET, 0x00000U); in tegra_se_start_normal_operation()
99 tegra_se_write_32(SE0_SHA_INT_ENABLE, 0x1aU); in tegra_se_start_normal_operation()
106 tegra_se_write_32(SE0_OPERATION_REG_OFFSET, SE0_OP_START | in tegra_se_start_normal_operation()
109 tegra_se_write_32(SE0_OPERATION_REG_OFFSET, SE0_OP_START); in tegra_se_start_normal_operation()
155 tegra_se_write_32(SE0_SHA_CONFIG, val); in tegra_se_calculate_sha256_hash()
158 tegra_se_write_32(SE0_SHA_MSG_LENGTH_0, len_bits_lsb); in tegra_se_calculate_sha256_hash()
159 tegra_se_write_32(SE0_SHA_MSG_LEFT_0, len_bits_lsb); in tegra_se_calculate_sha256_hash()
160 tegra_se_write_32(SE0_SHA_MSG_LENGTH_1, len_bits_msb); in tegra_se_calculate_sha256_hash()
[all …]
Dse_private.h95 static inline void tegra_se_write_32(uint32_t offset, uint32_t val) in tegra_se_write_32() function
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t210/drivers/se/
Dsecurity_engine.c216 tegra_se_write_32(se_dev, SE_INT_ENABLE_REG_OFFSET, 0U); in tegra_se_operation_prepare()
232 tegra_se_write_32(se_dev, SE_INT_STATUS_REG_OFFSET, val); in tegra_se_operation_prepare()
280 tegra_se_write_32(se_dev, SE_CONFIG_REG_OFFSET, val); in tegra_se_context_save_atomic()
285 tegra_se_write_32(se_dev, SE_OPERATION_REG_OFFSET, in tegra_se_context_save_atomic()
317 tegra_se_write_32(se_dev, SE_OUT_LL_ADDR_REG_OFFSET, ((uint64_t)(se_dev->dst_ll_buf))); in tegra_se_perform_operation()
318 tegra_se_write_32(se_dev, SE_IN_LL_ADDR_REG_OFFSET, ((uint64_t)(se_dev->src_ll_buf))); in tegra_se_perform_operation()
328 tegra_se_write_32(se_dev, SE_BLOCK_COUNT_REG_OFFSET, nblocks - 1); in tegra_se_perform_operation()
336 tegra_se_write_32(se_dev, SE_OPERATION_REG_OFFSET, SE_OP_CTX_SAVE); in tegra_se_perform_operation()
338 tegra_se_write_32(se_dev, SE_OPERATION_REG_OFFSET, SE_OP_START); in tegra_se_perform_operation()
388 tegra_se_write_32(se_dev, SE_RNG_CONFIG_REG_OFFSET, val); in tegra_se_generate_srk()
[all …]
Dse_private.h641 static inline void tegra_se_write_32(const tegra_se_dev_t *dev, uint32_t offset, uint32_t val) in tegra_se_write_32() function