Home
last modified time | relevance | path

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

12

/linux/sound/core/
H A Drawmidi.c1178 count1 = get_aligned_size(runtime, count1); in snd_rawmidi_receive()
1179 if (!count1) in snd_rawmidi_receive()
1269 int count1; in snd_rawmidi_read() local
1311 if (count1 < 0) in snd_rawmidi_read()
1314 buf += count1; in snd_rawmidi_read()
1374 count1 = get_aligned_size(runtime, count1); in __snd_rawmidi_transmit_peek()
1375 if (!count1) in __snd_rawmidi_transmit_peek()
1570 if (count1) in snd_rawmidi_kernel_write1()
1586 int count1; in snd_rawmidi_write() local
1625 if (count1 < 0) in snd_rawmidi_write()
[all …]
/linux/drivers/acpi/acpica/
H A Dnsprepkg.c28 u32 count1,
138 count1, in acpi_ns_check_package()
438 count1, 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()
552 expected_count = package->ret_info.count1; in acpi_ns_check_package_list()
704 u32 count1, in acpi_ns_check_package_elements() argument
718 for (i = 0; i < count1; i++) { in acpi_ns_check_package_elements()
[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()
/linux/tools/perf/tests/
H A Dbp_signal.c167 long long count1, count2, count3; in test__bp_signal() local
259 count1 = bp_count(fd1); in test__bp_signal()
268 count1, count2, count3, overflows, overflows_2); in test__bp_signal()
270 if (count1 != 1) { in test__bp_signal()
271 if (count1 == 11) in test__bp_signal()
274 pr_debug("failed: wrong count for bp1: %lld, expected 1\n", count1); in test__bp_signal()
289 return count1 == 1 && overflows == 3 && count2 == 3 && overflows_2 == 3 && count3 == 2 ? in test__bp_signal()
/linux/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()
/linux/drivers/rtc/
H A Drtc-snvs.c90 u32 count1, count2; in rtc_read_lp_counter_lsb() local
94 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb()
96 count2 = count1; in rtc_read_lp_counter_lsb()
97 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb()
98 diff = count1 - count2; in rtc_read_lp_counter_lsb()
105 *lsb = count1; in rtc_read_lp_counter_lsb()
111 u32 count1, count2; in rtc_write_sync_lp() local
116 ret = rtc_read_lp_counter_lsb(data, &count1); in rtc_write_sync_lp()
125 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
/linux/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()
/linux/drivers/net/hamradio/
H A D6pack.c434 int count1; in sixpack_receive_buf() local
444 count1 = count; in sixpack_receive_buf()
453 sixpack_decode(sp, cp, count1); in sixpack_receive_buf()
954 int count1; in sixpack_decode() local
956 for (count1 = 0; count1 < count; count1++) { in sixpack_decode()
957 inbyte = pre_rbuff[count1]; in sixpack_decode()
/linux/drivers/s390/crypto/
H A Dzcrypt_msgtype6.c631 if (xcrb->reply_control_blk_length < msg->fmt2.count1) { in convert_type86_xcrb()
634 msg->fmt2.count1); in convert_type86_xcrb()
638 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_xcrb()
640 xcrb->reply_control_blk_length = msg->fmt2.count1; in convert_type86_xcrb()
675 if (xcrb->resp_len < msg->fmt2.count1) { in convert_type86_ep11_xcrb()
678 msg->fmt2.count1); in convert_type86_ep11_xcrb()
684 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_ep11_xcrb()
686 xcrb->resp_len = msg->fmt2.count1; in convert_type86_ep11_xcrb()
890 len = t86r->fmt2.offset1 + t86r->fmt2.count1; in zcrypt_msgtype6_receive()
941 len = t86r->fmt2.offset1 + t86r->fmt2.count1; in zcrypt_msgtype6_receive_ep11()
H A Dzcrypt_msgtype6.h87 unsigned int count1; /* length of CPRB + parameters */ member
/linux/sound/drivers/
H A Daloop.c653 unsigned int running, count1, count2; in loopback_jiffies_timer_pos_update() local
672 bytepos_finish(dpcm_play, count1); in loopback_jiffies_timer_pos_update()
676 clear_capture_buf(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
677 bytepos_finish(dpcm_capt, count1); in loopback_jiffies_timer_pos_update()
687 if (count1 < count2) { in loopback_jiffies_timer_pos_update()
688 dpcm_capt->last_drift = count2 - count1; in loopback_jiffies_timer_pos_update()
689 count1 = count2; in loopback_jiffies_timer_pos_update()
690 } else if (count1 > count2) { in loopback_jiffies_timer_pos_update()
691 dpcm_play->last_drift = count1 - count2; in loopback_jiffies_timer_pos_update()
694 bytepos_finish(dpcm_play, count1); in loopback_jiffies_timer_pos_update()
[all …]
/linux/drivers/video/fbdev/
H A Dpmagb-b-fb.c188 u32 count0 = 8, count1 = 8, counttc = 16 * 256 + 8; in pmagbbfb_osc_setup() local
215 count1 += sfb_read(par, SFB_REG_VIDCLK_COUNT); in pmagbbfb_osc_setup()
224 freq1 = (par->osc0 * count1 + count0 / 2) / count0; in pmagbbfb_osc_setup()
/linux/lib/crypto/
H A Dcurve25519-hacl64.c273 u32 count1) in fsquare_fsquare_times_() argument
277 for (i = 1; i < count1; ++i) in fsquare_fsquare_times_()
282 u32 count1) in fsquare_fsquare_times() argument
286 fsquare_fsquare_times_(output, t, count1); in fsquare_fsquare_times()
290 u32 count1) in fsquare_fsquare_times_inplace() argument
293 fsquare_fsquare_times_(output, t, count1); in fsquare_fsquare_times_inplace()
/linux/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
/linux/kernel/events/
H A Dhw_breakpoint.c269 const int count1 = atomic_read(&hist1->count[i]); in bp_slots_histogram_max_merge() local
275 if (count1 + count2 > 0) in bp_slots_histogram_max_merge()
277 WARN(count1 < 0, "inconsistent breakpoint slots histogram"); in bp_slots_histogram_max_merge()
/linux/drivers/memory/tegra/
H A Dtegra20.c451 u32 clocks, count0, count1, control_0, control_1; in tegra20_mc_stat_gather() local
471 count1 = mc_readl(mc, MC_STAT_EMC_COUNT_1); in tegra20_mc_stat_gather()
476 stat->gather1.result = DIV_ROUND_UP(count1, clocks); in tegra20_mc_stat_gather()
/linux/drivers/comedi/drivers/
H A Djr3_pci.h563 u32 count1; /* offset 0x00e8 */ member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dsoc15.c727 uint64_t *count1) in soc15_get_pcie_usage() argument
770 *count1 = RREG32_PCIE(smnPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32); in soc15_get_pcie_usage()
774 uint64_t *count1) in vega20_get_pcie_usage() argument
819 *count1 = RREG32_PCIE(smnPCIE_PERF_COUNT1_TXCLK3) | (cnt1_of << 32); in vega20_get_pcie_usage()
H A Dcik.c1886 uint64_t *count1) in cik_get_pcie_usage() argument
1928 *count1 = RREG32_PCIE(ixPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32); in cik_get_pcie_usage()
H A Dvi.c1354 uint64_t *count1) in vi_get_pcie_usage() argument
1396 *count1 = RREG32_PCIE(ixPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32); in vi_get_pcie_usage()
H A Dsi.c1581 uint64_t *count1) in si_get_pcie_usage() argument
1623 *count1 = RREG32_PCIE(ixPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32); in si_get_pcie_usage()
/linux/Documentation/devicetree/bindings/timer/
H A Drenesas,rz-mtu3.yaml84 count1 - MTU2 16-bit phase counting
/linux/arch/sparc/kernel/
H A Dirq_64.c901 u64 count1; member
/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c1628 uint64_t count0 = 0, count1 = 0; in amdgpu_get_pcie_bw() local
1648 amdgpu_asic_get_pcie_usage(adev, &count0, &count1); in amdgpu_get_pcie_bw()
1654 count0, count1, pcie_get_mps(adev->pdev)); in amdgpu_get_pcie_bw()

12