Searched refs:count1 (Results 1 - 25 of 25) sorted by relevance

/linux-master/arch/arm/mach-rpc/
H A Dtime.c31 unsigned int count1, count2, status; local
38 count1 = ioc_readb(IOC_T0CNTL) | (ioc_readb(IOC_T0CNTH) << 8);
48 if (count2 < count1) {
50 * The timer has not reloaded between reading count1 and
55 } else if (count2 > count1) {
/linux-master/tools/perf/tests/
H A Dbp_signal.c167 long long count1, count2, count3; local
206 * incq (%rdi) - fd1 event breakpoint hit -> count1 == 1
259 count1 = bp_count(fd1);
267 pr_debug("count1 %lld, count2 %lld, count3 %lld, overflow %d, overflows_2 %d\n",
268 count1, count2, count3, overflows, overflows_2);
270 if (count1 != 1) {
271 if (count1 == 11)
274 pr_debug("failed: wrong count for bp1: %lld, expected 1\n", count1);
289 return count1 == 1 && overflows == 3 && count2 == 3 && overflows_2 == 3 && count3 == 2 ?
/linux-master/drivers/acpi/acpica/
H A Dnsprepkg.c28 u32 count1,
121 package->ret_info.count1 + package->ret_info.count2;
138 count1,
428 package->ret_info.count1 + package->ret_info.count2;
438 count1,
454 package->ret_info.count1 + package->ret_info.count2;
464 count1,
470 count1, 0);
511 expected_count = package->ret_info.count1;
551 package->ret_info.count1) {
701 acpi_ns_check_package_elements(struct acpi_evaluate_info *info, union acpi_operand_object **elements, u8 type1, u32 count1, u8 type2, u32 count2, u32 start_index) argument
[all...]
H A Daclocal.h317 u8 count1; member in struct:acpi_package_info
345 u8 count1; member in struct:acpi_package_info4
H A Ddbnames.c435 package->ret_info.count1);
/linux-master/sound/core/
H A Drawmidi.c1142 int result = 0, count1; local
1173 count1 = runtime->buffer_size - runtime->hw_ptr;
1174 if (count1 > count)
1175 count1 = count;
1176 if (count1 > (int)(runtime->buffer_size - runtime->avail))
1177 count1 = runtime->buffer_size - runtime->avail;
1178 count1 = get_aligned_size(runtime, count1);
1179 if (!count1)
1181 memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1);
1217 long result = 0, count1; local
1269 int count1; local
1352 int result, count1; local
1519 long count1, result; local
1586 int count1; local
[all...]
/linux-master/drivers/rtc/
H A Drtc-snvs.c90 u32 count1, count2; local
94 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1);
96 count2 = count1;
97 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1);
98 diff = count1 - count2;
105 *lsb = count1;
111 u32 count1, count2; local
116 ret = rtc_read_lp_counter_lsb(data, &count1);
125 elapsed = count2 - count1; /* wrap around _is_ handled! */
/linux-master/sound/firewire/
H A Disight.c112 unsigned int count1; local
122 count1 = runtime->buffer_size - isight->buffer_pointer;
124 samples, count1 * 4);
125 samples += count1 * 2;
126 memcpy(runtime->dma_area, samples, (count - count1) * 4);
142 unsigned int count1; local
154 count1 = runtime->buffer_size - isight->buffer_pointer;
156 0, count1 * 4);
157 memset(runtime->dma_area, 0, (dropped - count1) * 4);
/linux-master/drivers/s390/crypto/
H A Dzcrypt_msgtype6.h87 unsigned int count1; /* length of CPRB + parameters */ member in struct:type86_fmt2_ext
H A Dzcrypt_msgtype6.c631 if (xcrb->reply_control_blk_length < msg->fmt2.count1) {
634 msg->fmt2.count1);
638 data + msg->fmt2.offset1, msg->fmt2.count1))
640 xcrb->reply_control_blk_length = msg->fmt2.count1;
675 if (xcrb->resp_len < msg->fmt2.count1) {
678 msg->fmt2.count1);
684 data + msg->fmt2.offset1, msg->fmt2.count1))
686 xcrb->resp_len = msg->fmt2.count1;
890 len = t86r->fmt2.offset1 + t86r->fmt2.count1;
941 len = t86r->fmt2.offset1 + t86r->fmt2.count1;
[all...]
/linux-master/sound/drivers/
H A Daloop.c653 unsigned int running, count1, count2; local
671 count1 = bytepos_delta(dpcm_play, delta_play - delta_capt);
672 bytepos_finish(dpcm_play, count1);
675 count1 = bytepos_delta(dpcm_capt, delta_capt - delta_play);
676 clear_capture_buf(dpcm_capt, count1);
677 bytepos_finish(dpcm_capt, count1);
685 count1 = bytepos_delta(dpcm_play, delta_play);
687 if (count1 < count2) {
688 dpcm_capt->last_drift = count2 - count1;
689 count1
[all...]
/linux-master/drivers/net/hamradio/
H A D6pack.c434 int count1; local
444 count1 = count;
453 sixpack_decode(sp, cp, count1);
954 int count1; local
956 for (count1 = 0; count1 < count; count1++) {
957 inbyte = pre_rbuff[count1];
/linux-master/drivers/video/fbdev/
H A Dpmagb-b-fb.c188 u32 count0 = 8, count1 = 8, counttc = 16 * 256 + 8; local
215 count1 += sfb_read(par, SFB_REG_VIDCLK_COUNT);
224 freq1 = (par->osc0 * count1 + count0 / 2) / count0;
/linux-master/drivers/comedi/drivers/
H A Djr3_pci.h563 u32 count1; /* offset 0x00e8 */ member in struct:jr3_sensor
/linux-master/drivers/scsi/
H A Dmac_esp.c195 : "g" (count1), "a" (mep->pdma_io))
215 unsigned int count1 = esp_count & 1; local
/linux-master/lib/crypto/
H A Dcurve25519-hacl64.c273 u32 count1)
277 for (i = 1; i < count1; ++i)
282 u32 count1)
286 fsquare_fsquare_times_(output, t, count1);
290 u32 count1)
293 fsquare_fsquare_times_(output, t, count1);
272 fsquare_fsquare_times_(u64 *output, u128 *tmp, u32 count1) argument
281 fsquare_fsquare_times(u64 *output, u64 *input, u32 count1) argument
289 fsquare_fsquare_times_inplace(u64 *output, u32 count1) argument
/linux-master/kernel/events/
H A Dhw_breakpoint.c269 const int count1 = atomic_read(&hist1->count[i]); local
275 if (count1 + count2 > 0)
277 WARN(count1 < 0, "inconsistent breakpoint slots histogram");
/linux-master/drivers/memory/tegra/
H A Dtegra20.c451 u32 clocks, count0, count1, control_0, control_1; local
471 count1 = mc_readl(mc, MC_STAT_EMC_COUNT_1);
476 stat->gather1.result = DIV_ROUND_UP(count1, clocks);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dsoc15.c727 uint64_t *count1)
770 *count1 = RREG32_PCIE(smnPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32);
774 uint64_t *count1)
819 *count1 = RREG32_PCIE(smnPCIE_PERF_COUNT1_TXCLK3) | (cnt1_of << 32);
726 soc15_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, uint64_t *count1) argument
773 vega20_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, uint64_t *count1) argument
H A Dvi.c1354 uint64_t *count1)
1396 *count1 = RREG32_PCIE(ixPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32);
1353 vi_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, uint64_t *count1) argument
H A Dcik.c1886 uint64_t *count1)
1928 *count1 = RREG32_PCIE(ixPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32);
1885 cik_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, uint64_t *count1) argument
H A Dsi.c1581 uint64_t *count1)
1623 *count1 = RREG32_PCIE(ixPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32);
1580 si_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, uint64_t *count1) argument
H A Damdgpu.h603 uint64_t *count1);
/linux-master/arch/sparc/kernel/
H A Dirq_64.c905 u64 count1; member in struct:sun5_timer
/linux-master/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c1602 uint64_t count0 = 0, count1 = 0; local
1622 amdgpu_asic_get_pcie_usage(adev, &count0, &count1);
1628 count0, count1, pcie_get_mps(adev->pdev));

Completed in 264 milliseconds