Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/ux500/cryp/
Dcryp_core.c45 static int cryp_mode; variable
367 switch (cryp_mode) { in cryp_setup_context()
682 cryp_mode); in cryp_disable_power()
770 if (cryp_mode == CRYP_MODE_INTERRUPT) { in hw_crypt_noxts()
781 } else if (cryp_mode == CRYP_MODE_POLLING || in hw_crypt_noxts()
782 cryp_mode == CRYP_MODE_DMA) { in hw_crypt_noxts()
799 cryp_save_device_context(device_data, &ctx->dev_ctx, cryp_mode); in hw_crypt_noxts()
860 cryp_save_device_context(device_data, &ctx->dev_ctx, cryp_mode); in ablk_dma_crypt()
1024 if (cryp_mode == CRYP_MODE_DMA && mode_is_aes(ctx->config.algomode)) in cryp_blk_encrypt()
1041 if (cryp_mode == CRYP_MODE_DMA && mode_is_aes(ctx->config.algomode)) in cryp_blk_decrypt()
[all …]
Dcryp.h75 enum cryp_mode { enum
287 int cryp_mode);
Dcryp.c291 int cryp_mode) in cryp_save_device_context() argument
305 if (cryp_mode == CRYP_MODE_DMA) in cryp_save_device_context()