Home
last modified time | relevance | path

Searched refs:ccm (Results 1 – 25 of 34) sorted by relevance

12

/linux/drivers/clk/imx/
H A Dclk-imx25.c42 #define ccm(x) (ccm_base + (x)) macro
82 clk[mpll] = imx_clk_pllv1(IMX_PLLV1_IMX25, "mpll", "osc", ccm(CCM_MPCTL)); in __mx25_clocks_init()
83 clk[upll] = imx_clk_pllv1(IMX_PLLV1_IMX25, "upll", "osc", ccm(CCM_UPCTL)); in __mx25_clocks_init()
85 …clk[cpu_sel] = imx_clk_mux("cpu_sel", ccm(CCM_CCTL), 14, 1, cpu_sel_clks, ARRAY_SIZE(cpu_sel_clks)… in __mx25_clocks_init()
86 clk[cpu] = imx_clk_divider("cpu", "cpu_sel", ccm(CCM_CCTL), 30, 2); in __mx25_clocks_init()
87 clk[ahb] = imx_clk_divider("ahb", "cpu", ccm(CCM_CCTL), 28, 2); in __mx25_clocks_init()
88 clk[usb_div] = imx_clk_divider("usb_div", "upll", ccm(CCM_CCTL), 16, 6); in __mx25_clocks_init()
90 …clk[per0_sel] = imx_clk_mux("per0_sel", ccm(CCM_MCR), 0, 1, per_sel_clks, ARRAY_SIZE(per_sel_clks)… in __mx25_clocks_init()
91 …clk[per1_sel] = imx_clk_mux("per1_sel", ccm(CCM_MCR), 1, 1, per_sel_clks, ARRAY_SIZE(per_sel_clks)… in __mx25_clocks_init()
92 …clk[per2_sel] = imx_clk_mux("per2_sel", ccm(CCM_MCR), 2, 1, per_sel_clks, ARRAY_SIZE(per_sel_clks)… in __mx25_clocks_init()
[all …]
H A Dclk-imx1.c28 static void __iomem *ccm __initdata;
29 #define CCM_CSCR (ccm + 0x0000)
30 #define CCM_MPCTL0 (ccm + 0x0004)
31 #define CCM_SPCTL0 (ccm + 0x000c)
32 #define CCM_PCDR (ccm + 0x0020)
33 #define SCM_GCCR (ccm + 0x0810)
37 ccm = of_iomap(np, 0); in mx1_clocks_init_dt()
38 BUG_ON(!ccm); in mx1_clocks_init_dt()
H A Dclk-imx27.c19 static void __iomem *ccm __initdata;
22 #define CCM_CSCR (ccm + 0x00)
23 #define CCM_MPCTL0 (ccm + 0x04)
24 #define CCM_MPCTL1 (ccm + 0x08)
25 #define CCM_SPCTL0 (ccm + 0x0c)
26 #define CCM_SPCTL1 (ccm + 0x10)
27 #define CCM_PCDR0 (ccm + 0x18)
28 #define CCM_PCDR1 (ccm + 0x1c)
29 #define CCM_PCCR0 (ccm + 0x20)
30 #define CCM_PCCR1 (ccm + 0x24)
[all …]
H A Dclk-imx31.c128 void __iomem *ccm; in mx31_clocks_init_dt() local
140 ccm = of_iomap(np, 0); in mx31_clocks_init_dt()
141 if (!ccm) in mx31_clocks_init_dt()
144 _mx31_clocks_init(ccm, fref); in mx31_clocks_init_dt()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dccm.c14 static bool nfp_ccm_all_tags_busy(struct nfp_ccm *ccm) in nfp_ccm_all_tags_busy() argument
18 used_tags = ccm->tag_alloc_next - ccm->tag_alloc_last; in nfp_ccm_all_tags_busy()
23 static int nfp_ccm_alloc_tag(struct nfp_ccm *ccm) in nfp_ccm_alloc_tag() argument
29 if (unlikely(nfp_ccm_all_tags_busy(ccm))) { in nfp_ccm_alloc_tag()
30 ccm_warn(ccm->app, "all FW request contexts busy!\n"); in nfp_ccm_alloc_tag()
34 WARN_ON(__test_and_set_bit(ccm->tag_alloc_next, ccm->tag_allocator)); in nfp_ccm_alloc_tag()
35 return ccm->tag_alloc_next++; in nfp_ccm_alloc_tag()
38 static void nfp_ccm_free_tag(struct nfp_ccm *ccm, u16 tag) in nfp_ccm_free_tag() argument
40 WARN_ON(!__test_and_clear_bit(tag, ccm->tag_allocator)); in nfp_ccm_free_tag()
42 while (!test_bit(ccm->tag_alloc_last, ccm->tag_allocator) && in nfp_ccm_free_tag()
[all …]
H A Dccm.h107 int nfp_ccm_init(struct nfp_ccm *ccm, struct nfp_app *app);
108 void nfp_ccm_clean(struct nfp_ccm *ccm);
109 void nfp_ccm_rx(struct nfp_ccm *ccm, struct sk_buff *skb);
111 nfp_ccm_communicate(struct nfp_ccm *ccm, struct sk_buff *skb,
H A DMakefile19 ccm.o \
/linux/arch/arm64/crypto/
H A DMakefile32 obj-$(CONFIG_CRYPTO_SM4_ARM64_CE_CCM) += sm4-ce-ccm.o
33 sm4-ce-ccm-y := sm4-ce-ccm-glue.o sm4-ce-ccm-core.o
50 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o
51 aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o
/linux/Documentation/devicetree/bindings/clock/
H A Dvf610-clock.txt4 - compatible: Should be "fsl,vf610-ccm"
27 clks: ccm@4006b000 {
28 compatible = "fsl,vf610-ccm";
/linux/drivers/crypto/nx/
H A Dnx-aes-ccm.c64 memcpy(nx_ctx->priv.ccm.nonce, in_key + key_len, 3); in ccm4309_aes_nx_set_key()
192 b1 = nx_ctx->priv.ccm.iauth_tag; in generate_pat()
334 struct nx_ccm_priv *priv = &nx_ctx->priv.ccm; in ccm_nx_decrypt()
484 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); in ccm4309_aes_nx_encrypt()
508 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); in ccm4309_aes_nx_decrypt()
H A DMakefile7 nx-aes-ccm.o \
H A Dnx.h136 struct nx_ccm_priv ccm; member
/linux/drivers/iommu/
H A Dfsl_pamu.c590 void __iomem *ccm = NULL; in create_csd() local
642 ccm = of_iomap(np, 0); in create_csd()
643 if (!ccm) { in create_csd()
649 csdids = ccm + 0x600; in create_csd()
702 if (ccm) in create_csd()
703 iounmap(ccm); in create_csd()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dcmsg.c103 skb = nfp_ccm_communicate(&bpf->ccm, skb, NFP_CCM_TYPE_BPF_MAP_ALLOC, in nfp_bpf_ctrl_alloc_map()
138 skb = nfp_ccm_communicate(&bpf->ccm, skb, NFP_CCM_TYPE_BPF_MAP_FREE, in nfp_bpf_ctrl_free_map()
335 skb = nfp_ccm_communicate(&bpf->ccm, skb, op, 0); in nfp_bpf_ctrl_entry_op()
462 nfp_ccm_rx(&bpf->ccm, skb); in nfp_bpf_ctrl_msg_rx()
H A Dmain.c469 err = nfp_ccm_init(&bpf->ccm, app); in nfp_bpf_init()
502 nfp_ccm_clean(&bpf->ccm); in nfp_bpf_init()
513 nfp_ccm_clean(&bpf->ccm); in nfp_bpf_clean()
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dbrcm,iproc-gpio.txt13 "brcm,cygnus-ccm-gpio", "brcm,cygnus-asiu-gpio", or
74 compatible = "brcm,cygnus-ccm-gpio";
/linux/drivers/crypto/intel/keembay/
H A DKconfig13 cbc(aes), ctr(aes), ccm(aes), gcm(aes), cbc(sm4), ctr(sm4), ccm(sm4)
/linux/drivers/crypto/caam/
H A Dpdb.h142 struct ipsec_encap_ccm ccm; member
208 struct ipsec_decap_ccm ccm; member
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx1.dtsi199 clks: ccm@21b000 {
200 compatible = "fsl,imx1-ccm";
H A Dimx31.dtsi235 clks: ccm@53f80000 {
236 compatible = "fsl,imx31-ccm";
H A Dimxrt1050.dtsi52 compatible = "fsl,imxrt1050-ccm";
H A Dimx25.dtsi354 clks: ccm@53f80000 {
355 compatible = "fsl,imx25-ccm";
H A Dimx27.dtsi537 clks: ccm@10027000 {
538 compatible = "fsl,imx27-ccm";
/linux/drivers/s390/char/
H A Dsclp_cmd.c551 u8 ccm; member
617 u8 ccm; member
/linux/drivers/gpu/drm/vc4/
H A Dvc4_plane.c1615 const u32 *ccm; in vc4_plane_mode_set() local
1622 ccm = colorspace_coeffs[color_range][color_encoding]; in vc4_plane_mode_set()
1624 vc4_dlist_write(vc4_state, ccm[0]); in vc4_plane_mode_set()
1625 vc4_dlist_write(vc4_state, ccm[1]); in vc4_plane_mode_set()
1626 vc4_dlist_write(vc4_state, ccm[2]); in vc4_plane_mode_set()

12