Home
last modified time | relevance | path

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

123456

/linux/drivers/clk/imx/
H A 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 …]
H A 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"
86 Build the driver for i.MX8MP CCM Clock Driver
89 tristate "IMX8MQ CCM Clock Driver"
93 Build the driver for i.MX8MQ CCM Clock Driver
105 tristate "IMX8ULP CCM Clock Driver"
109 Build the driver for i.MX8ULP CCM Clock Driver
[all …]
H A 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()
72 CLK_OF_DECLARE(imx1_ccm, "fsl,imx1-ccm", mx1_clocks_init_dt);
H A 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 …]
H A 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()
151 CLK_OF_DECLARE(imx31_ccm, "fsl,imx31-ccm", mx31_clocks_init_dt);
/linux/drivers/net/ethernet/netronome/nfp/
H A 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 …]
H A 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/net/bridge/
H A 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 …]
H A 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 defec in ccm_rx_work_expired()
[all...]
/linux/tools/perf/pmu-events/arch/x86/amdzen4/
H A Ddata-fabric.json516 …n": "Data beats (32 bytes) at interface 0 for local socket inbound data to CPU Moderator (CCM) 0.",
524 …n": "Data beats (32 bytes) at interface 0 for local socket inbound data to CPU Moderator (CCM) 1.",
532 …n": "Data beats (32 bytes) at interface 0 for local socket inbound data to CPU Moderator (CCM) 2.",
540 …n": "Data beats (32 bytes) at interface 0 for local socket inbound data to CPU Moderator (CCM) 3.",
548 …n": "Data beats (32 bytes) at interface 0 for local socket inbound data to CPU Moderator (CCM) 4.",
556 …n": "Data beats (32 bytes) at interface 0 for local socket inbound data to CPU Moderator (CCM) 5.",
564 …n": "Data beats (32 bytes) at interface 0 for local socket inbound data to CPU Moderator (CCM) 6.",
572 …n": "Data beats (32 bytes) at interface 0 for local socket inbound data to CPU Moderator (CCM) 7.",
580 …n": "Data beats (32 bytes) at interface 1 for local socket inbound data to CPU Moderator (CCM) 0.",
588 …n": "Data beats (32 bytes) at interface 1 for local socket inbound data to CPU Moderator (CCM) 1.",
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A 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";
H A Dimx6sl-clock.yaml15 const: fsl,imx6sl-ccm
21 description: CCM provides 2 interrupt requests, request 1 is to generate
25 - description: CCM interrupt request 1
26 - description: CCM interrupt request 2
45 compatible = "fsl,imx6sl-ccm";
H A Dimx93-clock.yaml19 - fsl,imx91-ccm
20 - fsl,imx93-ccm
27 specify the external clocks used by the CCM module.
35 specify the external clocks names used by the CCM module.
58 compatible = "fsl,imx93-ccm";
H A Dimx6ul-clock.yaml15 const: fsl,imx6ul-ccm
21 description: CCM provides 2 interrupt requests, request 1 is to generate
25 - description: CCM interrupt request 1
26 - description: CCM interrupt request 2
61 compatible = "fsl,imx6ul-ccm";
H A Dimx6sll-clock.yaml15 const: fsl,imx6sll-ccm
21 description: CCM provides 2 interrupt requests, request 1 is to generate
25 - description: CCM interrupt request 1
26 - description: CCM interrupt request 2
61 compatible = "fsl,imx6sll-ccm";
H A Dimx6q-clock.yaml15 const: fsl,imx6q-ccm
21 description: CCM provides 2 interrupt requests, request 1 is to generate
25 - description: CCM interrupt request 1
26 - description: CCM interrupt request 2
69 compatible = "fsl,imx6q-ccm";
H A Dimx6sx-clock.yaml15 const: fsl,imx6sx-ccm
21 description: CCM provides 2 interrupt requests, request 1 is to generate
25 - description: CCM interrupt request 1
26 - description: CCM interrupt request 2
65 compatible = "fsl,imx6sx-ccm";
H A 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";
H A Dimx7d-clock.yaml19 const: fsl,imx7d-ccm
26 - description: CCM interrupt request 1
27 - description: CCM interrupt request 2
57 compatible = "fsl,imx7d-ccm";
H A Dfsl,vf610-ccm.yaml4 $id: http://devicetree.org/schemas/clock/fsl,vf610-ccm.yaml#
19 const: fsl,vf610-ccm
52 compatible = "fsl,vf610-ccm";
H A Dimx1-clock.yaml19 const: fsl,imx1-ccm
40 compatible = "fsl,imx1-ccm";
H A Dimx21-clock.yaml19 const: fsl,imx21-ccm
39 compatible = "fsl,imx21-ccm";
/linux/arch/arm64/crypto/
H A DMakefile23 obj-$(CONFIG_CRYPTO_SM4_ARM64_CE_CCM) += sm4-ce-ccm.o
24 sm4-ce-ccm-y := sm4-ce-ccm-glue.o sm4-ce-ccm-core.o
41 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o
42 aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o
/linux/drivers/crypto/ccree/
H A 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/drivers/crypto/caam/
H A 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

123456