Home
last modified time | relevance | path

Searched +full:rk3288 +full:- +full:crypto (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/crypto/
Drockchip,rk3288-crypto.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/crypto/rockchip,rk3288-crypto.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Heiko Stuebner <heiko@sntech.de>
15 - rockchip,rk3288-crypto
16 - rockchip,rk3328-crypto
17 - rockchip,rk3399-crypto
29 clock-names:
37 reset-names:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/crypto/
Drockchip-crypto.txt4 - compatible: Should be "rockchip,rk3288-crypto"
5 - reg: Base physical address of the engine and length of memory mapped
7 - interrupts: Interrupt number
8 - clocks: Reference to the clocks about crypto
9 - clock-names: "aclk" used to clock data
11 "sclk" used to clock crypto accelerator
13 - resets: Must contain an entry for each entry in reset-names.
15 - reset-names: Must include the name "crypto-rst".
19 crypto: cypto-controller@ff8a0000 {
20 compatible = "rockchip,rk3288-crypto";
[all …]
/kernel/linux/linux-5.10/drivers/crypto/rockchip/
Drk3288_crypto.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Crypto acceleration support for Rockchip RK3288
7 * Author: Zain Wang <zain.wang@rock-chips.com>
9 * Some ideas are from marvell-cesa.c and s5p-sss.c driver.
13 #include <linux/dma-mapping.h>
18 #include <linux/crypto.h>
25 err = clk_prepare_enable(dev->sclk); in rk_crypto_enable_clk()
27 dev_err(dev->dev, "[%s:%d], Couldn't enable clock sclk\n", in rk_crypto_enable_clk()
31 err = clk_prepare_enable(dev->aclk); in rk_crypto_enable_clk()
33 dev_err(dev->dev, "[%s:%d], Couldn't enable clock aclk\n", in rk_crypto_enable_clk()
[all …]
Drk3288_crypto_ahash.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Crypto acceleration support for Rockchip RK3288
7 * Author: Zain Wang <zain.wang@rock-chips.com>
9 * Some ideas are from marvell/cesa.c and s5p-sss.c driver.
24 sg = req->src; in rk_ahash_need_fallback()
26 if (!IS_ALIGNED(sg->offset, sizeof(u32))) { in rk_ahash_need_fallback()
29 if (sg->length % 4) { in rk_ahash_need_fallback()
43 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in rk_ahash_digest_fb()
44 rctx->fallback_req.base.flags = areq->base.flags & in rk_ahash_digest_fb()
47 rctx->fallback_req.nbytes = areq->nbytes; in rk_ahash_digest_fb()
[all …]
Drk3288_crypto_skcipher.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Crypto acceleration support for Rockchip RK3288
7 * Author: Zain Wang <zain.wang@rock-chips.com>
9 * Some ideas are from marvell-cesa.c and s5p-sss.c driver.
12 #include <crypto/scatterwalk.h>
24 if (!req->cryptlen) in rk_cipher_need_fallback()
27 len = req->cryptlen; in rk_cipher_need_fallback()
28 sgs = req->src; in rk_cipher_need_fallback()
29 sgd = req->dst; in rk_cipher_need_fallback()
31 if (!IS_ALIGNED(sgs->offset, sizeof(u32))) { in rk_cipher_need_fallback()
[all …]
/kernel/linux/linux-6.6/drivers/crypto/rockchip/
Drk3288_crypto.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Crypto acceleration support for Rockchip RK3288
7 * Author: Zain Wang <zain.wang@rock-chips.com>
9 * Some ideas are from marvell-cesa.c and s5p-sss.c driver.
13 #include <crypto/engine.h>
14 #include <crypto/internal/hash.h>
15 #include <crypto/internal/skcipher.h>
17 #include <linux/dma-mapping.h>
66 dev->num_clks = devm_clk_bulk_get_all(dev->dev, &dev->clks); in rk_crypto_get_clks()
67 if (dev->num_clks < dev->variant->num_clks) { in rk_crypto_get_clks()
[all …]
Drk3288_crypto_ahash.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Crypto acceleration support for Rockchip RK3288
7 * Author: Zain Wang <zain.wang@rock-chips.com>
9 * Some ideas are from marvell/cesa.c and s5p-sss.c driver.
13 #include <crypto/internal/hash.h>
31 sg = req->src; in rk_ahash_need_fallback()
33 if (!IS_ALIGNED(sg->offset, sizeof(u32))) { in rk_ahash_need_fallback()
36 if (sg->length % 4) { in rk_ahash_need_fallback()
52 algt->stat_fb++; in rk_ahash_digest_fb()
54 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in rk_ahash_digest_fb()
[all …]
Drk3288_crypto_skcipher.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Crypto acceleration support for Rockchip RK3288
7 * Author: Zain Wang <zain.wang@rock-chips.com>
9 * Some ideas are from marvell-cesa.c and s5p-sss.c driver.
12 #include <crypto/engine.h>
13 #include <crypto/internal/skcipher.h>
14 #include <crypto/scatterwalk.h>
32 if (!req->cryptlen) in rk_cipher_need_fallback()
35 len = req->cryptlen; in rk_cipher_need_fallback()
36 sgs = req->src; in rk_cipher_need_fallback()
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/
Drk3288.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/interrupt-controller/irq.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include <dt-bindings/clock/rk3288-cru.h>
8 #include <dt-bindings/power/rk3288-power.h>
9 #include <dt-bindings/thermal/thermal.h>
10 #include <dt-bindings/soc/rockchip,boot-mode.h>
13 #address-cells = <2>;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Drk3288.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/interrupt-controller/irq.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include <dt-bindings/clock/rk3288-cru.h>
8 #include <dt-bindings/power/rk3288-power.h>
9 #include <dt-bindings/thermal/thermal.h>
10 #include <dt-bindings/soc/rockchip,boot-mode.h>
13 #address-cells = <2>;
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/
Drk3399.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/rk3399-cru.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/power/rk3399-power.h>
12 #include <dt-bindings/thermal/thermal.h>
17 interrupt-parent = <&gic>;
18 #address-cells = <2>;
[all …]
Drk3328.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/rk3328-cru.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/power/rk3328-power.h>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
13 #include <dt-bindings/thermal/thermal.h>
18 interrupt-parent = <&gic>;
[all …]
/kernel/linux/linux-6.6/drivers/clk/rockchip/
Dclk-rk3288.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 #include <linux/clk-provider.h>
12 #include <dt-bindings/clock/rk3288-cru.h>
284 * Clock-Architecture Diagram 1
352 COMPOSITE_NOMUX(SCLK_CRYPTO, "crypto", "aclk_cpu_pre", 0,
411 * Clock-Architecture Diagram 2
513 * Clock-Architecture Diagram 3
662 * Clock-Architecture Diagram 4
849 /* pwm-regulators on some boards, so handoff-critical later */
913 for (i = ARRAY_SIZE(rk3288_saved_cru_reg_ids) - 1; i >= 0; i--) { in rk3288_clk_resume()
[all …]
/kernel/linux/linux-5.10/drivers/clk/rockchip/
Dclk-rk3288.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 #include <linux/clk-provider.h>
12 #include <dt-bindings/clock/rk3288-cru.h>
283 * Clock-Architecture Diagram 1
351 COMPOSITE_NOMUX(SCLK_CRYPTO, "crypto", "aclk_cpu_pre", 0,
410 * Clock-Architecture Diagram 2
512 * Clock-Architecture Diagram 3
661 * Clock-Architecture Diagram 4
848 /* pwm-regulators on some boards, so handoff-critical later */
912 for (i = ARRAY_SIZE(rk3288_saved_cru_reg_ids) - 1; i >= 0; i--) { in rk3288_clk_resume()
[all …]
/kernel/linux/linux-6.6/
DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-scsi@vger.kernel.org
88 F: drivers/scsi/3w-*
[all …]