Searched refs:qm_sg_index (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/crypto/caam/ |
H A D | caamalg_qi.c | 957 int qm_sg_index = 0, qm_sg_ents = 0, qm_sg_bytes; in aead_edesc_alloc() local 1111 qm_sg_index++; in aead_edesc_alloc() 1113 dma_to_qm_sg_one(sg_table + qm_sg_index, iv_dma, ivsize, 0); in aead_edesc_alloc() 1114 qm_sg_index++; in aead_edesc_alloc() 1116 sg_to_qm_sg_last(req->src, src_len, sg_table + qm_sg_index, 0); in aead_edesc_alloc() 1117 qm_sg_index += mapped_src_nents; in aead_edesc_alloc() 1120 sg_to_qm_sg_last(req->dst, dst_len, sg_table + qm_sg_index, 0); in aead_edesc_alloc() 1155 qm_sg_index, out_len, 0); in aead_edesc_alloc()
|
H A D | caamalg_qi2.c | 370 int qm_sg_index = 0, qm_sg_nents = 0, qm_sg_bytes; in aead_edesc_alloc() local 524 qm_sg_index++; in aead_edesc_alloc() 526 dma_to_qm_sg_one(sg_table + qm_sg_index, iv_dma, ivsize, 0); in aead_edesc_alloc() 527 qm_sg_index++; in aead_edesc_alloc() 529 sg_to_qm_sg_last(req->src, src_len, sg_table + qm_sg_index, 0); in aead_edesc_alloc() 530 qm_sg_index += mapped_src_nents; in aead_edesc_alloc() 533 sg_to_qm_sg_last(req->dst, dst_len, sg_table + qm_sg_index, 0); in aead_edesc_alloc() 580 dpaa2_fl_set_addr(out_fle, qm_sg_dma + qm_sg_index * in aead_edesc_alloc()
|