Home
last modified time | relevance | path

Searched refs:edesc (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/drivers/crypto/caam/
A Dcaampkc.c131 edesc = req_ctx->edesc; in rsa_pub_done()
136 kfree(edesc); in rsa_pub_done()
164 edesc = req_ctx->edesc; in rsa_priv_f_done()
179 kfree(edesc); in rsa_priv_f_done()
316 if (!edesc) in rsa_edesc_alloc()
319 edesc->sec4_sg = (void *)edesc + sizeof(*edesc) + desclen; in rsa_edesc_alloc()
336 req_ctx->edesc = edesc; in rsa_edesc_alloc()
344 edesc->sec4_sg_dma = dma_map_single(dev, edesc->sec4_sg, in rsa_edesc_alloc()
357 return edesc; in rsa_edesc_alloc()
671 struct rsa_edesc *edesc = req_ctx->edesc; in akcipher_enqueue_req() local
[all …]
A Dcaamhash.c598 edesc = state->edesc; in ahash_done_cpy()
606 kfree(edesc); in ahash_done_cpy()
649 edesc = state->edesc; in ahash_done_switch()
655 kfree(edesc); in ahash_done_switch()
713 edesc = kzalloc(sizeof(*edesc) + sg_size, flags); in ahash_edesc_alloc()
714 if (!edesc) { in ahash_edesc_alloc()
719 state->edesc = edesc; in ahash_edesc_alloc()
724 return edesc; in ahash_edesc_alloc()
797 struct ahash_edesc *edesc = state->edesc; in ahash_enqueue_req() local
967 if (!edesc) in ahash_final_ctx()
[all …]
A Dcaamalg.c959 edesc->src_nents, edesc->dst_nents, 0, 0, in aead_unmap()
960 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in aead_unmap()
970 edesc->src_nents, edesc->dst_nents, in skcipher_unmap()
972 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in skcipher_unmap()
987 edesc = rctx->edesc; in aead_crypt_done()
995 kfree(edesc); in aead_crypt_done()
1028 edesc = rctx->edesc; in skcipher_crypt_done()
1052 kfree(edesc); in skcipher_crypt_done()
1408 rctx->edesc = edesc; in aead_edesc_alloc()
1444 struct aead_edesc *edesc = rctx->edesc; in aead_enqueue_req() local
[all …]
A Dcaamalg_qi2.c1342 caam_req->edesc = edesc; in aead_encrypt()
1370 caam_req->edesc = edesc; in aead_decrypt()
1514 caam_req->edesc = edesc; in skcipher_encrypt()
1564 caam_req->edesc = edesc; in skcipher_decrypt()
3623 req_ctx->edesc = edesc; in ahash_update_ctx()
3705 req_ctx->edesc = edesc; in ahash_final_ctx()
3799 req_ctx->edesc = edesc; in ahash_finup_ctx()
3895 req_ctx->edesc = edesc; in ahash_digest()
3967 req_ctx->edesc = edesc; in ahash_final_no_ctx()
4073 req_ctx->edesc = edesc; in ahash_update_no_ctx()
[all …]
A Dcaamalg_qi.c900 caam_unmap(dev, req->src, req->dst, edesc->src_nents, edesc->dst_nents, in aead_unmap()
901 edesc->iv_dma, ivsize, DMA_TO_DEVICE, edesc->qm_sg_dma, in aead_unmap()
913 edesc->iv_dma, ivsize, DMA_BIDIRECTIONAL, edesc->qm_sg_dma, in skcipher_unmap()
931 edesc = container_of(drv_req, typeof(*edesc), drv_req); in aead_done()
1100 edesc->assoclen_dma = dma_map_single(qidev, &edesc->assoclen, 4, in aead_edesc_alloc()
1158 return edesc; in aead_edesc_alloc()
1173 if (IS_ERR(edesc)) in aead_crypt()
1212 return PTR_ALIGN((u8 *)&edesc->sgt[0] + edesc->qm_sg_bytes, in skcipher_edesc_iv()
1228 edesc = container_of(drv_req, typeof(*edesc), drv_req); in skcipher_done()
1409 return edesc; in skcipher_edesc_alloc()
[all …]
A Dcaampkc.h116 struct rsa_edesc *edesc; member
A Dcaamalg_qi2.h187 void *edesc; member
/linux-6.3-rc2/drivers/dma/ti/
A Dedma.c744 edesc = echan->edesc; in edma_execute()
747 left = edesc->pset_nr - edesc->processed; in edma_execute()
755 edesc->sg_len += edesc->pset[j].len; in edma_execute()
789 if (edesc->processed == edesc->pset_nr) { in edma_execute()
1109 edesc->residue_stat = edesc->residue; in edma_prep_slave_sg()
1175 edesc->residue = edesc->residue_stat = len; in edma_prep_dma_memcpy()
1400 memcpy(&edesc->pset[i], &edesc->pset[0], in edma_prep_dma_cyclic()
1468 edesc = echan->edesc; in edma_completion_handler()
1489 edesc->residue -= edesc->sg_len; in edma_completion_handler()
1490 edesc->residue_stat = edesc->residue; in edma_completion_handler()
[all …]
/linux-6.3-rc2/drivers/crypto/
A Dtalitos.c496 (edesc->buf + edesc->dma_len))->hdr;
1037 kfree(edesc); in ipsec_esp_encrypt_done()
1058 oicv = edesc->buf + edesc->dma_len; in ipsec_esp_decrypt_swauth_done()
1064 kfree(edesc); in ipsec_esp_decrypt_swauth_done()
1085 kfree(edesc); in ipsec_esp_decrypt_hwauth_done()
1397 if (!edesc) in talitos_edesc_alloc()
1403 memset(&edesc->desc, 0, sizeof(edesc->desc)); in talitos_edesc_alloc()
1465 ((!edesc->src_nents && !edesc->dst_nents) || in aead_decrypt()
1483 icvdata = edesc->buf + edesc->dma_len; in aead_decrypt()
1710 (edesc->buf + edesc->dma_len); in common_nonsnoop_hash_unmap()
[all …]
/linux-6.3-rc2/drivers/dma/
A Dfsl-edma-common.c168 fsl_chan->edesc = NULL; in fsl_edma_terminate_all()
183 if (fsl_chan->edesc) { in fsl_edma_pause()
199 if (fsl_chan->edesc) { in fsl_edma_resume()
273 struct fsl_edma_desc *edesc = fsl_chan->edesc; in fsl_edma_desc_residue() local
276 enum dma_transfer_direction dir = edesc->dirn; in fsl_edma_desc_residue()
283 len += le32_to_cpu(edesc->tcd[i].vtcd->nbytes) in fsl_edma_desc_residue()
284 * le16_to_cpu(edesc->tcd[i].vtcd->biter); in fsl_edma_desc_residue()
297 * le16_to_cpu(edesc->tcd[i].vtcd->biter); in fsl_edma_desc_residue()
330 if (fsl_chan->edesc && cookie == fsl_chan->edesc->vdesc.tx.cookie) in fsl_edma_tx_status()
626 fsl_chan->edesc = to_fsl_edma_desc(vdesc); in fsl_edma_xfer_desc()
[all …]
A Dmcf-edma.c39 if (!mcf_chan->edesc) { in mcf_edma_tx_handler()
45 if (!mcf_chan->edesc->iscyclic) { in mcf_edma_tx_handler()
46 list_del(&mcf_chan->edesc->vdesc.node); in mcf_edma_tx_handler()
47 vchan_cookie_complete(&mcf_chan->edesc->vdesc); in mcf_edma_tx_handler()
48 mcf_chan->edesc = NULL; in mcf_edma_tx_handler()
52 vchan_cyclic_callback(&mcf_chan->edesc->vdesc); in mcf_edma_tx_handler()
55 if (!mcf_chan->edesc) in mcf_edma_tx_handler()
A Dfsl-edma.c50 if (!fsl_chan->edesc) { in fsl_edma_tx_handler()
56 if (!fsl_chan->edesc->iscyclic) { in fsl_edma_tx_handler()
57 list_del(&fsl_chan->edesc->vdesc.node); in fsl_edma_tx_handler()
58 vchan_cookie_complete(&fsl_chan->edesc->vdesc); in fsl_edma_tx_handler()
59 fsl_chan->edesc = NULL; in fsl_edma_tx_handler()
63 vchan_cyclic_callback(&fsl_chan->edesc->vdesc); in fsl_edma_tx_handler()
66 if (!fsl_chan->edesc) in fsl_edma_tx_handler()
A Dfsl-edma-common.h121 struct fsl_edma_desc *edesc; member

Completed in 60 milliseconds