Home
last modified time | relevance | path

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

/linux-6.15/drivers/crypto/qce/
H A Dcore.c99 if (qce->req) in qce_handle_queue()
132 req = qce->req; in qce_req_done_work()
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()
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 …]
H A Dcommon.c23 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 …]
H 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
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 …]
H 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 …]
H 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 …]
H A Dcore.h45 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);
H 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-6.15/Documentation/devicetree/bindings/crypto/
H A Dqcom-qce.yaml30 - qcom,ipq4019-qce
31 - qcom,sm8150-qce
32 - const: qcom,qce
36 - qcom,ipq6018-qce
41 - qcom,sdm845-qce
42 - qcom,sm6115-qce
44 - const: qcom,qce
50 - qcom,sc7280-qce
51 - qcom,sm6350-qce
60 - const: qcom,qce
[all …]
/linux-6.15/drivers/crypto/
H A DMakefile33 obj-$(CONFIG_CRYPTO_DEV_QCE) += qce/
H A DKconfig639 qce at 256-bytes, 30% faster at 512, and about even at 768-bytes.
/linux-6.15/arch/arm64/boot/dts/qcom/
H A Dipq9574.dtsi385 compatible = "qcom,ipq9574-qce", "qcom,ipq4019-qce", "qcom,qce";
H A Dsm6350.dtsi1227 compatible = "qcom,sm6350-qce", "qcom,sm8150-qce", "qcom,qce";
H A Dsm6115.dtsi869 compatible = "qcom,sm6115-qce", "qcom,ipq4019-qce", "qcom,qce";
H A Dsm8350.dtsi1817 compatible = "qcom,sm8350-qce", "qcom,sm8150-qce", "qcom,qce";
H A Dqcs8300.dtsi802 compatible = "qcom,qcs8300-qce", "qcom,qce";
H A Dsm8450.dtsi5295 compatible = "qcom,sm8450-qce", "qcom,sm8150-qce", "qcom,qce";
H A Dsm8550.dtsi1966 compatible = "qcom,sm8550-qce", "qcom,sm8150-qce", "qcom,qce";
H A Dsm8650.dtsi2540 compatible = "qcom,sm8650-qce", "qcom,sm8150-qce", "qcom,qce";
H A Dsm8250.dtsi2606 compatible = "qcom,sm8250-qce", "qcom,sm8150-qce", "qcom,qce";
H A Dsc7280.dtsi2420 compatible = "qcom,sc7280-qce", "qcom,sm8150-qce", "qcom,qce";
H A Dsm8150.dtsi2154 compatible = "qcom,sm8150-qce", "qcom,qce";
H A Dsa8775p.dtsi2422 compatible = "qcom,sa8775p-qce", "qcom,qce";
/linux-6.15/
H A DMAINTAINERS20078 F: Documentation/devicetree/bindings/crypto/qcom-qce.yaml
20079 F: drivers/crypto/qce/