Home
last modified time | relevance | path

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

/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()
/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,
DMakefile19 ccm.o \
/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 …]
/drivers/crypto/nx/
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()
DMakefile7 nx-aes-ccm.o \
Dnx.h136 struct nx_ccm_priv ccm; member
/drivers/iommu/
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()
/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()
Dmain.h132 struct nfp_ccm ccm; member
/drivers/crypto/intel/keembay/
DKconfig13 cbc(aes), ctr(aes), ccm(aes), gcm(aes), cbc(sm4), ctr(sm4), ccm(sm4)
/drivers/crypto/caam/
Dpdb.h142 struct ipsec_encap_ccm ccm; member
208 struct ipsec_decap_ccm ccm; member
/drivers/gpu/drm/vc4/
Dvc4_plane.c1192 const u32 *ccm; in vc4_plane_mode_set() local
1199 ccm = colorspace_coeffs[color_range][color_encoding]; in vc4_plane_mode_set()
1201 vc4_dlist_write(vc4_state, ccm[0]); in vc4_plane_mode_set()
1202 vc4_dlist_write(vc4_state, ccm[1]); in vc4_plane_mode_set()
1203 vc4_dlist_write(vc4_state, ccm[2]); in vc4_plane_mode_set()
/drivers/s390/char/
Dsclp_cmd.c523 u8 ccm; member
589 u8 ccm; member
/drivers/staging/media/ipu3/
Dipu3-css-params.c2057 acc->ccm = acc_user->ccm; in imgu_css_cfg_acc()
2060 acc->ccm = acc_old->ccm; in imgu_css_cfg_acc()
2063 acc->ccm = imgu_css_ccm_defaults; in imgu_css_cfg_acc()
Dipu3-abi.h1279 struct ipu3_uapi_ccm_mat_config ccm __aligned(32);
/drivers/crypto/
DKconfig574 - ccm(aes)
575 - rfc4309(ccm(aes))
/drivers/staging/media/ipu3/include/uapi/
Dintel-ipu3.h2504 struct ipu3_uapi_ccm_mat_config ccm __attribute__((aligned(32))); member