Lines Matching refs:iv_dma_addr
338 if (req_ctx->gen_ctx.iv_dma_addr) { in cc_unmap_cipher_request()
340 &req_ctx->gen_ctx.iv_dma_addr, ivsize); in cc_unmap_cipher_request()
341 dma_unmap_single(dev, req_ctx->gen_ctx.iv_dma_addr, in cc_unmap_cipher_request()
381 req_ctx->gen_ctx.iv_dma_addr = in cc_map_cipher_request()
383 if (dma_mapping_error(dev, req_ctx->gen_ctx.iv_dma_addr)) { in cc_map_cipher_request()
389 ivsize, info, &req_ctx->gen_ctx.iv_dma_addr); in cc_map_cipher_request()
391 req_ctx->gen_ctx.iv_dma_addr = 0; in cc_map_cipher_request()
488 if (areq_ctx->gen_ctx.iv_dma_addr) { in cc_unmap_aead_request()
489 dma_unmap_single(dev, areq_ctx->gen_ctx.iv_dma_addr, in cc_unmap_aead_request()
547 areq_ctx->gen_ctx.iv_dma_addr = 0; in cc_aead_chain_iv()
556 areq_ctx->gen_ctx.iv_dma_addr = in cc_aead_chain_iv()
559 if (dma_mapping_error(dev, areq_ctx->gen_ctx.iv_dma_addr)) { in cc_aead_chain_iv()
569 hw_iv_size, req->iv, &areq_ctx->gen_ctx.iv_dma_addr); in cc_aead_chain_iv()