Home
last modified time | relevance | path

Searched refs:dma_p (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c71 dma_addr_t dma_p; member
109 dma_addr_t dma_p; member
265 qat_req->in.dh.in.p = ctx->dma_p; in qat_dh_compute_value()
270 qat_req->in.dh.in_g2.p = ctx->dma_p; in qat_dh_compute_value()
275 qat_req->in.dh.in.p = ctx->dma_p; in qat_dh_compute_value()
406 ctx->p = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_p, GFP_KERNEL); in qat_dh_set_params()
440 dma_free_coherent(dev, ctx->p_size, ctx->p, ctx->dma_p); in qat_dh_clear_ctx()
821 qat_req->in.rsa.dec_crt.p = ctx->dma_p; in qat_rsa_dec()
1037 ctx->p = dma_alloc_coherent(dev, half_key_sz, &ctx->dma_p, GFP_KERNEL); in qat_rsa_setkey_crt()
1106 dma_free_coherent(dev, half_key_sz, ctx->p, ctx->dma_p); in qat_rsa_setkey_crt()
[all …]
/Linux-v6.1/drivers/isdn/hardware/mISDN/
Dnetjet.c73 void *dma_p; member
300 card->dma_p = dma_alloc_coherent(&card->pdev->dev, NJ_DMA_SIZE, in inittiger()
302 if (!card->dma_p) { in inittiger()
322 memset(card->dma_p, 0xff, NJ_DMA_SIZE); in inittiger()
324 card->send.start = card->dma_p; in inittiger()
342 card->recv.start = card->dma_p + (NJ_DMA_SIZE / 2); in inittiger()
967 if (card->dma_p) in nj_release()
968 dma_free_coherent(&card->pdev->dev, NJ_DMA_SIZE, card->dma_p, in nj_release()
/Linux-v6.1/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c97 dma_addr_t dma_p; member
107 dma_addr_t dma_p; member
1206 dma_free_coherent(dev, sz << 3, ctx->ecdh.p, ctx->ecdh.dma_p); in hpre_ecc_clear_ctx()
1212 ctx->curve25519.dma_p); in hpre_ecc_clear_ctx()
1324 ctx->ecdh.p = dma_alloc_coherent(dev, sz << 3, &ctx->ecdh.dma_p, in hpre_ecdh_set_param()
1332 ctx->ecdh.dma_g = ctx->ecdh.dma_p + shift; in hpre_ecdh_set_param()
1337 dma_free_coherent(dev, sz << 3, ctx->ecdh.p, ctx->ecdh.dma_p); in hpre_ecdh_set_param()
1495 msg->key = cpu_to_le64(ctx->ecdh.dma_p); in hpre_ecdh_msg_request_set()
1689 &ctx->curve25519.dma_p, in hpre_curve25519_set_param()
1696 ctx->curve25519.dma_g = ctx->curve25519.dma_p + shift + sz; in hpre_curve25519_set_param()
[all …]
/Linux-v6.1/drivers/vfio/
Dvfio_iommu_type1.c621 size_t size, struct vfio_dma **dma_p) in vfio_find_dma_valid() argument
626 *dma_p = vfio_find_dma(iommu, start, size); in vfio_find_dma_valid()
627 if (!*dma_p) in vfio_find_dma_valid()
629 else if (!(*dma_p)->vaddr_invalid) in vfio_find_dma_valid()