Home
last modified time | relevance | path

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

/linux-2.6.39/sound/core/
Drawmidi.c879 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-2.6.39/arch/arm/common/
Dtime-acorn.c29 unsigned int count1, count2, status; in ioc_timer_gettimeoffset() local
34 count1 = ioc_readb(IOC_T0CNTL) | (ioc_readb(IOC_T0CNTH) << 8); in ioc_timer_gettimeoffset()
43 if (count2 < count1) { in ioc_timer_gettimeoffset()
50 } else if (count2 > count1) { in ioc_timer_gettimeoffset()
/linux-2.6.39/drivers/acpi/acpica/
Dnspredef.c89 u32 count1,
477 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package()
494 count1, in acpi_ns_check_package()
735 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
745 count1, in acpi_ns_check_package_list()
784 expected_count = package->ret_info.count1; in acpi_ns_check_package_list()
824 package->ret_info.count1) { in acpi_ns_check_package_list()
825 expected_count = package->ret_info.count1; in acpi_ns_check_package_list()
897 u32 count1, in acpi_ns_check_package_elements() argument
909 for (i = 0; i < count1; i++) { in acpi_ns_check_package_elements()
[all …]
Daclocal.h323 u8 count1; member
/linux-2.6.39/drivers/net/hamradio/
D6pack.c464 int count1; in sixpack_receive_buf() local
477 count1 = count; in sixpack_receive_buf()
486 sixpack_decode(sp, buf, count1); in sixpack_receive_buf()
1015 int count1; in sixpack_decode() local
1017 for (count1 = 0; count1 < count; count1++) { in sixpack_decode()
1018 inbyte = pre_rbuff[count1]; in sixpack_decode()
/linux-2.6.39/drivers/s390/crypto/
Dzcrypt_pcicc.h157 unsigned int count1; /* length of CPRB + parameters */ member
Dzcrypt_pcixcc.c527 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_xcrb()
529 xcRB->reply_control_blk_length = msg->fmt2.count1; in convert_type86_xcrb()
/linux-2.6.39/drivers/video/
Dpmagb-b-fb.c191 u32 count0 = 8, count1 = 8, counttc = 16 * 256 + 8; in pmagbbfb_osc_setup() local
218 count1 += sfb_read(par, SFB_REG_VIDCLK_COUNT); in pmagbbfb_osc_setup()
227 freq1 = (par->osc0 * count1 + count0 / 2) / count0; in pmagbbfb_osc_setup()
/linux-2.6.39/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-2.6.39/drivers/staging/comedi/drivers/
Djr3_pci.h520 u32 count1; /* offset 0x00e8 */ member
/linux-2.6.39/arch/ia64/kvm/
Dvtlb.c70 unsigned long flags, count0, count1; in local_flush_tlb_all() local
75 count1 = current_vcpu->arch.ptce_count[1]; in local_flush_tlb_all()
81 for (j = 0; j < count1; ++j) { in local_flush_tlb_all()
Dkvm-ia64.c94 unsigned long i, j, count0, count1, stride0, stride1, addr; in kvm_flush_tlb_all() local
99 count1 = local_cpu_data->ptce_count[1]; in kvm_flush_tlb_all()
105 for (j = 0; j < count1; ++j) { in kvm_flush_tlb_all()
/linux-2.6.39/drivers/scsi/
Dmac_esp.c227 : "g" (count1), "a" (mep->pdma_io))
250 unsigned int count1 = esp_count & 1; in mac_esp_send_pdma_cmd() local
/linux-2.6.39/drivers/gpu/drm/i915/
Di915_dma.c1437 u32 count1, count2, count3, m = 0, c = 0; in i915_chipset_val() local
1443 count1 = I915_READ(DMIEC); in i915_chipset_val()
1447 total_count = count1 + count2 + count3; in i915_chipset_val()
/linux-2.6.39/arch/sparc/kernel/
Dirq_64.c756 u64 count1; member