/linux/drivers/clk/imx/ |
H A D | clk-imx25.c | 42 #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 D | Kconfig | 67 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 D | clk-imx1.c | 28 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 D | clk-imx27.c | 19 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 …]
|
/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | ccm.c | 6 #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 D | ccm.h | 107 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 D | br_private_cfm.h | 40 /* 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 D | br_cfm.c | 56 /* 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/tools/perf/pmu-events/arch/x86/amdzen4/ |
H A D | data-fabric.json | 516 …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 D | imx5-clock.yaml | 20 - 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 D | imx8m-clock.yaml | 20 - fsl,imx8mm-ccm 21 - fsl,imx8mn-ccm 22 - fsl,imx8mp-ccm 23 - fsl,imx8mq-ccm 58 const: fsl,imx8mq-ccm 105 compatible = "fsl,imx8mm-ccm"; 116 compatible = "fsl,imx8mq-ccm";
|
H A D | imx6sl-clock.yaml | 15 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 D | imx6ul-clock.yaml | 15 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 D | imx6sll-clock.yaml | 15 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 D | imx6q-clock.yaml | 15 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 D | imx6sx-clock.yaml | 15 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 D | imx31-clock.yaml | 81 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 D | imx93-clock.yaml | 19 - 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";
|
H A D | imx7d-clock.yaml | 19 const: fsl,imx7d-ccm 26 - description: CCM interrupt request 1 27 - description: CCM interrupt request 2 57 compatible = "fsl,imx7d-ccm";
|
H A D | vf610-clock.txt | 4 - compatible: Should be "fsl,vf610-ccm" 27 clks: ccm@4006b000 { 28 compatible = "fsl,vf610-ccm";
|
/linux/arch/arm64/crypto/ |
H A D | Makefile | 32 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
|
H A D | aes-ce-ccm-glue.c | 3 * aes-ce-ccm-glue.c - AES-CCM transform for ARMv8 with Crypto Extensions 68 /* verify that CCM dimension 'L' is set correctly in the IV */ in ccm_init_mac() 77 * Even if the CCM spec allows L values of up to 8, the Linux cryptoapi in ccm_init_mac() 86 * Meaning of byte 0 according to CCM spec (RFC 3610/NIST 800-38C) in ccm_init_mac() 317 .cra_name = "ccm(aes)", 318 .cra_driver_name = "ccm-aes-ce", 348 MODULE_DESCRIPTION("Synchronous AES in CCM mode using ARMv8 Crypto Extensions"); 351 MODULE_ALIAS_CRYPTO("ccm(aes)");
|
/linux/drivers/crypto/nx/ |
H A D | nx-aes-ccm.c | 3 * 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/drivers/power/supply/ |
H A D | ab8500_chargalg.c | 207 * @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/drivers/crypto/ccree/ |
H A D | cc_aead.h | 28 /* 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 */
|