Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/crypto/caam/
Dqi.c139 struct caam_drv_req *drv_req; in caam_fq_ern_cb() local
145 drv_req = caam_iova_to_virt(priv->domain, qm_fd_addr_get64(fd)); in caam_fq_ern_cb()
146 if (!drv_req) { in caam_fq_ern_cb()
152 refcount_dec(&drv_req->drv_ctx->refcnt); in caam_fq_ern_cb()
159 dma_unmap_single(drv_req->drv_ctx->qidev, qm_fd_addr(fd), in caam_fq_ern_cb()
160 sizeof(drv_req->fd_sgt), DMA_BIDIRECTIONAL); in caam_fq_ern_cb()
163 drv_req->cbk(drv_req, be32_to_cpu(fd->status)); in caam_fq_ern_cb()
165 drv_req->cbk(drv_req, JRSTA_SSRC_QI); in caam_fq_ern_cb()
567 struct caam_drv_req *drv_req; in caam_rsp_fq_dqrr_cb() local
578 drv_req = caam_iova_to_virt(priv->domain, qm_fd_addr_get64(fd)); in caam_rsp_fq_dqrr_cb()
[all …]
Dcaamalg_qi.c805 struct caam_drv_req drv_req; member
825 struct caam_drv_req drv_req; member
912 static void aead_done(struct caam_drv_req *drv_req, u32 status) in aead_done() argument
916 struct aead_request *aead_req = drv_req->app_ctx; in aead_done()
926 edesc = container_of(drv_req, typeof(*edesc), drv_req); in aead_done()
1090 edesc->drv_req.app_ctx = req; in aead_edesc_alloc()
1091 edesc->drv_req.cbk = aead_done; in aead_edesc_alloc()
1092 edesc->drv_req.drv_ctx = drv_ctx; in aead_edesc_alloc()
1134 fd_sgt = &edesc->drv_req.fd_sgt[0]; in aead_edesc_alloc()
1172 ret = caam_qi_enqueue(ctx->qidev, &edesc->drv_req); in aead_crypt()
[all …]
Dqi.h34 typedef void (*caam_qi_cbk)(struct caam_drv_req *drv_req, u32 status);
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_display_power_well.c891 u32 drv_req = intel_de_read(dev_priv, regs->driver); in hsw_power_well_sync_hw() local
893 if (!(drv_req & mask)) in hsw_power_well_sync_hw()
894 intel_de_write(dev_priv, regs->driver, drv_req | mask); in hsw_power_well_sync_hw()