| /linux/drivers/comedi/drivers/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | ni_660x.c | 1094 * 8 8 CTR 7 OUT in ni_660x_auto_attach() 1095 * 9 9 CTR 7 AUX in ni_660x_auto_attach() 1096 * 10 10 CTR 7 GATE in ni_660x_auto_attach() 1097 * 11 11 CTR 7 SOURCE in ni_660x_auto_attach() 1098 * 12 12 CTR 6 OUT in ni_660x_auto_attach() 1099 * 13 13 CTR 6 AUX in ni_660x_auto_attach() 1100 * 14 14 CTR 6 GATE in ni_660x_auto_attach() 1101 * 15 15 CTR 6 SOURCE in ni_660x_auto_attach() 1102 * 16 16 CTR 5 OUT in ni_660x_auto_attach() 1103 * 17 17 CTR 5 AUX in ni_660x_auto_attach() [all …]
|
| /linux/drivers/media/platform/qcom/venus/ |
| H A 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() 737 if (ctr->layer_bitrate) { in venc_set_properties() 741 ret = hfi_session_set_property(inst, ptype, &ctr->h264_hier_layers); in venc_set_properties() [all …]
|
| /linux/drivers/parport/ |
| H A 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/include/linux/ |
| H A 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/arch/arc/include/asm/ |
| H A 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/lib/crypto/ |
| H A 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/arch/arm64/crypto/ |
| H A 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[]);
|
| H A D | sm4-ce-ccm-core.S | 113 * x3: ctr (big endian, 128 bit) 188 umov w9, v8.b[0] /* get top crypted CTR byte */ 191 eor w9, w9, w0 /* w9 = CTR ^ input */ 210 /* store new CTR */ 225 * x3: ctr (big endian, 128 bit) 300 umov w9, v8.b[0] /* get top crypted CTR byte */ 303 eor w9, w9, w0 /* w9 = CTR ^ input */ 322 /* store new CTR */
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A 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/tools/tracing/rtla/tests/ |
| H A D | engine.sh | 6 ctr=0 49 ctr=$(($ctr + 1)) 77 echo "ok $ctr - $1" 80 echo "not ok $ctr - $1" 134 [ -z "$TEST_COUNT" ] && TEST_COUNT=$ctr exec bash $0 || true
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A 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/net/rds/ |
| H A D | stats.c | 88 struct rds_info_counter ctr; in rds_stats_info_copy() 92 BUG_ON(strlen(names[i]) >= sizeof(ctr.name)); in rds_stats_info_copy() 93 strscpy_pad(ctr.name, names[i]); 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() 87 struct rds_info_counter ctr; rds_stats_info_copy() local
|
| /linux/drivers/rtc/ |
| H A D | rtc-macsmc.c | 33 u64 ctr = 0, off = 0; in macsmc_rtc_get_time() local 39 ret = apple_smc_read(rtc->smc, SMC_KEY(CLKM), &ctr, RTC_BYTES); in macsmc_rtc_get_time() 57 now = sign_extend64(ctr + off, RTC_BITS - 1) >> RTC_SEC_SHIFT; in macsmc_rtc_get_time() 66 u64 ctr = 0, off = 0; in macsmc_rtc_set_time() local 69 ret = apple_smc_read(rtc->smc, SMC_KEY(CLKM), &ctr, RTC_BYTES); in macsmc_rtc_set_time() 76 off = (rtc_tm_to_time64(tm) << RTC_SEC_SHIFT) - ctr; in macsmc_rtc_set_time()
|
| /linux/fs/xfs/ |
| H A D | xfs_fsops.c | 365 enum xfs_free_counter ctr, in xfs_reserve_blocks() argument 373 ASSERT(ctr < XC_FREE_NR); in xfs_reserve_blocks() 393 if (mp->m_free[ctr].res_total > request) { in xfs_reserve_blocks() 394 lcounter = mp->m_free[ctr].res_avail - request; in xfs_reserve_blocks() 397 mp->m_free[ctr].res_avail -= lcounter; in xfs_reserve_blocks() 399 mp->m_free[ctr].res_total = request; in xfs_reserve_blocks() 402 xfs_add_freecounter(mp, ctr, fdblks_delta); in xfs_reserve_blocks() 421 free = xfs_sum_freecounter_raw(mp, ctr) - in xfs_reserve_blocks() 422 xfs_freecounter_unavailable(mp, ctr); in xfs_reserve_blocks() 423 delta = request - mp->m_free[ctr].res_total; in xfs_reserve_blocks() [all …]
|
| H A D | xfs_mount.h | 701 enum xfs_free_counter ctr); 715 enum xfs_free_counter ctr); 721 enum xfs_free_counter ctr) in xfs_sum_freecounter() argument 723 return percpu_counter_sum_positive(&mp->m_free[ctr].count); in xfs_sum_freecounter() 731 enum xfs_free_counter ctr) in xfs_sum_freecounter_raw() argument 733 return percpu_counter_sum(&mp->m_free[ctr].count); in xfs_sum_freecounter_raw() 741 enum xfs_free_counter ctr) in xfs_estimate_freecounter() argument 743 return percpu_counter_read_positive(&mp->m_free[ctr].count); in xfs_estimate_freecounter() 747 enum xfs_free_counter ctr, s64 rhs, s32 batch) in xfs_compare_freecounter() argument 749 return __percpu_counter_compare(&mp->m_free[ctr].count, rhs, batch); in xfs_compare_freecounter() [all …]
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | memslot_perf_test.c | 641 gpa_t gpa, ctr; in test_memslot_do_unmap() local 644 for (gpa = MEM_TEST_GPA + offsp * guest_page_size, ctr = 0; ctr < count; ) { in test_memslot_do_unmap() 651 npages = min(npages, count - ctr); in test_memslot_do_unmap() 656 ctr += npages; in test_memslot_do_unmap() 659 TEST_ASSERT(ctr == count, in test_memslot_do_unmap() 725 u64 ctr; in test_memslot_unmap_loop_common() local 736 for (ctr = 0; ctr < guest_pages / 2; ctr += chunk) in test_memslot_unmap_loop_common() 737 test_memslot_do_unmap(data, ctr, chunk); in test_memslot_unmap_loop_common() 742 for (ctr = guest_pages / 2; ctr < guest_pages; ctr += chunk) in test_memslot_unmap_loop_common() 743 test_memslot_do_unmap(data, ctr, chunk); in test_memslot_unmap_loop_common() [all …]
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_minidump.c | 406 struct __ctrl *ctr = &entry->region.ctrl; in qlcnic_dump_ctrl() local 411 addr = ctr->addr; in qlcnic_dump_ctrl() 412 no_ops = ctr->no_ops; in qlcnic_dump_ctrl() 417 if (!(ctr->opcode & (1 << k))) in qlcnic_dump_ctrl() 421 qlcnic_ind_wr(adapter, addr, ctr->val1); in qlcnic_dump_ctrl() 430 (data & ctr->val2)); in qlcnic_dump_ctrl() 435 (data | ctr->val3)); in qlcnic_dump_ctrl() 438 while (timeout <= ctr->timeout) { in qlcnic_dump_ctrl() 440 if ((data & ctr->val2) == ctr->val1) in qlcnic_dump_ctrl() 445 if (timeout > ctr->timeout) { in qlcnic_dump_ctrl() [all …]
|
| /linux/include/crypto/ |
| H A D | drbg.h | 95 /* hash: static value 10.1.1.1 1b) hmac / ctr: key */ 106 struct crypto_skcipher *ctr_handle; /* CTR mode cipher handle */ 107 struct skcipher_request *ctr_req; /* CTR mode request handle */ 108 __u8 *outscratchpadbuf; /* CTR mode output scratchpad */ 109 __u8 *outscratchpad; /* CTR mode aligned outbuf */ 110 struct crypto_wait ctr_wait; /* CTR mode async wait obj */ 111 struct scatterlist sg_in, sg_out; /* CTR mode SGLs */
|
| /linux/tools/perf/util/ |
| H A D | s390-cpumcf-kernel.h | 21 unsigned int ctr:16; /* 24-39 Number of stored counters */ member 32 unsigned int mtda:1; /* Loss of MT ctr. data alert */ 39 unsigned int cfvn:16; /* 64-79 Ctr First Version */ 40 unsigned int csvn:16; /* 80-95 Ctr Second Version */
|
| H A D | s390-sample-raw.c | 11 * to file. File name is aux.ctr.## where ## stands for the CPU number the 37 return sizeof(*set) + set->ctr * sizeof(u64); in ctrset_size() 60 ce.ctr = be16_to_cpu(cep->ctr); in s390_cpumcfdg_testctr() 238 ce.ctr = be16_to_cpu(cep->ctr); in s390_cpumcfdg_dump() 248 " Counters:%d\n", offset, ce.set, ce.ctr); in s390_cpumcfdg_dump() 249 for (i = 0, p = (u64 *)(cep + 1); i < ce.ctr; ++i, ++p) { in s390_cpumcfdg_dump()
|
| /linux/arch/loongarch/kernel/ |
| H A D | perf_event.c | 830 int ctr = loongarch_pmu.num_counters; in pause_local_counters() local 835 ctr--; in pause_local_counters() 836 cpuc->saved_ctrl[ctr] = loongarch_pmu_read_control(ctr); in pause_local_counters() 837 loongarch_pmu_write_control(ctr, cpuc->saved_ctrl[ctr] & in pause_local_counters() 839 } while (ctr > 0); in pause_local_counters() 845 int ctr = loongarch_pmu.num_counters; in resume_local_counters() local 849 ctr--; in resume_local_counters() 850 loongarch_pmu_write_control(ctr, cpuc->saved_ctrl[ctr]); in resume_local_counters() 851 } while (ctr > 0); in resume_local_counters()
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_64_slb.S | 34 * SVCPU[CTR] = guest CTR 101 * SVCPU[CTR] = guest CTR
|
| /linux/arch/sparc/kernel/ |
| H A 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()
|