Home
last modified time | relevance | path

Searched refs:qidev (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/crypto/caam/
H A Dqi.c106 int caam_qi_enqueue(struct device *qidev, struct caam_drv_req *req) in caam_qi_enqueue() argument
116 addr = dma_map_single(qidev, req->fd_sgt, sizeof(req->fd_sgt), in caam_qi_enqueue()
118 if (dma_mapping_error(qidev, addr)) { in caam_qi_enqueue()
119 dev_err(qidev, "DMA mapping error for QI enqueue request\n"); in caam_qi_enqueue()
136 dev_err(qidev, "qman_enqueue failed: %d\n", ret); in caam_qi_enqueue()
147 struct device *qidev = &(raw_cpu_ptr(&pcpu_qipriv)->net_dev->dev); in caam_fq_ern_cb() local
148 struct caam_drv_private *priv = dev_get_drvdata(qidev); in caam_fq_ern_cb()
154 dev_err(qidev, in caam_fq_ern_cb()
162 dev_err(qidev, "Non-compound FD from CAAM\n"); in caam_fq_ern_cb()
166 dma_unmap_single(drv_req->drv_ctx->qidev, qm_fd_addr(fd), in caam_fq_ern_cb()
[all …]
H A Dcaamalg_qi.c74 struct device *qidev; member
859 drv_ctx = caam_drv_ctx_init(ctx->qidev, &cpu, desc); in get_drv_ctx()
919 struct device *qidev; in aead_done() local
926 qidev = caam_ctx->qidev; in aead_done()
929 ecode = caam_jr_strstatus(qidev, status); in aead_done()
932 aead_unmap(qidev, edesc, aead_req); in aead_done()
948 struct device *qidev = ctx->qidev; in aead_edesc_alloc() local
969 dev_err(qidev, "could not allocate extended descriptor\n"); in aead_edesc_alloc()
979 dev_err(qidev, "Insufficient bytes (%d) in src S/G\n", in aead_edesc_alloc()
985 mapped_src_nents = dma_map_sg(qidev, req->src, src_nents, in aead_edesc_alloc()
[all …]
H A Dqi.h73 struct device *qidev; member
113 struct caam_drv_ctx *caam_drv_ctx_init(struct device *qidev, int *cpu,
126 int caam_qi_enqueue(struct device *qidev, struct caam_drv_req *req);
H A Derror.h18 #define caam_qi2_strstatus(qidev, status) caam_strstatus(qidev, status, true) argument
H A Derror.c307 static int report_qi_status(struct device *qidev, const u32 status, in report_qi_status() argument
324 dev_err(qidev, "%08x: %s: %s%s\n", in report_qi_status()