Home
last modified time | relevance | path

Searched full:ccm (Results 1 – 25 of 201) sorted by relevance

123456789

/Linux-v6.1/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 …]
DKconfig67 tristate "IMX8MM CCM Clock Driver"
71 Build the driver for i.MX8MM CCM Clock Driver
74 tristate "IMX8MN CCM Clock Driver"
78 Build the driver for i.MX8MN CCM Clock Driver
81 tristate "IMX8MP CCM Clock Driver"
85 Build the driver for i.MX8MP CCM Clock Driver
88 tristate "IMX8MQ CCM Clock Driver"
92 Build the driver for i.MX8MQ CCM Clock Driver
103 tristate "IMX8ULP CCM Clock Driver"
107 Build the driver for i.MX8ULP CCM Clock Driver
[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()
73 CLK_OF_DECLARE(imx1_ccm, "fsl,imx1-ccm", 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 …]
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/
Dccm.c6 #include "ccm.h"
14 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
25 /* CCM is for FW communication which is request-reply. To make sure in nfp_ccm_alloc_tag()
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
[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-v6.1/net/bridge/
Dbr_private_cfm.h40 /* Expected received CCM PDU MAID. */
43 /* Expected received CCM PDU interval. */
44 /* Transmitting CCM PDU interval when CCM tx is enabled. */
47 bool enable; /* Enable/disable CCM PDU handling */
62 /* Transmitted CCM Remote Defect Indication status set.
63 * This RDI is inserted in transmitted CCM PDUs if CCM transmission is enabled.
72 /* The CCM will be transmitted for this period in seconds.
78 bool seq_no_update; /* Update Tx CCM sequence number */
100 /* This CCM related status is based on the latest received CCM PDU. */
104 /* CCM has not been received for 3.25 intervals */
[all …]
Dbr_cfm.c56 /* Calculate the CCM interval in us. */
80 /* Convert the interface interval to CCM PDU value. */
104 /* Convert the CCM PDU value to interval on interface. */
135 * in order to detect CCM defect after 3.25 interval. in ccm_rx_timer_start()
265 * in order to drive CCM transmission when enabled.
293 * in order to detect CCM defect after 3.25 interval.
306 /* 3.25 intervals are NOT expired without CCM reception */ in ccm_rx_work_expired()
312 /* 3.25 intervals are expired without CCM reception. in ccm_rx_work_expired()
313 * CCM defect detected in ccm_rx_work_expired()
317 /* Change in CCM defect status - notify */ in ccm_rx_work_expired()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/clock/
Dimx5-clock.yaml20 - fsl,imx53-ccm
21 - fsl,imx51-ccm
22 - fsl,imx50-ccm
28 description: CCM provides 2 interrupt requests, request 1 is to generate
32 - description: CCM interrupt request 1
33 - description: CCM interrupt request 2
52 compatible = "fsl,imx53-ccm";
Dimx8m-clock.yaml19 - fsl,imx8mm-ccm
20 - fsl,imx8mn-ccm
21 - fsl,imx8mp-ccm
22 - fsl,imx8mq-ccm
54 const: fsl,imx8mq-ccm
101 compatible = "fsl,imx8mm-ccm";
112 compatible = "fsl,imx8mq-ccm";
Dimx6sl-clock.yaml14 const: fsl,imx6sl-ccm
20 description: CCM provides 2 interrupt requests, request 1 is to generate
24 - description: CCM interrupt request 1
25 - description: CCM interrupt request 2
44 compatible = "fsl,imx6sl-ccm";
Dimx6sll-clock.yaml14 const: fsl,imx6sll-ccm
20 description: CCM provides 2 interrupt requests, request 1 is to generate
24 - description: CCM interrupt request 1
25 - description: CCM interrupt request 2
60 compatible = "fsl,imx6sll-ccm";
Dimx6ul-clock.yaml14 const: fsl,imx6ul-ccm
20 description: CCM provides 2 interrupt requests, request 1 is to generate
24 - description: CCM interrupt request 1
25 - description: CCM interrupt request 2
60 compatible = "fsl,imx6ul-ccm";
Dimx6q-clock.yaml14 const: fsl,imx6q-ccm
20 description: CCM provides 2 interrupt requests, request 1 is to generate
24 - description: CCM interrupt request 1
25 - description: CCM interrupt request 2
68 compatible = "fsl,imx6q-ccm";
Dimx6sx-clock.yaml14 const: fsl,imx6sx-ccm
20 description: CCM provides 2 interrupt requests, request 1 is to generate
24 - description: CCM interrupt request 1
25 - description: CCM interrupt request 2
64 compatible = "fsl,imx6sx-ccm";
Dimx31-clock.yaml81 const: fsl,imx31-ccm
87 description: CCM provides 2 interrupt requests, request 1 is to generate
91 - description: CCM DVFS interrupt request 1
92 - description: CCM DPTC interrupt request 2
108 compatible = "fsl,imx31-ccm";
Dimx93-clock.yaml19 - fsl,imx93-ccm
26 specify the external clocks used by the CCM module.
34 specify the external clocks names used by the CCM module.
57 compatible = "fsl,imx93-ccm";
Dimx7d-clock.yaml20 const: fsl,imx7d-ccm
27 - description: CCM interrupt request 1
28 - description: CCM interrupt request 2
58 compatible = "fsl,imx7d-ccm";
Dvf610-clock.txt4 - compatible: Should be "fsl,vf610-ccm"
27 clks: ccm@4006b000 {
28 compatible = "fsl,vf610-ccm";
/Linux-v6.1/arch/arm64/crypto/
Daes-ce-ccm-glue.c3 * aes-ccm-glue.c - AES-CCM transform for ARMv8 with Crypto Extensions
65 /* verify that CCM dimension 'L' is set correctly in the IV */ in ccm_init_mac()
74 * Even if the CCM spec allows L values of up to 8, the Linux cryptoapi in ccm_init_mac()
83 * Meaning of byte 0 according to CCM spec (RFC 3610/NIST 800-38C) in ccm_init_mac()
266 .cra_name = "ccm(aes)",
267 .cra_driver_name = "ccm-aes-ce",
297 MODULE_DESCRIPTION("Synchronous AES in CCM mode using ARMv8 Crypto Extensions");
300 MODULE_ALIAS_CRYPTO("ccm(aes)");
DMakefile44 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o
45 aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o
/Linux-v6.1/drivers/crypto/nx/
Dnx-aes-ccm.c3 * AES CCM routines supporting the Power 7+ Nest Accelerators driver
64 memcpy(nx_ctx->priv.ccm.nonce, in_key + key_len, 3); in ccm4309_aes_nx_set_key()
103 /* taken from crypto/ccm.c */
122 /* taken from crypto/ccm.c */
132 /* based on code from crypto/ccm.c */
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()
527 .cra_name = "ccm(aes)",
[all …]
/Linux-v6.1/drivers/power/supply/
Dab8500_chargalg.c207 * @ccm charging current maximization parameters
231 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()
[all …]
/Linux-v6.1/drivers/crypto/ccree/
Dcc_aead.h28 /* Offsets into AES CCM configuration buffer */
32 /* CCM B0 and CTR_COUNT constants. */
49 * Used for both: digest HW compare and CCM/GCM MAC value
71 /* buffer for internal ccm configurations */
/Linux-v6.1/drivers/crypto/caam/
Dpdb.h92 * ipsec_encap_ccm - PDB part for IPsec CCM encapsulation
94 * @ccm_opt: CCM algorithm options - MSB-LSB description:
95 * b0_flags (8b) - CCM B0; use 0x5B for 8-byte ICV, 0x6B for 12-byte ICV,
142 struct ipsec_encap_ccm ccm; member
169 * ipsec_decap_ccm - PDB part for IPsec CCM decapsulation
171 * @ccm_opt: CCM algorithm options - MSB-LSB description:
172 * b0_flags (8b) - CCM B0; use 0x5B for 8-byte ICV, 0x6B for 12-byte ICV,
208 struct ipsec_decap_ccm ccm; member

123456789