Lines Matching refs:mapped_nents

257 		     u32 max_sg_nents, u32 *lbytes, u32 *mapped_nents)  in cc_map_sg()  argument
262 *mapped_nents = 0; in cc_map_sg()
283 *mapped_nents = ret; in cc_map_sg()
381 u32 mapped_nents = 0; in cc_map_cipher_request() local
406 LLI_MAX_NUM_OF_DATA_ENTRIES, &dummy, &mapped_nents); in cc_map_cipher_request()
409 if (mapped_nents > 1) in cc_map_cipher_request()
424 &dummy, &mapped_nents); in cc_map_cipher_request()
427 if (mapped_nents > 1) in cc_map_cipher_request()
521 dma_unmap_sg(dev, req->src, areq_ctx->src.mapped_nents, src_direction); in cc_unmap_aead_request()
525 dma_unmap_sg(dev, req->dst, areq_ctx->dst.mapped_nents, DMA_FROM_DEVICE); in cc_unmap_aead_request()
591 int mapped_nents = 0; in cc_aead_chain_assoc() local
609 mapped_nents = sg_nents_for_len(req->src, areq_ctx->assoclen); in cc_aead_chain_assoc()
610 if (mapped_nents < 0) in cc_aead_chain_assoc()
611 return mapped_nents; in cc_aead_chain_assoc()
613 if (mapped_nents > LLI_MAX_NUM_OF_ASSOC_DATA_ENTRIES) { in cc_aead_chain_assoc()
615 mapped_nents, LLI_MAX_NUM_OF_ASSOC_DATA_ENTRIES); in cc_aead_chain_assoc()
618 areq_ctx->assoc.nents = mapped_nents; in cc_aead_chain_assoc()
624 if ((mapped_nents + 1) > LLI_MAX_NUM_OF_ASSOC_DATA_ENTRIES) { in cc_aead_chain_assoc()
633 if (mapped_nents == 1 && areq_ctx->ccm_hdr_size == ccm_header_size_null) in cc_aead_chain_assoc()
849 &areq_ctx->dst.mapped_nents, in cc_aead_chain_data()
955 u32 mapped_nents = 0; in cc_map_aead_request() local
1063 &areq_ctx->src.mapped_nents, in cc_map_aead_request()
1066 &dummy, &mapped_nents); in cc_map_aead_request()
1153 u32 mapped_nents = 0; in cc_map_hash_request_final() local
1179 &dummy, &mapped_nents); in cc_map_hash_request_final()
1182 if (src && mapped_nents == 1 && in cc_map_hash_request_final()
1237 u32 mapped_nents = 0; in cc_map_hash_request_update() local
1291 &mapped_nents); in cc_map_hash_request_update()
1294 if (mapped_nents == 1 && in cc_map_hash_request_update()