Lines Matching refs:mapped_nents

344 		     u32 max_sg_nents, u32 *lbytes, u32 *mapped_nents)  in cc_map_sg()  argument
359 *mapped_nents = 1; in cc_map_sg()
373 *mapped_nents = dma_map_sg(dev, sg, *nents, direction); in cc_map_sg()
374 if (*mapped_nents == 0) { in cc_map_sg()
383 *mapped_nents = cc_dma_map_sg(dev, sg, *nents, in cc_map_sg()
385 if (*mapped_nents != *nents) { in cc_map_sg()
386 *nents = *mapped_nents; in cc_map_sg()
488 u32 mapped_nents = 0; in cc_map_cipher_request() local
513 LLI_MAX_NUM_OF_DATA_ENTRIES, &dummy, &mapped_nents); in cc_map_cipher_request()
518 if (mapped_nents > 1) in cc_map_cipher_request()
533 &dummy, &mapped_nents)) { in cc_map_cipher_request()
537 if (mapped_nents > 1) in cc_map_cipher_request()
763 u32 mapped_nents = 0; in cc_aead_chain_assoc() local
793 mapped_nents++; in cc_aead_chain_assoc()
805 mapped_nents++; in cc_aead_chain_assoc()
808 if (mapped_nents > LLI_MAX_NUM_OF_ASSOC_DATA_ENTRIES) { in cc_aead_chain_assoc()
810 mapped_nents, LLI_MAX_NUM_OF_ASSOC_DATA_ENTRIES); in cc_aead_chain_assoc()
813 areq_ctx->assoc.nents = mapped_nents; in cc_aead_chain_assoc()
819 if ((mapped_nents + 1) > LLI_MAX_NUM_OF_ASSOC_DATA_ENTRIES) { in cc_aead_chain_assoc()
828 if (mapped_nents == 1 && areq_ctx->ccm_hdr_size == ccm_header_size_null) in cc_aead_chain_assoc()
1191 u32 mapped_nents = 0; in cc_map_aead_request() local
1301 &dummy, &mapped_nents); in cc_map_aead_request()
1390 u32 mapped_nents = 0; in cc_map_hash_request_final() local
1417 &dummy, &mapped_nents)) { in cc_map_hash_request_final()
1420 if (src && mapped_nents == 1 && in cc_map_hash_request_final()
1474 u32 mapped_nents = 0; in cc_map_hash_request_update() local
1529 &mapped_nents)) { in cc_map_hash_request_update()
1532 if (mapped_nents == 1 && in cc_map_hash_request_update()