Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/sound/core/
H A Drawmidi.c980 int result = 0, count1; in snd_rawmidi_receive() local
1003 count1 = runtime->buffer_size - runtime->hw_ptr; in snd_rawmidi_receive()
1004 if (count1 > count) in snd_rawmidi_receive()
1005 count1 = count; in snd_rawmidi_receive()
1006 if (count1 > (int)(runtime->buffer_size - runtime->avail)) in snd_rawmidi_receive()
1007 count1 = runtime->buffer_size - runtime->avail; in snd_rawmidi_receive()
1008 memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1); in snd_rawmidi_receive()
1009 runtime->hw_ptr += count1; in snd_rawmidi_receive()
1011 runtime->avail += count1; in snd_rawmidi_receive()
1012 count -= count1; in snd_rawmidi_receive()
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/acpica/
H A Dnsprepkg.c28 u32 count1,
121 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package()
138 count1, in acpi_ns_check_package()
428 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
438 count1, in acpi_ns_check_package_list()
454 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
464 count1, in acpi_ns_check_package_list()
470 count1, 0); in acpi_ns_check_package_list()
511 expected_count = package->ret_info.count1; in acpi_ns_check_package_list()
551 package->ret_info.count1) { in acpi_ns_check_package_list()
[all …]
H A Daclocal.h317 u8 count1; member
345 u8 count1; member
H A Ddbnames.c435 package->ret_info.count1); in acpi_db_walk_for_predefined_names()
/OK3568_Linux_fs/kernel/tools/perf/tests/
H A Dbp_signal.c167 long long count1, count2, count3; in test__bp_signal() local
254 count1 = bp_count(fd1); in test__bp_signal()
263 count1, count2, count3, overflows, overflows_2); in test__bp_signal()
265 if (count1 != 1) { in test__bp_signal()
266 if (count1 == 11) in test__bp_signal()
269 pr_debug("failed: wrong count for bp1: %lld, expected 1\n", count1); in test__bp_signal()
284 return count1 == 1 && overflows == 3 && count2 == 3 && overflows_2 == 3 && count3 == 2 ? in test__bp_signal()
/OK3568_Linux_fs/kernel/arch/arm/mach-rpc/
H A Dtime.c31 unsigned int count1, count2, status; in ioc_timer_read() local
38 count1 = ioc_readb(IOC_T0CNTL) | (ioc_readb(IOC_T0CNTH) << 8); in ioc_timer_read()
48 if (count2 < count1) { in ioc_timer_read()
55 } else if (count2 > count1) { in ioc_timer_read()
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-snvs.c80 u32 count1, count2; in rtc_read_lp_counter_lsb() local
83 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb()
85 count2 = count1; in rtc_read_lp_counter_lsb()
86 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb()
87 } while (count1 != count2 && --timeout); in rtc_read_lp_counter_lsb()
93 *lsb = count1; in rtc_read_lp_counter_lsb()
99 u32 count1, count2; in rtc_write_sync_lp() local
104 ret = rtc_read_lp_counter_lsb(data, &count1); in rtc_write_sync_lp()
113 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
/OK3568_Linux_fs/kernel/sound/firewire/
H A Disight.c112 unsigned int count1; in isight_samples() local
122 count1 = runtime->buffer_size - isight->buffer_pointer; in isight_samples()
124 samples, count1 * 4); in isight_samples()
125 samples += count1 * 2; in isight_samples()
126 memcpy(runtime->dma_area, samples, (count - count1) * 4); in isight_samples()
142 unsigned int count1; in isight_dropped_samples() local
154 count1 = runtime->buffer_size - isight->buffer_pointer; in isight_dropped_samples()
156 0, count1 * 4); in isight_dropped_samples()
157 memset(runtime->dma_area, 0, (dropped - count1) * 4); in isight_dropped_samples()
/OK3568_Linux_fs/kernel/drivers/net/hamradio/
H A D6pack.c438 int count1; in sixpack_receive_buf() local
448 count1 = count; in sixpack_receive_buf()
457 sixpack_decode(sp, cp, count1); in sixpack_receive_buf()
962 int count1; in sixpack_decode() local
964 for (count1 = 0; count1 < count; count1++) { in sixpack_decode()
965 inbyte = pre_rbuff[count1]; in sixpack_decode()
/OK3568_Linux_fs/kernel/sound/drivers/
H A Daloop.c629 unsigned int running, count1, count2; in loopback_jiffies_timer_pos_update() local
647 count1 = bytepos_delta(dpcm_play, delta_play - delta_capt); in loopback_jiffies_timer_pos_update()
648 bytepos_finish(dpcm_play, count1); in loopback_jiffies_timer_pos_update()
651 count1 = bytepos_delta(dpcm_capt, delta_capt - delta_play); in loopback_jiffies_timer_pos_update()
652 clear_capture_buf(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
653 bytepos_finish(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
661 count1 = bytepos_delta(dpcm_play, delta_play); in loopback_jiffies_timer_pos_update()
663 if (count1 < count2) { in loopback_jiffies_timer_pos_update()
664 dpcm_capt->last_drift = count2 - count1; in loopback_jiffies_timer_pos_update()
665 count1 = count2; in loopback_jiffies_timer_pos_update()
[all …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A Dpmagb-b-fb.c190 u32 count0 = 8, count1 = 8, counttc = 16 * 256 + 8; in pmagbbfb_osc_setup() local
217 count1 += sfb_read(par, SFB_REG_VIDCLK_COUNT); in pmagbbfb_osc_setup()
226 freq1 = (par->osc0 * count1 + count0 / 2) / count0; in pmagbbfb_osc_setup()
/OK3568_Linux_fs/kernel/arch/ia64/mm/
H A Dtlb.c290 unsigned long i, j, flags, count0, count1, stride0, stride1, addr; in local_flush_tlb_all() local
294 count1 = local_cpu_data->ptce_count[1]; in local_flush_tlb_all()
300 for (j = 0; j < count1; ++j) { in local_flush_tlb_all()
/OK3568_Linux_fs/kernel/lib/crypto/
H A Dcurve25519-hacl64.c275 u32 count1) in fsquare_fsquare_times_() argument
279 for (i = 1; i < count1; ++i) in fsquare_fsquare_times_()
284 u32 count1) in fsquare_fsquare_times() argument
288 fsquare_fsquare_times_(output, t, count1); in fsquare_fsquare_times()
292 u32 count1) in fsquare_fsquare_times_inplace() argument
295 fsquare_fsquare_times_(output, t, count1); in fsquare_fsquare_times_inplace()
/OK3568_Linux_fs/kernel/drivers/s390/crypto/
H A Dzcrypt_msgtype6.c728 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_xcrb()
730 xcRB->reply_control_blk_length = msg->fmt2.count1; in convert_type86_xcrb()
757 if (xcRB->resp_len < msg->fmt2.count1) in convert_type86_ep11_xcrb()
762 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_ep11_xcrb()
764 xcRB->resp_len = msg->fmt2.count1; in convert_type86_ep11_xcrb()
996 len = t86r->fmt2.offset1 + t86r->fmt2.count1; in zcrypt_msgtype6_receive_ep11()
H A Dzcrypt_msgtype6.h89 unsigned int count1; /* length of CPRB + parameters */ member
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dmac_esp.c195 : "g" (count1), "a" (mep->pdma_io))
215 unsigned int count1 = esp_count & 1; in mac_esp_send_pdma_cmd() local
/OK3568_Linux_fs/external/common_algorithm/misc/include/
H A Dmp3_enc_types.h115 unsigned count1; member
/OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/
H A Djr3_pci.h563 u32 count1; /* offset 0x00e8 */ member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Dsoc15.c869 uint64_t *count1) in soc15_get_pcie_usage() argument
912 *count1 = RREG32_PCIE(smnPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32); in soc15_get_pcie_usage()
916 uint64_t *count1) in vega20_get_pcie_usage() argument
961 *count1 = RREG32_PCIE(smnPCIE_PERF_COUNT1_TXCLK3) | (cnt1_of << 32); in vega20_get_pcie_usage()
H A Dvi.c997 uint64_t *count1) in vi_get_pcie_usage() argument
1039 *count1 = RREG32_PCIE(ixPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32); in vi_get_pcie_usage()
H A Dcik.c1852 uint64_t *count1) in cik_get_pcie_usage() argument
1894 *count1 = RREG32_PCIE(ixPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32); in cik_get_pcie_usage()
H A Dsi.c1465 uint64_t *count1) in si_get_pcie_usage() argument
1507 *count1 = RREG32_PCIE(ixPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32); in si_get_pcie_usage()
/OK3568_Linux_fs/external/xserver/mi/
H A Dmiarc.c224 int count1, count2, k; member
408 spdata->count1 = -doinner - spdata->top; in miComputeCircleSpans()
435 spdata->count1--; in miComputeCircleSpans()
473 spdata->count1 = 0; in miComputeEllipseSpans()
569 spdata->count1++; in miComputeEllipseSpans()
606 span = &spdata->spans[spdata->count1]; in miComputeEllipseSpans()
610 spdata->count1--; in miComputeEllipseSpans()
813 for (n = spdata->count1; --n >= 0;) { in miFillWideEllipse()
3526 for (n = spdata->count1; --n >= 0;) { in drawQuadrant()
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dirq_64.c902 u64 count1; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dprofile-count.h624 profile_probability combine_with_count (profile_count count1, in class()

12