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

/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c42 static int cryp_mode; variable
373 switch (cryp_mode) { cryp_setup_context()
682 cryp_mode); cryp_disable_power()
770 if (cryp_mode == CRYP_MODE_INTERRUPT) { hw_crypt_noxts()
781 } else if (cryp_mode == CRYP_MODE_POLLING || hw_crypt_noxts()
782 cryp_mode == CRYP_MODE_DMA) { hw_crypt_noxts()
785 * running cryp_mode = 2, then we separate DMA routines for hw_crypt_noxts()
799 cryp_save_device_context(device_data, &ctx->dev_ctx, cryp_mode); hw_crypt_noxts()
860 cryp_save_device_context(device_data, &ctx->dev_ctx, cryp_mode); ablk_dma_crypt()
1064 if (cryp_mode == CRYP_MODE_DMA && mode_is_aes(ctx->config.algomode)) cryp_blk_encrypt()
1081 if (cryp_mode == CRYP_MODE_DMA && mode_is_aes(ctx->config.algomode)) cryp_blk_decrypt()
1523 if (cryp_mode == CRYP_MODE_DMA) ux500_cryp_probe()
1811 module_param(cryp_mode, int, 0);
H A Dcryp.h75 enum cryp_mode { enum
287 int cryp_mode);
H A Dcryp.c291 int cryp_mode) cryp_save_device_context()
305 if (cryp_mode == CRYP_MODE_DMA) cryp_save_device_context()
289 cryp_save_device_context(struct cryp_device_data *device_data, struct cryp_device_context *ctx, int cryp_mode) cryp_save_device_context() argument

Completed in 105 milliseconds