| /linux-6.15/drivers/crypto/qce/ |
| H A D | core.c | 99 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 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 …]
|
| H 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 …]
|
| H 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 …]
|
| H 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 …]
|
| H 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);
|
| H 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);
|
| /linux-6.15/Documentation/devicetree/bindings/crypto/ |
| H A D | qcom-qce.yaml | 30 - 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 D | Makefile | 33 obj-$(CONFIG_CRYPTO_DEV_QCE) += qce/
|
| H A D | Kconfig | 639 qce at 256-bytes, 30% faster at 512, and about even at 768-bytes.
|
| /linux-6.15/arch/arm64/boot/dts/qcom/ |
| H A D | ipq9574.dtsi | 385 compatible = "qcom,ipq9574-qce", "qcom,ipq4019-qce", "qcom,qce";
|
| H A D | sm6350.dtsi | 1227 compatible = "qcom,sm6350-qce", "qcom,sm8150-qce", "qcom,qce";
|
| H A D | sm6115.dtsi | 869 compatible = "qcom,sm6115-qce", "qcom,ipq4019-qce", "qcom,qce";
|
| H A D | sm8350.dtsi | 1817 compatible = "qcom,sm8350-qce", "qcom,sm8150-qce", "qcom,qce";
|
| H A D | qcs8300.dtsi | 802 compatible = "qcom,qcs8300-qce", "qcom,qce";
|
| H A D | sm8450.dtsi | 5295 compatible = "qcom,sm8450-qce", "qcom,sm8150-qce", "qcom,qce";
|
| H A D | sm8550.dtsi | 1966 compatible = "qcom,sm8550-qce", "qcom,sm8150-qce", "qcom,qce";
|
| H A D | sm8650.dtsi | 2540 compatible = "qcom,sm8650-qce", "qcom,sm8150-qce", "qcom,qce";
|
| H A D | sm8250.dtsi | 2606 compatible = "qcom,sm8250-qce", "qcom,sm8150-qce", "qcom,qce";
|
| H A D | sc7280.dtsi | 2420 compatible = "qcom,sc7280-qce", "qcom,sm8150-qce", "qcom,qce";
|
| H A D | sm8150.dtsi | 2154 compatible = "qcom,sm8150-qce", "qcom,qce";
|
| H A D | sa8775p.dtsi | 2422 compatible = "qcom,sa8775p-qce", "qcom,qce";
|
| /linux-6.15/ |
| H A D | MAINTAINERS | 20078 F: Documentation/devicetree/bindings/crypto/qcom-qce.yaml 20079 F: drivers/crypto/qce/
|