Searched refs:iv_dma_addr (Results 1 – 4 of 4) sorted by relevance
/drivers/crypto/ccree/ |
D | cc_buffer_mgr.c | 345 if (req_ctx->gen_ctx.iv_dma_addr) { in cc_unmap_cipher_request() 347 &req_ctx->gen_ctx.iv_dma_addr, ivsize); in cc_unmap_cipher_request() 348 dma_unmap_single(dev, req_ctx->gen_ctx.iv_dma_addr, in cc_unmap_cipher_request() 391 req_ctx->gen_ctx.iv_dma_addr = in cc_map_cipher_request() 393 if (dma_mapping_error(dev, req_ctx->gen_ctx.iv_dma_addr)) { in cc_map_cipher_request() 399 ivsize, info, &req_ctx->gen_ctx.iv_dma_addr); in cc_map_cipher_request() 401 req_ctx->gen_ctx.iv_dma_addr = 0; in cc_map_cipher_request() 499 if (areq_ctx->gen_ctx.iv_dma_addr) { in cc_unmap_aead_request() 500 dma_unmap_single(dev, areq_ctx->gen_ctx.iv_dma_addr, in cc_unmap_aead_request() 556 areq_ctx->gen_ctx.iv_dma_addr = 0; in cc_aead_chain_iv() [all …]
|
D | cc_cipher.c | 520 dma_addr_t iv_dma_addr = req_ctx->gen_ctx.iv_dma_addr; in cc_setup_readiv_desc() local 534 set_dout_dlli(&desc[*seq_size], iv_dma_addr, ivsize, NS_BIT, 1); in cc_setup_readiv_desc() 555 set_dout_dlli(&desc[*seq_size], iv_dma_addr, CC_AES_BLOCK_SIZE, in cc_setup_readiv_desc() 577 dma_addr_t iv_dma_addr = req_ctx->gen_ctx.iv_dma_addr; in cc_setup_state_desc() local 588 set_din_type(&desc[*seq_size], DMA_DLLI, iv_dma_addr, ivsize, in cc_setup_state_desc() 623 dma_addr_t iv_dma_addr = req_ctx->gen_ctx.iv_dma_addr; in cc_setup_xex_state_desc() local 665 set_din_type(&desc[*seq_size], DMA_DLLI, iv_dma_addr, in cc_setup_xex_state_desc()
|
D | cc_driver.h | 189 dma_addr_t iv_dma_addr; member
|
D | cc_aead.c | 935 set_din_type(&desc[idx], DMA_DLLI, req_ctx->gen_ctx.iv_dma_addr, in cc_set_cipher_desc() 1444 req_ctx->gen_ctx.iv_dma_addr, AES_BLOCK_SIZE, NS_BIT); in cc_ccm()
|