/linux-6.12.1/drivers/isdn/capi/ |
D | kcapi.c | 66 capi_ctr_get(struct capi_ctr *ctr) in capi_ctr_get() argument 68 if (!try_module_get(ctr->owner)) in capi_ctr_get() 70 return ctr; in capi_ctr_get() 74 capi_ctr_put(struct capi_ctr *ctr) in capi_ctr_put() argument 76 module_put(ctr->owner); in capi_ctr_put() 147 register_appl(struct capi_ctr *ctr, u16 applid, capi_register_params *rparam) in register_appl() argument 149 ctr = capi_ctr_get(ctr); in register_appl() 151 if (ctr) in register_appl() 152 ctr->register_appl(ctr, applid, rparam); in register_appl() 159 static void release_appl(struct capi_ctr *ctr, u16 applid) in release_appl() argument [all …]
|
D | kcapi_proc.c | 66 struct capi_ctr *ctr = *(struct capi_ctr **) v; in controller_show() local 68 if (!ctr) in controller_show() 72 ctr->cnr, ctr->driver_name, in controller_show() 73 state2str(ctr->state), in controller_show() 74 ctr->name, in controller_show() 75 ctr->procinfo ? ctr->procinfo(ctr) : ""); in controller_show() 82 struct capi_ctr *ctr = *(struct capi_ctr **) v; in contrstats_show() local 84 if (!ctr) in contrstats_show() 88 ctr->cnr, in contrstats_show() 89 ctr->nrecvctlpkt, in contrstats_show() [all …]
|
/linux-6.12.1/drivers/media/platform/qcom/venus/ |
D | venc_ctrls.c | 73 struct venc_controls *ctr = &inst->controls.enc; in venc_op_s_ctrl() local 84 ctr->bitrate_mode = ctrl->val; in venc_op_s_ctrl() 87 ctr->bitrate = ctrl->val; in venc_op_s_ctrl() 91 brate.bitrate = ctr->bitrate; in venc_op_s_ctrl() 103 ctr->bitrate_peak = ctrl->val; in venc_op_s_ctrl() 106 ctr->h264_entropy_mode = ctrl->val; in venc_op_s_ctrl() 109 ctr->profile.mpeg4 = ctrl->val; in venc_op_s_ctrl() 112 ctr->profile.h264 = ctrl->val; in venc_op_s_ctrl() 115 ctr->profile.hevc = ctrl->val; in venc_op_s_ctrl() 118 ctr->profile.vp8 = ctrl->val; in venc_op_s_ctrl() [all …]
|
D | venc.c | 664 struct venc_controls *ctr = &inst->controls.enc; in venc_set_properties() local 709 ctr->h264_entropy_mode); in venc_set_properties() 719 ctr->h264_loop_filter_mode); in venc_set_properties() 720 deblock.slice_alpha_offset = ctr->h264_loop_filter_alpha; in venc_set_properties() 721 deblock.slice_beta_offset = ctr->h264_loop_filter_beta; in venc_set_properties() 729 if (ctr->profile.h264 == V4L2_MPEG_VIDEO_H264_PROFILE_HIGH || in venc_set_properties() 730 ctr->profile.h264 == V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_HIGH) in venc_set_properties() 731 h264_transform.enable_type = ctr->h264_8x8_transform; in venc_set_properties() 754 ctr->profile.hevc == V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_10) { in venc_set_properties() 762 ctr->mastering.display_primaries_x[c]; in venc_set_properties() [all …]
|
D | vdec_ctrls.c | 16 struct vdec_controls *ctr = &inst->controls.dec; in vdec_op_s_ctrl() local 20 ctr->post_loop_deb_mode = ctrl->val; in vdec_op_s_ctrl() 26 ctr->profile = ctrl->val; in vdec_op_s_ctrl() 31 ctr->level = ctrl->val; in vdec_op_s_ctrl() 34 ctr->display_delay = ctrl->val; in vdec_op_s_ctrl() 37 ctr->display_delay_enable = ctrl->val; in vdec_op_s_ctrl() 40 ctr->conceal_color = *ctrl->p_new.p_s64; in vdec_op_s_ctrl() 52 struct vdec_controls *ctr = &inst->controls.dec; in vdec_op_g_volatile_ctrl() local 65 ctr->profile = profile; in vdec_op_g_volatile_ctrl() 66 ctrl->val = ctr->profile; in vdec_op_g_volatile_ctrl() [all …]
|
/linux-6.12.1/drivers/comedi/drivers/ |
D | amplc_dio200.c | 35 * 1 CTR-Y1 PPI-Y PPI-Y 36 * 2 CTR-Y2 CTR-Z1* CTR-Z1 37 * 3 CTR-Z1 INTERRUPT* CTR-Z2 38 * 4 CTR-Z2 INTERRUPT 44 * 0 CTR-X1 PPI-X 45 * 1 CTR-X2 PPI-Y 46 * 2 CTR-Y1 PPI-Z 47 * 3 CTR-Y2 INTERRUPT 48 * 4 CTR-Z1 49 * 5 CTR-Z2 [all …]
|
D | amplc_dio200_pci.c | 34 * 2 CTR-Z1 PPI-Y UNUSED 35 * 3 CTR-Z2 UNUSED UNUSED 36 * 4 INTERRUPT CTR-Z1 CTR-Z1 37 * 5 CTR-Z2 CTR-Z2 49 * 4 CTR-Z1 50 * 5 CTR-Z2 64 * Each CTR is a 8254 chip providing 3 16-bit counter channels. Each 178 * 4 CTR-Z1-OUT1 CTR-Z1-OUT1 CTR-Z1-OUT1 179 * 5 CTR-Z2-OUT1 CTR-Z2-OUT1 CTR-Z2-OUT1 188 * 4 PPI-Z-C0 CTR-Z1-OUT1 [all …]
|
/linux-6.12.1/drivers/parport/ |
D | parport_gsc.h | 52 /* Contents of CTR. */ 53 unsigned char ctr; member 55 /* Bitmask of writable CTR bits. */ 93 unsigned char ctr = priv->ctr; in __parport_gsc_frob_control() local 97 ctr, ((ctr & ~mask) ^ val) & priv->ctr_writable); in __parport_gsc_frob_control() 99 ctr = (ctr & ~mask) ^ val; in __parport_gsc_frob_control() 100 ctr &= priv->ctr_writable; /* only write writable bits. */ in __parport_gsc_frob_control() 101 parport_writeb (ctr, CONTROL (p)); in __parport_gsc_frob_control() 102 priv->ctr = ctr; /* Update soft copy */ in __parport_gsc_frob_control() 103 return ctr; in __parport_gsc_frob_control() [all …]
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/ |
D | adf_tl_debugfs.c | 109 const struct adf_tl_dbg_counter *ctr, in tl_calc_count() argument 123 sample_cnt = tl_collect_values_u32(telemetry, ctr->offset1, hist_vals); in tl_calc_count() 139 const struct adf_tl_dbg_counter *ctr, in tl_cycles_to_ns() argument 146 ret = tl_calc_count(telemetry, ctr, vals); in tl_cycles_to_ns() 163 const struct adf_tl_dbg_counter *ctr, in tl_lat_acc_avg() argument 185 sample_cnt = tl_collect_values_u64(telemetry, ctr->offset1, hist_vals); in tl_lat_acc_avg() 189 tl_collect_values_u32(telemetry, ctr->offset2, hist_cnt); in tl_lat_acc_avg() 214 const struct adf_tl_dbg_counter *ctr, in tl_bw_hw_units_to_mbps() argument 229 sample_cnt = tl_collect_values_u32(telemetry, ctr->offset1, hist_vals); in tl_bw_hw_units_to_mbps() 259 const struct adf_tl_dbg_counter *ctr, in tl_calc_and_print_counter() argument [all …]
|
/linux-6.12.1/include/linux/ |
D | parport_pc.h | 20 /* Contents of CTR. */ 21 unsigned char ctr; member 23 /* Bitmask of writable CTR bits. */ 103 dcr = i ? priv->ctr : inb (CONTROL (p)); in dump_parport_state() 136 unsigned char ctr = priv->ctr; in __parport_pc_frob_control() local 140 mask, val, ctr, ((ctr & ~mask) ^ val) & priv->ctr_writable); in __parport_pc_frob_control() 142 ctr = (ctr & ~mask) ^ val; in __parport_pc_frob_control() 143 ctr &= priv->ctr_writable; /* only write writable bits. */ in __parport_pc_frob_control() 144 outb (ctr, CONTROL (p)); in __parport_pc_frob_control() 145 priv->ctr = ctr; /* Update soft copy */ in __parport_pc_frob_control() [all …]
|
/linux-6.12.1/arch/arc/include/asm/ |
D | atomic-llsc.h | 14 "1: llock %[val], [%[ctr]] \n" \ 16 " scond %[val], [%[ctr]] \n" \ 19 : [ctr] "r" (&v->counter), /* Not "m": llock only supports reg direct addr mode */ \ 30 "1: llock %[val], [%[ctr]] \n" \ 32 " scond %[val], [%[ctr]] \n" \ 35 : [ctr] "r" (&v->counter), \ 51 "1: llock %[orig], [%[ctr]] \n" \ 53 " scond %[val], [%[ctr]] \n" \ 57 : [ctr] "r" (&v->counter), \
|
/linux-6.12.1/crypto/ |
D | ccm.c | 20 struct crypto_skcipher_spawn ctr; member 26 struct crypto_skcipher *ctr; member 92 struct crypto_skcipher *ctr = ctx->ctr; in crypto_ccm_setkey() local 96 crypto_skcipher_clear_flags(ctr, CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey() 97 crypto_skcipher_set_flags(ctr, crypto_aead_get_flags(aead) & in crypto_ccm_setkey() 99 err = crypto_skcipher_setkey(ctr, key, keylen); in crypto_ccm_setkey() 310 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_encrypt() 374 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_decrypt() 399 struct crypto_skcipher *ctr; in crypto_ccm_init_tfm() local 407 ctr = crypto_spawn_skcipher(&ictx->ctr); in crypto_ccm_init_tfm() [all …]
|
D | gcm.c | 23 struct crypto_skcipher_spawn ctr; member 28 struct crypto_skcipher *ctr; member 97 struct crypto_skcipher *ctr = ctx->ctr; in crypto_gcm_setkey() local 109 crypto_skcipher_clear_flags(ctr, CRYPTO_TFM_REQ_MASK); in crypto_gcm_setkey() 110 crypto_skcipher_set_flags(ctr, crypto_aead_get_flags(aead) & in crypto_gcm_setkey() 112 err = crypto_skcipher_setkey(ctr, key, keylen); in crypto_gcm_setkey() 116 data = kzalloc(sizeof(*data) + crypto_skcipher_reqsize(ctr), in crypto_gcm_setkey() 123 skcipher_request_set_tfm(&data->req, ctr); in crypto_gcm_setkey() 188 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_gcm_init_crypt() 524 struct crypto_skcipher *ctr; in crypto_gcm_init_tfm() local [all …]
|
D | tcrypt.c | 1481 ret = min(ret, tcrypt_test("ctr(des)")); in do_test() 1487 ret = min(ret, tcrypt_test("ctr(des3_ede)")); in do_test() 1501 ret = min(ret, tcrypt_test("ctr(blowfish)")); in do_test() 1507 ret = min(ret, tcrypt_test("ctr(twofish)")); in do_test() 1515 ret = min(ret, tcrypt_test("ctr(serpent)")); in do_test() 1525 ret = min(ret, tcrypt_test("ctr(aes)")); in do_test() 1526 ret = min(ret, tcrypt_test("rfc3686(ctr(aes))")); in do_test() 1545 ret = min(ret, tcrypt_test("ctr(cast5)")); in do_test() 1551 ret = min(ret, tcrypt_test("ctr(cast6)")); in do_test() 1608 ret = min(ret, tcrypt_test("ctr(camellia)")); in do_test() [all …]
|
/linux-6.12.1/lib/crypto/ |
D | curve25519-hacl64.c | 88 u32 ctr = 0; in fproduct_carry_wide_() local 89 u128 tctr = tmp[ctr]; in fproduct_carry_wide_() 90 u128 tctrp1 = tmp[ctr + 1]; in fproduct_carry_wide_() 93 tmp[ctr] = ((u128)(r0)); in fproduct_carry_wide_() 94 tmp[ctr + 1] = ((tctrp1) + (c)); in fproduct_carry_wide_() 97 u32 ctr = 1; in fproduct_carry_wide_() local 98 u128 tctr = tmp[ctr]; in fproduct_carry_wide_() 99 u128 tctrp1 = tmp[ctr + 1]; in fproduct_carry_wide_() 102 tmp[ctr] = ((u128)(r0)); in fproduct_carry_wide_() 103 tmp[ctr + 1] = ((tctrp1) + (c)); in fproduct_carry_wide_() [all …]
|
/linux-6.12.1/net/rds/ |
D | stats.c | 87 struct rds_info_counter ctr; in rds_stats_info_copy() local 91 BUG_ON(strlen(names[i]) >= sizeof(ctr.name)); in rds_stats_info_copy() 92 strncpy(ctr.name, names[i], sizeof(ctr.name) - 1); in rds_stats_info_copy() 93 ctr.name[sizeof(ctr.name) - 1] = '\0'; in rds_stats_info_copy() 94 ctr.value = values[i]; in rds_stats_info_copy() 96 rds_info_copy(iter, &ctr, sizeof(ctr)); in rds_stats_info_copy()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | cell-pmu.h | 22 #define CBE_PM_16BIT_CTR(ctr) (1 << (24 - ((ctr) & (NR_PHYS_CTRS - 1)))) argument 52 #define CBE_PM_CTR_OVERFLOW_INTR(ctr) (1 << (31 - ((ctr) & 7))) argument 68 extern u32 cbe_read_ctr(u32 cpu, u32 ctr); 69 extern void cbe_write_ctr(u32 cpu, u32 ctr, u32 val); 71 extern u32 cbe_read_pm07_control(u32 cpu, u32 ctr); 72 extern void cbe_write_pm07_control(u32 cpu, u32 ctr, u32 val);
|
/linux-6.12.1/arch/arm64/crypto/ |
D | Kconfig | 132 tristate "Ciphers: AES, modes: ECB, CBC, CTR, CTS, XCTR, XTS" 136 Length-preserving ciphers: AES with ECB, CBC, CTR, CTS, 155 tristate "Ciphers: AES, modes: ECB/CBC/CTR/XTS (ARMv8 Crypto Extensions)" 164 - CTR (Counter) mode (NIST SP800-38A) 172 tristate "Ciphers: AES, modes: ECB/CBC/CTR/XTS (NEON)" 181 - CTR (Counter) mode (NIST SP800-38A) 202 tristate "Ciphers: AES, modes: ECB/CBC/CTR/XCTR/XTS modes (bit-sliced NEON)" 212 - CTR (Counter) mode (NIST SP800-38A) 234 tristate "Ciphers: SM4, modes: ECB/CBC/CTR/XTS (ARMv8 Crypto Extensions)" 243 - CTR (Counter) mode (NIST SP800-38A) [all …]
|
D | aes-ce-ccm-core.S | 52 ldr x8, [x6, #8] /* load lower ctr */ 53 CPU_LE( rev x8, x8 ) /* keep swabbed ctr in reg */ 55 ld1 {v1.8b}, [x6] /* load upper ctr */ 59 ins v1.d[1], x9 /* no carry in lower ctr */ 68 eor v6.16b, v1.16b, v2.16b /* xor with crypted ctr */ 70 eor v2.16b, v2.16b, v1.16b /* xor with crypted ctr */ 77 str x8, [x6, #8] /* store lsb end of ctr (BE) */ 121 * u8 ctr[], u8 const final_iv[]); 124 * u8 ctr[], u8 const final_iv[]);
|
/linux-6.12.1/arch/s390/crypto/ |
D | Kconfig | 84 tristate "Ciphers: AES, modes: ECB, CBC, CTR, XTS, GCM" 91 Length-preserving ciphers: AES with ECB, CBC, XTS, and CTR modes 101 As of z196 the CTR mode is hardware accelerated for all AES 106 tristate "Ciphers: DES and Triple DES EDE, modes: ECB, CBC, CTR" 114 Length-preserving ciphers: DES with ECB, CBC, and CTR modes 115 Length-preserving ciphers: Triple DES EDED with ECB, CBC, and CTR modes 120 As of z196 the CTR mode is hardware accelerated.
|
/linux-6.12.1/drivers/net/ethernet/sfc/ |
D | tc_counters.c | 49 struct efx_tc_counter_index *ctr = ptr; in efx_tc_counter_id_free() local 51 WARN_ON(refcount_read(&ctr->ref)); in efx_tc_counter_id_free() 52 kfree(ctr); in efx_tc_counter_id_free() 212 struct efx_tc_counter_index *ctr) in efx_tc_flower_put_counter_index() argument 214 if (!refcount_dec_and_test(&ctr->ref)) in efx_tc_flower_put_counter_index() 216 rhashtable_remove_fast(&efx->tc->counter_id_ht, &ctr->linkage, in efx_tc_flower_put_counter_index() 218 efx_tc_flower_release_counter(efx, ctr->cnt); in efx_tc_flower_put_counter_index() 219 kfree(ctr); in efx_tc_flower_put_counter_index() 226 struct efx_tc_counter_index *ctr, *old; in efx_tc_flower_get_counter_index() local 229 ctr = kzalloc(sizeof(*ctr), GFP_USER); in efx_tc_flower_get_counter_index() [all …]
|
/linux-6.12.1/arch/powerpc/platforms/cell/ |
D | pmu.c | 114 u32 cbe_read_ctr(u32 cpu, u32 ctr) in cbe_read_ctr() argument 117 u32 phys_ctr = ctr & (NR_PHYS_CTRS - 1); in cbe_read_ctr() 122 val = (ctr < NR_PHYS_CTRS) ? (val >> 16) : (val & 0xffff); in cbe_read_ctr() 128 void cbe_write_ctr(u32 cpu, u32 ctr, u32 val) in cbe_write_ctr() argument 133 phys_ctr = ctr & (NR_PHYS_CTRS - 1); in cbe_write_ctr() 138 if (ctr < NR_PHYS_CTRS) in cbe_write_ctr() 153 u32 cbe_read_pm07_control(u32 cpu, u32 ctr) in cbe_read_pm07_control() argument 157 if (ctr < NR_CTRS) in cbe_read_pm07_control() 158 READ_SHADOW_REG(pm07_control, pm07_control[ctr]); in cbe_read_pm07_control() 164 void cbe_write_pm07_control(u32 cpu, u32 ctr, u32 val) in cbe_write_pm07_control() argument [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath6kl/ |
D | core.c | 270 u8 ctr; in ath6kl_core_create() local 307 for (ctr = 0; ctr < AP_MAX_NUM_STA; ctr++) { in ath6kl_core_create() 308 spin_lock_init(&ar->sta_list[ctr].psq_lock); in ath6kl_core_create() 309 skb_queue_head_init(&ar->sta_list[ctr].psq); in ath6kl_core_create() 310 skb_queue_head_init(&ar->sta_list[ctr].apsdq); in ath6kl_core_create() 311 ar->sta_list[ctr].mgmt_psq_len = 0; in ath6kl_core_create() 312 INIT_LIST_HEAD(&ar->sta_list[ctr].mgmt_psq); in ath6kl_core_create() 313 ar->sta_list[ctr].aggr_conn = in ath6kl_core_create() 315 if (!ar->sta_list[ctr].aggr_conn) { in ath6kl_core_create()
|
/linux-6.12.1/net/mac80211/ |
D | fils_aead.c | 79 key_len /= 2; /* S2V key || CTR key */ in aes_siv_encrypt() 99 * overwriting this during AES-CTR. in aes_siv_encrypt() 105 /* IV for CTR before encrypted data */ in aes_siv_encrypt() 108 /* Synthetic IV to be used as the initial counter in CTR: in aes_siv_encrypt() 114 /* CTR */ in aes_siv_encrypt() 116 tfm2 = crypto_alloc_skcipher("ctr(aes)", 0, CRYPTO_ALG_ASYNC); in aes_siv_encrypt() 121 /* K2 for CTR */ in aes_siv_encrypt() 159 key_len /= 2; /* S2V key || CTR key */ in aes_siv_decrypt() 167 /* Synthetic IV to be used as the initial counter in CTR: in aes_siv_decrypt() 173 /* CTR */ in aes_siv_decrypt() [all …]
|
/linux-6.12.1/arch/x86/crypto/ |
D | Kconfig | 17 tristate "Ciphers: AES, modes: ECB, CBC, CTS, CTR, XCTR, XTS, GCM (AES-NI/VAES)" 28 Length-preserving ciphers: AES with ECB, CBC, CTS, CTR, XCTR, XTS 197 tristate "Ciphers: SM4 with modes: ECB, CBC, CTR (AES-NI/AVX)" 205 (OSCCA GB/T 32907-2016) with ECB, CBC, and CTR modes 218 tristate "Ciphers: SM4 with modes: ECB, CBC, CTR (AES-NI/AVX2)" 227 (OSCCA GB/T 32907-2016) with ECB, CBC, and CTR modes 295 tristate "Ciphers: ARIA with modes: ECB, CTR (AES-NI/AVX/GFNI)" 303 (RFC 5794) with ECB and CTR modes 313 tristate "Ciphers: ARIA with modes: ECB, CTR (AES-NI/AVX2/GFNI)" 322 (RFC 5794) with ECB and CTR modes [all …]
|