Lines Matching refs:REG_WRITE
112 REG_WRITE(RSA_CLEAR_INTERRUPT_REG, 1); in start_op()
117 REG_WRITE(op_reg, 1); in start_op()
128 REG_WRITE(RSA_CLEAR_INTERRUPT_REG, 1); in wait_op_complete()
146 REG_WRITE(RSA_LENGTH_REG, (num_words - 1)); in esp_mpi_mul_mpi_mod_hw_op()
153 REG_WRITE(RSA_M_DASH_REG, Mprime); in esp_mpi_mul_mpi_mod_hw_op()
164 REG_WRITE(RSA_LENGTH_REG, (num_words - 1)); in esp_mpi_exp_mpi_mod_hw_op()
171 REG_WRITE(RSA_M_DASH_REG, Mprime); in esp_mpi_exp_mpi_mod_hw_op()
174 REG_WRITE(RSA_CONSTANT_TIME_REG, 0); in esp_mpi_exp_mpi_mod_hw_op()
175 REG_WRITE(RSA_SEARCH_ENABLE_REG, 1); in esp_mpi_exp_mpi_mod_hw_op()
176 REG_WRITE(RSA_SEARCH_POS_REG, y_bits - 1); in esp_mpi_exp_mpi_mod_hw_op()
181 REG_WRITE(RSA_SEARCH_ENABLE_REG, 0); in esp_mpi_exp_mpi_mod_hw_op()
194 REG_WRITE(RSA_LENGTH_REG, (num_words * 2 - 1)); in esp_mpi_mul_mpi_hw_op()
210 REG_WRITE(RSA_MEM_M_BLOCK_BASE + i * 4, UINT32_MAX); in esp_mpi_mult_mpi_failover_mod_mult_hw_op()
214 REG_WRITE(RSA_M_DASH_REG, 1); in esp_mpi_mult_mpi_failover_mod_mult_hw_op()
215 REG_WRITE(RSA_LENGTH_REG, num_words - 1); in esp_mpi_mult_mpi_failover_mod_mult_hw_op()
222 REG_WRITE(RSA_MEM_RB_BLOCK_BASE, 1); in esp_mpi_mult_mpi_failover_mod_mult_hw_op()
226 REG_WRITE(RSA_MEM_RB_BLOCK_BASE + i * 4, 0); in esp_mpi_mult_mpi_failover_mod_mult_hw_op()