Home
last modified time | relevance | path

Searched refs:td_type (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/drivers/crypto/rockchip/
H A Drkce_core.c42 #define IS_SYMM_TD(td_type) ((td_type) == RKCE_TD_TYPE_SYMM || \ argument
43 (td_type) == RKCE_TD_TYPE_SYMM_HASH_IN || \
44 (td_type) == RKCE_TD_TYPE_SYMM_HASH_OUT)
46 #define IS_HASH_TD(td_type) ((td_type) == RKCE_TD_TYPE_HASH) argument
204 return ((struct rkce_symm_td *)td)->ctrl.td_type; in rkce_get_td_type()
354 uint32_t td_type; in rkce_push_td() local
362 td_type = rkce_get_td_type(td); in rkce_push_td()
367 if (IS_SYMM_TD(td_type)) { in rkce_push_td()
385 } else if (IS_HASH_TD(td_type)) { in rkce_push_td()
415 uint32_t td_type; in rkce_push_td_sync() local
[all …]
H A Dcrypto_ce.c301 hash_ctx->ctrl.td_type = RKCE_TD_TYPE_HASH; in rk_sha_init()
776 hw_ctx->td->ctrl.td_type = RKCE_TD_TYPE_SYMM; in rk_crypto_cipher()
/rk3399_rockchip-uboot/include/rockchip/
H A Drkce_core.h196 uint32_t td_type : 2; member
215 uint32_t td_type : 2; member
230 uint32_t td_type : 2; member
332 int rkce_irq_callback_set(void *rkce_hw, enum rkce_td_type td_type, request_cb_func cb_func);