Searched refs:mapped_dst_nents (Results 1 – 5 of 5) sorted by relevance
/drivers/crypto/caam/ |
D | caampkc.c | 256 int mapped_src_nents, mapped_dst_nents; in rsa_edesc_alloc() local 293 mapped_dst_nents = dma_map_sg(dev, req->dst, dst_nents, in rsa_edesc_alloc() 295 if (unlikely(!mapped_dst_nents)) { in rsa_edesc_alloc() 306 if (mapped_dst_nents > 1) in rsa_edesc_alloc() 307 sec4_sg_len += pad_sg_nents(mapped_dst_nents); in rsa_edesc_alloc() 328 if (mapped_dst_nents > 1) in rsa_edesc_alloc() 342 edesc->mapped_dst_nents = mapped_dst_nents; in rsa_edesc_alloc() 427 if (edesc->mapped_dst_nents > 1) { in set_rsa_pub_pdb() 475 if (edesc->mapped_dst_nents > 1) { in set_rsa_priv_f1_pdb() 540 if (edesc->mapped_dst_nents > 1) { in set_rsa_priv_f2_pdb() [all …]
|
D | caamalg.c | 892 int mapped_dst_nents; member 918 int mapped_dst_nents; member 1093 if (!edesc->mapped_dst_nents) { in init_aead_job() 1096 } else if (edesc->mapped_dst_nents == 1) { in init_aead_job() 1275 } else if (!ivsize && edesc->mapped_dst_nents == 1) { in init_skcipher_job() 1299 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in aead_edesc_alloc() local 1356 mapped_dst_nents = dma_map_sg(jrdev, req->dst, in aead_edesc_alloc() 1359 if (unlikely(!mapped_dst_nents)) { in aead_edesc_alloc() 1366 mapped_dst_nents = 0; in aead_edesc_alloc() 1375 if (mapped_dst_nents > 1) in aead_edesc_alloc() [all …]
|
D | caamalg_qi.c | 946 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in aead_edesc_alloc() local 1020 mapped_dst_nents = dma_map_sg(qidev, req->dst, in aead_edesc_alloc() 1023 if (unlikely(!mapped_dst_nents)) { in aead_edesc_alloc() 1031 mapped_dst_nents = 0; in aead_edesc_alloc() 1051 if (mapped_dst_nents > 1) in aead_edesc_alloc() 1052 qm_sg_ents += pad_sg_nents(mapped_dst_nents); in aead_edesc_alloc() 1114 if (mapped_dst_nents > 1) in aead_edesc_alloc() 1145 } else if (mapped_dst_nents <= 1) { in aead_edesc_alloc() 1252 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in skcipher_edesc_alloc() local 1287 mapped_dst_nents = dma_map_sg(qidev, req->dst, dst_nents, in skcipher_edesc_alloc() [all …]
|
D | caampkc.h | 138 int mapped_dst_nents; member
|
D | caamalg_qi2.c | 359 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in aead_edesc_alloc() local 409 mapped_dst_nents = dma_map_sg(dev, req->dst, dst_nents, in aead_edesc_alloc() 411 if (unlikely(!mapped_dst_nents)) { in aead_edesc_alloc() 419 mapped_dst_nents = 0; in aead_edesc_alloc() 458 if (mapped_dst_nents > 1) in aead_edesc_alloc() 459 qm_sg_nents += pad_sg_nents(mapped_dst_nents); in aead_edesc_alloc() 527 if (mapped_dst_nents > 1) in aead_edesc_alloc() 562 } else if (!mapped_dst_nents) { in aead_edesc_alloc() 570 } else if (mapped_dst_nents == 1) { in aead_edesc_alloc() 1117 int src_nents, mapped_src_nents, dst_nents = 0, mapped_dst_nents = 0; in skcipher_edesc_alloc() local [all …]
|