Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/clk/imx/
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 …]
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()
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 …]
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-6.6.21/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,
/linux-6.6.21/Documentation/devicetree/bindings/clock/
Dimx8m-clock.yaml19 - fsl,imx8mm-ccm
20 - fsl,imx8mn-ccm
21 - fsl,imx8mp-ccm
22 - fsl,imx8mq-ccm
57 const: fsl,imx8mq-ccm
104 compatible = "fsl,imx8mm-ccm";
115 compatible = "fsl,imx8mq-ccm";
Dimx5-clock.yaml20 - fsl,imx53-ccm
21 - fsl,imx51-ccm
22 - fsl,imx50-ccm
52 compatible = "fsl,imx53-ccm";
Dvf610-clock.txt4 - compatible: Should be "fsl,vf610-ccm"
27 clks: ccm@4006b000 {
28 compatible = "fsl,vf610-ccm";
Dimx21-clock.yaml19 const: fsl,imx21-ccm
39 compatible = "fsl,imx21-ccm";
Dimx1-clock.yaml19 const: fsl,imx1-ccm
40 compatible = "fsl,imx1-ccm";
Dimx27-clock.yaml19 const: fsl,imx27-ccm
42 compatible = "fsl,imx27-ccm";
Dimx6sl-clock.yaml14 const: fsl,imx6sl-ccm
44 compatible = "fsl,imx6sl-ccm";
Dimxrt1050-clock.yaml20 const: fsl,imxrt1050-ccm
53 compatible = "fsl,imxrt1050-ccm";
Dimx6sll-clock.yaml14 const: fsl,imx6sll-ccm
60 compatible = "fsl,imx6sll-ccm";
Dimx6ul-clock.yaml14 const: fsl,imx6ul-ccm
60 compatible = "fsl,imx6ul-ccm";
Dimx7d-clock.yaml20 const: fsl,imx7d-ccm
58 compatible = "fsl,imx7d-ccm";
Dimx93-clock.yaml19 - fsl,imx93-ccm
57 compatible = "fsl,imx93-ccm";
Dimx6sx-clock.yaml14 const: fsl,imx6sx-ccm
64 compatible = "fsl,imx6sx-ccm";
Dimx35-clock.yaml105 const: fsl,imx35-ccm
127 compatible = "fsl,imx35-ccm";
Dimx31-clock.yaml81 const: fsl,imx31-ccm
108 compatible = "fsl,imx31-ccm";
Dimx6q-clock.yaml14 const: fsl,imx6q-ccm
68 compatible = "fsl,imx6q-ccm";
Dimx25-clock.yaml152 const: fsl,imx25-ccm
174 compatible = "fsl,imx25-ccm";
/linux-6.6.21/arch/arm64/crypto/
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
53 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o
54 aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o
/linux-6.6.21/drivers/power/supply/
Dab8500_chargalg.c231 struct ab8500_charge_curr_maximization ccm; member
756 di->ccm.original_iset_ua = bi->constant_charge_current_max_ua; in init_maxim_chg_curr()
757 di->ccm.current_iset_ua = bi->constant_charge_current_max_ua; in init_maxim_chg_curr()
758 di->ccm.max_current_ua = di->bm->maxi->chg_curr_ua; in init_maxim_chg_curr()
759 di->ccm.condition_cnt = di->bm->maxi->wait_cycles; in init_maxim_chg_curr()
760 di->ccm.level = 0; in init_maxim_chg_curr()
780 di->ccm.wait_cnt); in ab8500_chargalg_chg_curr_maxim()
781 if (di->ccm.wait_cnt == 0) { in ab8500_chargalg_chg_curr_maxim()
783 di->ccm.wait_cnt++; in ab8500_chargalg_chg_curr_maxim()
784 di->ccm.condition_cnt = di->bm->maxi->wait_cycles; in ab8500_chargalg_chg_curr_maxim()
[all …]

123