Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/clk/imx/
Dclk-imx25.c41 #define ccm(x) (ccm_base + (x)) macro
91 clk[mpll] = imx_clk_pllv1(IMX_PLLV1_IMX25, "mpll", "osc", ccm(CCM_MPCTL)); in __mx25_clocks_init()
92 clk[upll] = imx_clk_pllv1(IMX_PLLV1_IMX25, "upll", "osc", ccm(CCM_UPCTL)); in __mx25_clocks_init()
94 …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()
95 clk[cpu] = imx_clk_divider("cpu", "cpu_sel", ccm(CCM_CCTL), 30, 2); in __mx25_clocks_init()
96 clk[ahb] = imx_clk_divider("ahb", "cpu", ccm(CCM_CCTL), 28, 2); in __mx25_clocks_init()
97 clk[usb_div] = imx_clk_divider("usb_div", "upll", ccm(CCM_CCTL), 16, 6); in __mx25_clocks_init()
99 …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()
100 …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()
101 …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-imx21.c23 static void __iomem *ccm __initdata;
26 #define CCM_CSCR (ccm + 0x00)
27 #define CCM_MPCTL0 (ccm + 0x04)
28 #define CCM_SPCTL0 (ccm + 0x0c)
29 #define CCM_PCDR0 (ccm + 0x18)
30 #define CCM_PCDR1 (ccm + 0x1c)
31 #define CCM_PCCR0 (ccm + 0x20)
32 #define CCM_PCCR1 (ccm + 0x24)
44 BUG_ON(!ccm); in _mx21_clocks_init()
124 ccm = ioremap(MX21_CCM_BASE_ADDR, SZ_2K); in mx21_clocks_init()
[all …]
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.c210 void __iomem *ccm; in mx31_clocks_init_dt() local
222 ccm = of_iomap(np, 0); in mx31_clocks_init_dt()
223 if (!ccm) in mx31_clocks_init_dt()
226 _mx31_clocks_init(ccm, fref); in mx31_clocks_init_dt()
/Linux-v5.4/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.h106 int nfp_ccm_init(struct nfp_ccm *ccm, struct nfp_app *app);
107 void nfp_ccm_clean(struct nfp_ccm *ccm);
108 void nfp_ccm_rx(struct nfp_ccm *ccm, struct sk_buff *skb);
110 nfp_ccm_communicate(struct nfp_ccm *ccm, struct sk_buff *skb,
/Linux-v5.4/drivers/power/supply/
Dabx500_chargalg.c244 struct abx500_charge_curr_maximization ccm; member
818 di->ccm.original_iset = in init_maxim_chg_curr()
820 di->ccm.current_iset = in init_maxim_chg_curr()
822 di->ccm.test_delta_i = di->bm->maxi->charger_curr_step; in init_maxim_chg_curr()
823 di->ccm.max_current = di->bm->maxi->chg_curr; in init_maxim_chg_curr()
824 di->ccm.condition_cnt = di->bm->maxi->wait_cycles; in init_maxim_chg_curr()
825 di->ccm.level = 0; in init_maxim_chg_curr()
844 delta_i = di->ccm.original_iset - di->batt_data.inst_curr; in abx500_chargalg_chg_curr_maxim()
848 di->ccm.wait_cnt); in abx500_chargalg_chg_curr_maxim()
849 if (di->ccm.wait_cnt == 0) { in abx500_chargalg_chg_curr_maxim()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/clock/
Dimx1-clock.txt4 - compatible: Should be "fsl,imx1-ccm".
13 clks: ccm@21b000 {
15 compatible = "fsl,imx1-ccm";
Dimx21-clock.txt4 - compatible : Should be "fsl,imx21-ccm".
14 clks: ccm@10027000{
15 compatible = "fsl,imx21-ccm";
Dimx27-clock.txt4 - compatible: Should be "fsl,imx27-ccm"
14 clks: ccm@10027000{
15 compatible = "fsl,imx27-ccm";
Dimx5-clock.txt4 - compatible: Should be "fsl,<soc>-ccm" , where <soc> can be imx51 or imx53
15 clks: ccm@53fd4000{
16 compatible = "fsl,imx53-ccm";
Dvf610-clock.txt4 - compatible: Should be "fsl,vf610-ccm"
27 clks: ccm@4006b000 {
28 compatible = "fsl,vf610-ccm";
Dimx31-clock.txt4 - compatible: Should be "fsl,imx31-ccm"
77 clks: ccm@53f80000{
78 compatible = "fsl,imx31-ccm";
Dimx35-clock.txt4 - compatible: Should be "fsl,imx35-ccm"
101 clks: ccm@53f80000 {
102 compatible = "fsl,imx35-ccm";
Dimx6q-clock.txt4 - compatible: Should be "fsl,imx6q-ccm"
28 clks: ccm@20c4000 {
29 compatible = "fsl,imx6q-ccm";
Dimx25-clock.txt4 - compatible: Should be "fsl,imx25-ccm"
148 clks: ccm@53f80000 {
149 compatible = "fsl,imx25-ccm";
Dimx8mm-clock.txt4 - compatible: Should be "fsl,imx8mm-ccm"
18 compatible = "fsl,imx8mm-ccm";
Dimx6sll-clock.txt4 - compatible: Should be "fsl,imx6sll-ccm"
20 compatible = "fsl,imx6sll-ccm";
Dimx6sl-clock.txt4 - compatible: Should be "fsl,imx6sl-ccm"
/Linux-v5.4/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.4/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()
488 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); in ccm4309_aes_nx_encrypt()
518 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); in ccm4309_aes_nx_decrypt()
DMakefile8 nx-aes-ccm.o \
/Linux-v5.4/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()
459 nfp_ccm_rx(&bpf->ccm, skb); in nfp_bpf_ctrl_msg_rx()
/Linux-v5.4/Documentation/devicetree/bindings/pinctrl/
Dbrcm,iproc-gpio.txt13 "brcm,cygnus-ccm-gpio", "brcm,cygnus-asiu-gpio", or
74 compatible = "brcm,cygnus-ccm-gpio";

123