Home
last modified time | relevance | path

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

/linux-4.4.14/sound/core/
Drawmidi.c878 int result = 0, count1; in snd_rawmidi_receive() local
901 count1 = runtime->buffer_size - runtime->hw_ptr; in snd_rawmidi_receive()
902 if (count1 > count) in snd_rawmidi_receive()
903 count1 = count; in snd_rawmidi_receive()
904 if (count1 > (int)(runtime->buffer_size - runtime->avail)) in snd_rawmidi_receive()
905 count1 = runtime->buffer_size - runtime->avail; in snd_rawmidi_receive()
906 memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1); in snd_rawmidi_receive()
907 runtime->hw_ptr += count1; in snd_rawmidi_receive()
909 runtime->avail += count1; in snd_rawmidi_receive()
910 count -= count1; in snd_rawmidi_receive()
[all …]
/linux-4.4.14/tools/perf/tests/
Dbp_signal.c117 long long count1, count2; in test__bp_signal() local
170 count1 = bp_count(fd1); in test__bp_signal()
177 count1, count2, overflows); in test__bp_signal()
179 if (count1 != 1) { in test__bp_signal()
180 if (count1 == 11) in test__bp_signal()
183 pr_debug("failed: wrong count for bp1%lld\n", count1); in test__bp_signal()
192 return count1 == 1 && overflows == 1 && count2 == 1 ? in test__bp_signal()
/linux-4.4.14/drivers/acpi/acpica/
Dnsprepkg.c62 u32 count1,
146 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package()
163 count1, in acpi_ns_check_package()
449 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
459 count1, in acpi_ns_check_package_list()
475 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
485 count1, in acpi_ns_check_package_list()
491 count1, 0); in acpi_ns_check_package_list()
532 expected_count = package->ret_info.count1; in acpi_ns_check_package_list()
571 package->ret_info.count1) { in acpi_ns_check_package_list()
[all …]
Daclocal.h343 u8 count1; member
371 u8 count1; member
Ddbnames.c463 package->ret_info.count1); in acpi_db_walk_for_predefined_names()
/linux-4.4.14/arch/arm/mach-rpc/
Dtime.c32 unsigned int count1, count2, status; in ioc_timer_gettimeoffset() local
37 count1 = ioc_readb(IOC_T0CNTL) | (ioc_readb(IOC_T0CNTH) << 8); in ioc_timer_gettimeoffset()
46 if (count2 < count1) { in ioc_timer_gettimeoffset()
53 } else if (count2 > count1) { in ioc_timer_gettimeoffset()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dmodule.c76 int count1; in kportal_memhog_free() local
82 count1 = 0; in kportal_memhog_free()
84 while (count1 < PAGE_CACHE_SIZE/sizeof(struct page *) && in kportal_memhog_free()
102 count1++; in kportal_memhog_free()
120 int count1; in kportal_memhog_alloc() local
139 count1 = 0; in kportal_memhog_alloc()
143 count1 < PAGE_CACHE_SIZE/sizeof(struct page *)) { in kportal_memhog_alloc()
173 count1++; in kportal_memhog_alloc()
/linux-4.4.14/sound/drivers/
Daloop.c486 unsigned int running, count1, count2; in loopback_pos_update() local
503 count1 = bytepos_delta(dpcm_play, delta_play - delta_capt); in loopback_pos_update()
504 bytepos_finish(dpcm_play, count1); in loopback_pos_update()
507 count1 = bytepos_delta(dpcm_capt, delta_capt - delta_play); in loopback_pos_update()
508 clear_capture_buf(dpcm_capt, count1); in loopback_pos_update()
509 bytepos_finish(dpcm_capt, count1); in loopback_pos_update()
517 count1 = bytepos_delta(dpcm_play, delta_play); in loopback_pos_update()
519 if (count1 < count2) { in loopback_pos_update()
520 dpcm_capt->last_drift = count2 - count1; in loopback_pos_update()
521 count1 = count2; in loopback_pos_update()
[all …]
/linux-4.4.14/sound/firewire/
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-4.4.14/drivers/rtc/
Drtc-snvs.c75 u32 count1, count2, count3; in rtc_write_sync_lp() local
81 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_write_sync_lp()
83 } while (count1 != count2); in rtc_write_sync_lp()
91 } while (count3 == count1); in rtc_write_sync_lp()
/linux-4.4.14/drivers/net/hamradio/
D6pack.c440 int count1; in sixpack_receive_buf() local
453 count1 = count; in sixpack_receive_buf()
462 sixpack_decode(sp, buf, count1); in sixpack_receive_buf()
998 int count1; in sixpack_decode() local
1000 for (count1 = 0; count1 < count; count1++) { in sixpack_decode()
1001 inbyte = pre_rbuff[count1]; in sixpack_decode()
/linux-4.4.14/drivers/video/fbdev/
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()
/linux-4.4.14/drivers/s390/crypto/
Dzcrypt_msgtype6.c629 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_xcrb()
631 xcRB->reply_control_blk_length = msg->fmt2.count1; in convert_type86_xcrb()
658 if (xcRB->resp_len < msg->fmt2.count1) in convert_type86_ep11_xcrb()
663 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_ep11_xcrb()
665 xcRB->resp_len = msg->fmt2.count1; in convert_type86_ep11_xcrb()
888 length = t86r->fmt2.offset1 + t86r->fmt2.count1; in zcrypt_msgtype6_receive_ep11()
Dzcrypt_msgtype6.h109 unsigned int count1; /* length of CPRB + parameters */ member
/linux-4.4.14/arch/ia64/mm/
Dtlb.c280 unsigned long i, j, flags, count0, count1, stride0, stride1, addr; in local_flush_tlb_all() local
284 count1 = local_cpu_data->ptce_count[1]; in local_flush_tlb_all()
290 for (j = 0; j < count1; ++j) { in local_flush_tlb_all()
/linux-4.4.14/drivers/staging/comedi/drivers/
Djr3_pci.h521 u32 count1; /* offset 0x00e8 */ member
/linux-4.4.14/drivers/scsi/
Dmac_esp.c228 : "g" (count1), "a" (mep->pdma_io))
248 unsigned int count1 = esp_count & 1; in mac_esp_send_pdma_cmd() local
/linux-4.4.14/arch/sparc/kernel/
Dirq_64.c902 u64 count1; member
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_pm.c5660 u32 count1, count2, count3, m = 0, c = 0; in __i915_chipset_val() local
5676 count1 = I915_READ(DMIEC); in __i915_chipset_val()
5680 total_count = count1 + count2 + count3; in __i915_chipset_val()