Searched refs:CRYPTO_WRITE (Results 1 – 4 of 4) sorted by relevance
/drivers/crypto/rockchip/ |
D | rk3288_crypto_ahash.c | 86 CRYPTO_WRITE(dev, RK_CRYPTO_CTRL, reg_status); in rk_ahash_reg_init() 91 CRYPTO_WRITE(dev, RK_CRYPTO_CTRL, reg_status); in rk_ahash_reg_init() 95 CRYPTO_WRITE(dev, RK_CRYPTO_INTENA, RK_CRYPTO_HRDMA_ERR_ENA | in rk_ahash_reg_init() 98 CRYPTO_WRITE(dev, RK_CRYPTO_INTSTS, RK_CRYPTO_HRDMA_ERR_INT | in rk_ahash_reg_init() 101 CRYPTO_WRITE(dev, RK_CRYPTO_HASH_CTRL, rctx->mode | in rk_ahash_reg_init() 104 CRYPTO_WRITE(dev, RK_CRYPTO_CONF, RK_CRYPTO_BYTESWAP_HRFIFO | in rk_ahash_reg_init() 108 CRYPTO_WRITE(dev, RK_CRYPTO_HASH_MSG_LEN, req->nbytes); in rk_ahash_reg_init() 212 CRYPTO_WRITE(dev, RK_CRYPTO_HRDMAS, sg_dma_address(sg)); in crypto_ahash_dma_start() 213 CRYPTO_WRITE(dev, RK_CRYPTO_HRDMAL, sg_dma_len(sg) / 4); in crypto_ahash_dma_start() 214 CRYPTO_WRITE(dev, RK_CRYPTO_CTRL, RK_CRYPTO_HASH_START | in crypto_ahash_dma_start()
|
D | rk3288_crypto_skcipher.c | 279 CRYPTO_WRITE(dev, RK_CRYPTO_TDES_CTRL, rctx->mode); in rk_ablk_hw_init() 291 CRYPTO_WRITE(dev, RK_CRYPTO_AES_CTRL, rctx->mode); in rk_ablk_hw_init() 296 CRYPTO_WRITE(dev, RK_CRYPTO_CONF, conf_reg); in rk_ablk_hw_init() 297 CRYPTO_WRITE(dev, RK_CRYPTO_INTENA, in rk_ablk_hw_init() 305 CRYPTO_WRITE(dev, RK_CRYPTO_BRDMAS, sg_dma_address(sgs)); in crypto_dma_start() 306 CRYPTO_WRITE(dev, RK_CRYPTO_BRDMAL, todo); in crypto_dma_start() 307 CRYPTO_WRITE(dev, RK_CRYPTO_BTDMAS, sg_dma_address(sgd)); in crypto_dma_start() 308 CRYPTO_WRITE(dev, RK_CRYPTO_CTRL, RK_CRYPTO_BLOCK_START | in crypto_dma_start()
|
D | rk3288_crypto.h | 186 #define CRYPTO_WRITE(dev, offset, val) \ macro
|
D | rk3288_crypto.c | 74 CRYPTO_WRITE(dev, RK_CRYPTO_INTSTS, interrupt_status); in rk_crypto_irq_handle()
|