Searched refs:qce (Results 1 – 9 of 9) sorted by relevance
| /drivers/crypto/qce/ |
| A D | core.c | 99 if (qce->req) in qce_handle_queue() 182 qce->pipe_pair_id = qce->dma.rxchan->chan_id >> 1; in qce_check_version() 196 qce = devm_kzalloc(dev, sizeof(*qce), GFP_KERNEL); in qce_crypto_probe() 197 if (!qce) in qce_crypto_probe() 200 qce->dev = dev; in qce_crypto_probe() 211 qce->core = devm_clk_get_optional_enabled(qce->dev, "core"); in qce_crypto_probe() 215 qce->iface = devm_clk_get_optional_enabled(qce->dev, "iface"); in qce_crypto_probe() 219 qce->bus = devm_clk_get_optional_enabled(qce->dev, "bus"); in qce_crypto_probe() 223 qce->mem_path = devm_of_icc_get(qce->dev, "memory"); in qce_crypto_probe() 231 ret = devm_qce_dma_request(qce->dev, &qce->dma); in qce_crypto_probe() [all …]
|
| A D | common.c | 23 return readl(qce->base + offset); in qce_read() 28 writel(val, qce->base + offset); in qce_write() 89 qce_write(qce, REG_STATUS, 0); in qce_setup_config() 153 struct qce_device *qce = tmpl->qce; in qce_setup_regs_ahash() local 165 qce_setup_config(qce); in qce_setup_regs_ahash() 226 qce_crypto_go(qce, true); in qce_setup_regs_ahash() 320 struct qce_device *qce = tmpl->qce; in qce_setup_regs_skcipher() local 329 qce_setup_config(qce); in qce_setup_regs_skcipher() 389 qce_crypto_go(qce, true); in qce_setup_regs_skcipher() 426 struct qce_device *qce = tmpl->qce; in qce_setup_regs_aead() local [all …]
|
| A D | sha.c | 43 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 188 struct qce_device *qce = tmpl->qce; in qce_ahash_update() local 273 return qce->async_req_enqueue(tmpl->qce, &req->base); in qce_ahash_update() 280 struct qce_device *qce = tmpl->qce; in qce_ahash_final() local 300 return qce->async_req_enqueue(tmpl->qce, &req->base); in qce_ahash_final() 307 struct qce_device *qce = tmpl->qce; in qce_ahash_digest() local 326 return qce->async_req_enqueue(tmpl->qce, &req->base); in qce_ahash_digest() 499 tmpl->qce = qce; in qce_ahash_register_one() [all …]
|
| A D | skcipher.c | 33 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 D | aead.c | 30 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 D | core.h | 45 int (*async_req_enqueue)(struct qce_device *qce, 47 void (*async_req_done)(struct qce_device *qce, int ret); 59 int (*register_algs)(struct qce_device *qce); 60 void (*unregister_algs)(struct qce_device *qce);
|
| A D | common.h | 94 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);
|
| /drivers/crypto/ |
| A D | Makefile | 30 obj-$(CONFIG_CRYPTO_DEV_QCE) += qce/
|
| A D | Kconfig | 646 qce at 256-bytes, 30% faster at 512, and about even at 768-bytes.
|
Completed in 20 milliseconds