/linux-6.6.21/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.6.21/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 | 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 …]
|
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 …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/pm/ ! |
D | nv40.c | 28 struct nvkm_perfctr *ctr) in nv40_perfctr_init() argument 31 u32 log = ctr->logic_op; in nv40_perfctr_init() 36 src |= ctr->signal[i] << (i * 8); in nv40_perfctr_init() 39 nvkm_wr32(device, 0x00a400 + dom->addr + (ctr->slot * 0x40), src); in nv40_perfctr_init() 40 nvkm_wr32(device, 0x00a420 + dom->addr + (ctr->slot * 0x40), log); in nv40_perfctr_init() 45 struct nvkm_perfctr *ctr) in nv40_perfctr_read() argument 49 switch (ctr->slot) { in nv40_perfctr_read() 50 case 0: ctr->ctr = nvkm_rd32(device, 0x00a700 + dom->addr); break; in nv40_perfctr_read() 51 case 1: ctr->ctr = nvkm_rd32(device, 0x00a6c0 + dom->addr); break; in nv40_perfctr_read() 52 case 2: ctr->ctr = nvkm_rd32(device, 0x00a680 + dom->addr); break; in nv40_perfctr_read() [all …]
|
D | gf100.c | 129 struct nvkm_perfctr *ctr) in gf100_perfctr_init() argument 132 u32 log = ctr->logic_op; in gf100_perfctr_init() 137 src |= ctr->signal[i] << (i * 8); in gf100_perfctr_init() 141 nvkm_wr32(device, dom->addr + 0x040 + (ctr->slot * 0x08), src); in gf100_perfctr_init() 142 nvkm_wr32(device, dom->addr + 0x044 + (ctr->slot * 0x08), log); in gf100_perfctr_init() 147 struct nvkm_perfctr *ctr) in gf100_perfctr_read() argument 151 switch (ctr->slot) { in gf100_perfctr_read() 152 case 0: ctr->ctr = nvkm_rd32(device, dom->addr + 0x08c); break; in gf100_perfctr_read() 153 case 1: ctr->ctr = nvkm_rd32(device, dom->addr + 0x088); break; in gf100_perfctr_read() 154 case 2: ctr->ctr = nvkm_rd32(device, dom->addr + 0x080); break; in gf100_perfctr_read() [all …]
|
D | base.c | 129 nvkm_perfsrc_enable(struct nvkm_pm *pm, struct nvkm_perfctr *ctr) in nvkm_perfsrc_enable() argument 140 for (j = 0; j < 8 && ctr->source[i][j]; j++) { in nvkm_perfsrc_enable() 141 sig = nvkm_perfsig_find(pm, ctr->domain, in nvkm_perfsrc_enable() 142 ctr->signal[i], &dom); in nvkm_perfsrc_enable() 146 src = nvkm_perfsrc_find(pm, sig, ctr->source[i][j]); in nvkm_perfsrc_enable() 155 value |= ((ctr->source[i][j] >> 32) << src->shift); in nvkm_perfsrc_enable() 168 nvkm_perfsrc_disable(struct nvkm_pm *pm, struct nvkm_perfctr *ctr) in nvkm_perfsrc_disable() argument 179 for (j = 0; j < 8 && ctr->source[i][j]; j++) { in nvkm_perfsrc_disable() 180 sig = nvkm_perfsig_find(pm, ctr->domain, in nvkm_perfsrc_disable() 181 ctr->signal[i], &dom); in nvkm_perfsrc_disable() [all …]
|
/linux-6.6.21/drivers/parport/ ! |
D | parport_gsc.h | 53 unsigned char ctr; member 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() 141 return priv->ctr & rm; /* Use soft copy */ in parport_gsc_read_control()
|
/linux-6.6.21/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.6.21/include/linux/ ! |
D | parport_pc.h | 21 unsigned char ctr; member 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() 146 return ctr; in __parport_pc_frob_control() 184 return priv->ctr & rm; /* Use soft copy */ in parport_pc_read_control()
|
/linux-6.6.21/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.6.21/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.6.21/lib/crypto/ ! |
D | aesgcm.c | 77 const u8 *assoc, int assoc_len, __be32 *ctr, u8 *authtag) in aesgcm_mac() argument 87 ctr[3] = cpu_to_be32(1); in aesgcm_mac() 88 aesgcm_encrypt_block(&ctx->aes_ctx, buf, ctr); in aesgcm_mac() 96 int len, __be32 *ctr) in aesgcm_crypt() argument 109 ctr[3] = cpu_to_be32(n++); in aesgcm_crypt() 110 aesgcm_encrypt_block(&ctx->aes_ctx, buf, ctr); in aesgcm_crypt() 139 __be32 ctr[4]; in aesgcm_encrypt() local 141 memcpy(ctr, iv, GCM_AES_IV_SIZE); in aesgcm_encrypt() 143 aesgcm_crypt(ctx, dst, src, crypt_len, ctr); in aesgcm_encrypt() 144 aesgcm_mac(ctx, dst, crypt_len, assoc, assoc_len, ctr, authtag); in aesgcm_encrypt() [all …]
|
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.6.21/arch/arm64/include/asm/ ! |
D | cache.h | 58 #define CTR_L1IP(ctr) SYS_FIELD_GET(CTR_EL0, L1Ip, ctr) argument 114 u32 ctr = read_cpuid_cachetype(); in read_cpuid_effective_cachetype() local 116 if (!(ctr & BIT(CTR_EL0_IDC_SHIFT))) { in read_cpuid_effective_cachetype() 121 ctr |= BIT(CTR_EL0_IDC_SHIFT); in read_cpuid_effective_cachetype() 124 return ctr; in read_cpuid_effective_cachetype()
|
/linux-6.6.21/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.6.21/crypto/ ! |
D | ccm.c | 20 struct crypto_skcipher_spawn ctr; member 26 struct crypto_skcipher *ctr; member 91 struct crypto_skcipher *ctr = ctx->ctr; in crypto_ccm_setkey() local 95 crypto_skcipher_clear_flags(ctr, CRYPTO_TFM_REQ_MASK); in crypto_ccm_setkey() 96 crypto_skcipher_set_flags(ctr, crypto_aead_get_flags(aead) & in crypto_ccm_setkey() 98 err = crypto_skcipher_setkey(ctr, key, keylen); in crypto_ccm_setkey() 309 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_encrypt() 373 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_decrypt() 398 struct crypto_skcipher *ctr; in crypto_ccm_init_tfm() local 406 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 …]
|
/linux-6.6.21/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.6.21/arch/sparc/kernel/ ! |
D | windows.c | 22 register int ctr asm("g5"); in flush_user_windows() 24 ctr = 0; in flush_user_windows() 36 : "=&r" (ctr) in flush_user_windows() 37 : "0" (ctr), in flush_user_windows()
|
/linux-6.6.21/arch/x86/boot/ ! |
D | a20.c | 57 int saved, ctr; in a20_test() local 62 saved = ctr = rdfs32(A20_TEST_ADDR); in a20_test() 65 wrfs32(++ctr, A20_TEST_ADDR); in a20_test() 67 ok = rdgs32(A20_TEST_ADDR+0x10) ^ ctr; in a20_test()
|
/linux-6.6.21/tools/perf/util/ ! |
D | s390-sample-raw.c | 35 return sizeof(*set) + set->ctr * sizeof(u64); in ctrset_size() 60 ce.ctr = be16_to_cpu(cep->ctr); in s390_cpumcfdg_testctr() 192 ce.ctr = be16_to_cpu(cep->ctr); in s390_cpumcfdg_dump() 202 " Counters:%d\n", offset, ce.set, ce.ctr); in s390_cpumcfdg_dump() 203 for (i = 0, p = (u64 *)(cep + 1); i < ce.ctr; ++i, ++p) { in s390_cpumcfdg_dump()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/ ! |
D | qat_crypto.c | 58 unsigned long ctr; in qat_crypto_get_instance_node() local 64 ctr = atomic_read(&tmp_dev->ref_count); in qat_crypto_get_instance_node() 65 if (best > ctr) { in qat_crypto_get_instance_node() 67 best = ctr; in qat_crypto_get_instance_node() 89 unsigned long ctr; in qat_crypto_get_instance_node() local 91 ctr = atomic_read(&tmp_inst->refctr); in qat_crypto_get_instance_node() 92 if (best > ctr) { in qat_crypto_get_instance_node() 94 best = ctr; in qat_crypto_get_instance_node()
|
/linux-6.6.21/tools/testing/selftests/kvm/ ! |
D | memslot_perf_test.c | 632 uint64_t gpa, ctr; in test_memslot_do_unmap() local 635 for (gpa = MEM_TEST_GPA + offsp * guest_page_size, ctr = 0; ctr < count; ) { in test_memslot_do_unmap() 642 npages = min(npages, count - ctr); in test_memslot_do_unmap() 647 ctr += npages; in test_memslot_do_unmap() 650 TEST_ASSERT(ctr == count, in test_memslot_do_unmap() 716 uint64_t ctr; in test_memslot_unmap_loop_common() local 727 for (ctr = 0; ctr < guest_pages / 2; ctr += chunk) in test_memslot_unmap_loop_common() 728 test_memslot_do_unmap(data, ctr, chunk); in test_memslot_unmap_loop_common() 733 for (ctr = guest_pages / 2; ctr < guest_pages; ctr += chunk) in test_memslot_unmap_loop_common() 734 test_memslot_do_unmap(data, ctr, chunk); in test_memslot_unmap_loop_common() [all …]
|