Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/clk/imx/
Dclk-imx25.c41 #define ccm(x) (ccm_base + (x)) macro
81 clk[mpll] = imx_clk_pllv1(IMX_PLLV1_IMX25, "mpll", "osc", ccm(CCM_MPCTL)); in __mx25_clocks_init()
82 clk[upll] = imx_clk_pllv1(IMX_PLLV1_IMX25, "upll", "osc", ccm(CCM_UPCTL)); in __mx25_clocks_init()
84 …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()
85 clk[cpu] = imx_clk_divider("cpu", "cpu_sel", ccm(CCM_CCTL), 30, 2); in __mx25_clocks_init()
86 clk[ahb] = imx_clk_divider("ahb", "cpu", ccm(CCM_CCTL), 28, 2); in __mx25_clocks_init()
87 clk[usb_div] = imx_clk_divider("usb_div", "upll", ccm(CCM_CCTL), 16, 6); in __mx25_clocks_init()
89 …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()
90 …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()
91 …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 …]
Dclk-imx1.c29 static void __iomem *ccm __initdata;
30 #define CCM_CSCR (ccm + 0x0000)
31 #define CCM_MPCTL0 (ccm + 0x0004)
32 #define CCM_SPCTL0 (ccm + 0x000c)
33 #define CCM_PCDR (ccm + 0x0020)
34 #define SCM_GCCR (ccm + 0x0810)
38 ccm = of_iomap(np, 0); in mx1_clocks_init_dt()
39 BUG_ON(!ccm); in mx1_clocks_init_dt()
Dclk-imx27.c20 static void __iomem *ccm __initdata;
23 #define CCM_CSCR (ccm + 0x00)
24 #define CCM_MPCTL0 (ccm + 0x04)
25 #define CCM_MPCTL1 (ccm + 0x08)
26 #define CCM_SPCTL0 (ccm + 0x0c)
27 #define CCM_SPCTL1 (ccm + 0x10)
28 #define CCM_PCDR0 (ccm + 0x18)
29 #define CCM_PCDR1 (ccm + 0x1c)
30 #define CCM_PCCR0 (ccm + 0x20)
31 #define CCM_PCCR1 (ccm + 0x24)
[all …]
Dclk-imx31.c129 void __iomem *ccm; in mx31_clocks_init_dt() local
141 ccm = of_iomap(np, 0); in mx31_clocks_init_dt()
142 if (!ccm) in mx31_clocks_init_dt()
145 _mx31_clocks_init(ccm, fref); in mx31_clocks_init_dt()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/
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 …]
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,
DMakefile18 ccm.o \
/Linux-v5.15/drivers/power/supply/
Dab8500_chargalg.c246 struct ab8500_charge_curr_maximization ccm; member
819 di->ccm.original_iset = in init_maxim_chg_curr()
821 di->ccm.current_iset = in init_maxim_chg_curr()
823 di->ccm.test_delta_i = di->bm->maxi->charger_curr_step; in init_maxim_chg_curr()
824 di->ccm.max_current = di->bm->maxi->chg_curr; in init_maxim_chg_curr()
825 di->ccm.condition_cnt = di->bm->maxi->wait_cycles; in init_maxim_chg_curr()
826 di->ccm.level = 0; in init_maxim_chg_curr()
845 delta_i = di->ccm.original_iset - di->batt_data.inst_curr; in ab8500_chargalg_chg_curr_maxim()
849 di->ccm.wait_cnt); in ab8500_chargalg_chg_curr_maxim()
850 if (di->ccm.wait_cnt == 0) { in ab8500_chargalg_chg_curr_maxim()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/clock/
Dvf610-clock.txt4 - compatible: Should be "fsl,vf610-ccm"
27 clks: ccm@4006b000 {
28 compatible = "fsl,vf610-ccm";
/Linux-v5.15/arch/arm64/crypto/
DMakefile35 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o
36 aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o
/Linux-v5.15/drivers/crypto/nx/
Dnx-aes-ccm.c64 memcpy(nx_ctx->priv.ccm.nonce, in_key + key_len, 3); in ccm4309_aes_nx_set_key()
195 b1 = nx_ctx->priv.ccm.iauth_tag; in generate_pat()
337 struct nx_ccm_priv *priv = &nx_ctx->priv.ccm; in ccm_nx_decrypt()
487 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); in ccm4309_aes_nx_encrypt()
511 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); in ccm4309_aes_nx_decrypt()
DMakefile8 nx-aes-ccm.o \
Dnx.h136 struct nx_ccm_priv ccm; member
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/bpf/
Dcmsg.c101 skb = nfp_ccm_communicate(&bpf->ccm, skb, NFP_CCM_TYPE_BPF_MAP_ALLOC, in nfp_bpf_ctrl_alloc_map()
136 skb = nfp_ccm_communicate(&bpf->ccm, skb, NFP_CCM_TYPE_BPF_MAP_FREE, in nfp_bpf_ctrl_free_map()
333 skb = nfp_ccm_communicate(&bpf->ccm, skb, op, 0); in nfp_bpf_ctrl_entry_op()
460 nfp_ccm_rx(&bpf->ccm, skb); in nfp_bpf_ctrl_msg_rx()
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-v5.15/drivers/iommu/
Dfsl_pamu.c586 void __iomem *ccm = NULL; in create_csd() local
638 ccm = of_iomap(np, 0); in create_csd()
639 if (!ccm) { in create_csd()
645 csdids = ccm + 0x600; in create_csd()
698 if (ccm) in create_csd()
699 iounmap(ccm); in create_csd()
/Linux-v5.15/drivers/crypto/keembay/
DKconfig13 cbc(aes), ctr(aes), ccm(aes), gcm(aes), cbc(sm4), ctr(sm4), ccm(sm4)
/Linux-v5.15/Documentation/devicetree/bindings/pinctrl/
Dbrcm,iproc-gpio.txt13 "brcm,cygnus-ccm-gpio", "brcm,cygnus-asiu-gpio", or
74 compatible = "brcm,cygnus-ccm-gpio";
/Linux-v5.15/drivers/crypto/caam/
Dpdb.h142 struct ipsec_encap_ccm ccm; member
208 struct ipsec_decap_ccm ccm; member
/Linux-v5.15/arch/arm/boot/dts/
Dimx1.dtsi199 clks: ccm@21b000 {
200 compatible = "fsl,imx1-ccm";
Dimx31.dtsi235 clks: ccm@53f80000{
236 compatible = "fsl,imx31-ccm";
Dimx35.dtsi209 clks: ccm@53f80000 {
210 compatible = "fsl,imx35-ccm";
Dimx50.dtsi338 clks: ccm@53fd4000{
339 compatible = "fsl,imx50-ccm";
Dimx25.dtsi347 clks: ccm@53f80000 {
348 compatible = "fsl,imx25-ccm";
/Linux-v5.15/drivers/s390/char/
Dsclp_cmd.c528 u8 ccm; member
594 u8 ccm; member

12