Home
last modified time | relevance | path

Searched refs:qce (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/crypto/qce/
A Dcore.c93 if (qce->req) { in qce_handle_queue()
130 req = qce->req; in qce_tasklet_req_done()
131 qce->req = NULL; in qce_tasklet_req_done()
180 qce->pipe_pair_id = qce->dma.rxchan->chan_id >> 1; in qce_check_version()
194 qce = devm_kzalloc(dev, sizeof(*qce), GFP_KERNEL); in qce_crypto_probe()
195 if (!qce) in qce_crypto_probe()
198 qce->dev = dev; in qce_crypto_probe()
209 qce->core = devm_clk_get(qce->dev, "core"); in qce_crypto_probe()
213 qce->iface = devm_clk_get(qce->dev, "iface"); in qce_crypto_probe()
217 qce->bus = devm_clk_get(qce->dev, "bus"); in qce_crypto_probe()
[all …]
A Dcommon.c22 return readl(qce->base + offset); in qce_read()
27 writel(val, qce->base + offset); in qce_write()
88 qce_write(qce, REG_STATUS, 0); in qce_setup_config()
152 struct qce_device *qce = tmpl->qce; in qce_setup_regs_ahash() local
164 qce_setup_config(qce); in qce_setup_regs_ahash()
225 qce_crypto_go(qce, true); in qce_setup_regs_ahash()
319 struct qce_device *qce = tmpl->qce; in qce_setup_regs_skcipher() local
328 qce_setup_config(qce); in qce_setup_regs_skcipher()
388 qce_crypto_go(qce, true); in qce_setup_regs_skcipher()
425 struct qce_device *qce = tmpl->qce; in qce_setup_regs_aead() local
[all …]
A Dsha.c43 struct qce_device *qce = tmpl->qce; in qce_ahash_done() local
72 qce->async_req_done(tmpl->qce, error); in qce_ahash_done()
81 struct qce_device *qce = tmpl->qce; in qce_ahash_async_req_handle() local
186 struct qce_device *qce = tmpl->qce; in qce_ahash_update() local
271 return qce->async_req_enqueue(tmpl->qce, &req->base); in qce_ahash_update()
278 struct qce_device *qce = tmpl->qce; in qce_ahash_final() local
298 return qce->async_req_enqueue(tmpl->qce, &req->base); in qce_ahash_final()
305 struct qce_device *qce = tmpl->qce; in qce_ahash_digest() local
324 return qce->async_req_enqueue(tmpl->qce, &req->base); in qce_ahash_digest()
497 tmpl->qce = qce; in qce_ahash_register_one()
[all …]
A Dskcipher.c33 struct qce_device *qce = tmpl->qce; in qce_skcipher_done() local
44 error = qce_dma_terminate_all(&qce->dma); in qce_skcipher_done()
55 error = qce_check_status(qce, &status); in qce_skcipher_done()
60 qce->async_req_done(tmpl->qce, error); in qce_skcipher_done()
70 struct qce_device *qce = tmpl->qce; in qce_skcipher_async_req_handle() local
150 qce_dma_issue_pending(&qce->dma); in qce_skcipher_async_req_handle()
159 qce_dma_terminate_all(&qce->dma); in qce_skcipher_async_req_handle()
307 return tmpl->qce->async_req_enqueue(tmpl->qce, &req->base); in qce_skcipher_crypt()
437 struct qce_device *qce) in qce_skcipher_register_one() argument
483 tmpl->qce = qce; in qce_skcipher_register_one()
[all …]
A Daead.c30 struct qce_device *qce = tmpl->qce; in qce_aead_done() local
89 qce->async_req_done(qce, error); in qce_aead_done()
97 struct qce_device *qce = tmpl->qce; in qce_aead_prepare_result_buf() local
117 struct qce_device *qce = tmpl->qce; in qce_aead_prepare_dst_buf() local
305 struct qce_device *qce = tmpl->qce; in qce_aead_prepare_buf() local
415 struct qce_device *qce = tmpl->qce; in qce_aead_async_req_handle() local
476 qce_dma_issue_pending(&qce->dma); in qce_aead_async_req_handle()
485 qce_dma_terminate_all(&qce->dma); in qce_aead_async_req_handle()
552 return tmpl->qce->async_req_enqueue(tmpl->qce, &req->base); in qce_aead_crypt()
801 tmpl->qce = qce; in qce_aead_register_one()
[all …]
A Dcore.h41 int (*async_req_enqueue)(struct qce_device *qce,
43 void (*async_req_done)(struct qce_device *qce, int ret);
55 int (*register_algs)(struct qce_device *qce);
56 void (*unregister_algs)(struct qce_device *qce);
A Dcommon.h94 struct qce_device *qce; member
100 int qce_check_status(struct qce_device *qce, u32 *status);
101 void qce_get_version(struct qce_device *qce, u32 *major, u32 *minor, u32 *step);
/linux/fs/ntfs/
A Dquota.c26 QUOTA_CONTROL_ENTRY *qce; in ntfs_mark_quotas_out_of_date() local
58 qce = (QUOTA_CONTROL_ENTRY*)ictx->data; in ntfs_mark_quotas_out_of_date()
59 if (le32_to_cpu(qce->version) != QUOTA_VERSION) { in ntfs_mark_quotas_out_of_date()
61 "supported.", le32_to_cpu(qce->version)); in ntfs_mark_quotas_out_of_date()
64 ntfs_debug("Quota defaults flags = 0x%x.", le32_to_cpu(qce->flags)); in ntfs_mark_quotas_out_of_date()
66 if (qce->flags & QUOTA_FLAG_OUT_OF_DATE) in ntfs_mark_quotas_out_of_date()
72 if (!(qce->flags & (QUOTA_FLAG_TRACKING_ENABLED | in ntfs_mark_quotas_out_of_date()
81 qce->flags |= QUOTA_FLAG_OUT_OF_DATE; in ntfs_mark_quotas_out_of_date()
/linux/drivers/crypto/
A DMakefile35 obj-$(CONFIG_CRYPTO_DEV_QCE) += qce/
A DKconfig729 qce at 256-bytes, 30% faster at 512, and about even at 768-bytes.
/linux/
A DMAINTAINERS15759 F: drivers/crypto/qce/

Completed in 32 milliseconds