Searched refs:rkce_hw (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/crypto/rockchip/ |
| H A D | rkce_core.c | 177 bool rkce_hw_algo_valid(void *rkce_hw, uint32_t type, uint32_t algo, uint32_t mode) in rkce_hw_algo_valid() argument 181 CHECK_RKCE_INITED(rkce_hw); in rkce_hw_algo_valid() 183 rkce_reg = GET_RKCE_REG(rkce_hw); in rkce_hw_algo_valid() 207 int rkce_soft_reset(void *rkce_hw, uint32_t reset_sel) in rkce_soft_reset() argument 212 CHECK_RKCE_INITED(rkce_hw); in rkce_soft_reset() 214 rkce_reg = GET_RKCE_REG(rkce_hw); in rkce_soft_reset() 242 static int rkce_init(void *rkce_hw) in rkce_init() argument 244 struct RKCE_REG *rkce_reg = GET_RKCE_REG(rkce_hw); in rkce_init() 252 rkce_soft_reset(rkce_hw, RKCE_RESET_SYMM | RKCE_RESET_HASH | RKCE_RESET_PKA); in rkce_init() 313 void rkce_hardware_free(void *rkce_hw) in rkce_hardware_free() argument [all …]
|
| /rk3399_rockchip-uboot/include/rockchip/ |
| H A D | rkce_core.h | 322 void rkce_dump_reginfo(void *rkce_hw); 326 void rkce_hardware_free(void *rkce_hw); 328 void rkce_irq_handler(void *rkce_hw); 330 void rkce_irq_thread(void *rkce_hw); 332 int rkce_irq_callback_set(void *rkce_hw, enum rkce_td_type td_type, request_cb_func cb_func); 334 int rkce_soft_reset(void *rkce_hw, uint32_t reset_sel); 336 int rkce_push_td(void *rkce_hw, void *td); 338 int rkce_push_td_sync(void *rkce_hw, void *td, uint32_t timeout_ms); 346 bool rkce_hw_algo_valid(void *rkce_hw, uint32_t type, uint32_t algo, uint32_t mode); 348 uint32_t rkce_get_keytable_addr(void *rkce_hw);
|