Home
last modified time | relevance | path

Searched refs:count2 (Results 1 – 18 of 18) sorted by relevance

/linux-4.1.27/arch/arm/mach-rpc/
Dtime.c32 unsigned int count1, count2, status; in ioc_timer_gettimeoffset() local
43 count2 = ioc_readb(IOC_T0CNTL) | (ioc_readb(IOC_T0CNTH) << 8); in ioc_timer_gettimeoffset()
45 offset = count2; in ioc_timer_gettimeoffset()
46 if (count2 < count1) { in ioc_timer_gettimeoffset()
53 } else if (count2 > count1) { in ioc_timer_gettimeoffset()
/linux-4.1.27/tools/perf/tests/
Dbp_signal.c117 long long count1, count2; in test__bp_signal() local
171 count2 = bp_count(fd2); in test__bp_signal()
177 count1, count2, overflows); in test__bp_signal()
189 if (count2 != 1) in test__bp_signal()
192 return count1 == 1 && overflows == 1 && count2 == 1 ? in test__bp_signal()
/linux-4.1.27/drivers/clocksource/
Dclksrc-dbx500-prcmu.c35 u32 count, count2; in clksrc_dbx500_prcmu_read() local
39 count2 = readl_relaxed(base + PRCMU_TIMER_DOWNCOUNT); in clksrc_dbx500_prcmu_read()
40 } while (count2 != count); in clksrc_dbx500_prcmu_read()
/linux-4.1.27/drivers/acpi/acpica/
Dnsprepkg.c63 u8 type2, u32 count2, u32 start_index);
146 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package()
167 count2, 0); in acpi_ns_check_package()
442 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
456 count2, 0); in acpi_ns_check_package_list()
468 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
632 u8 type2, u32 count2, u32 start_index) in acpi_ns_check_package_elements() argument
652 for (i = 0; i < count2; i++) { in acpi_ns_check_package_elements()
Daclocal.h333 u8 count2; member
/linux-4.1.27/drivers/rtc/
Drtc-snvs.c66 u32 count1, count2, count3; in rtc_write_sync_lp() local
73 count2 = readl(ioaddr + SNVS_LPSRTCLR); in rtc_write_sync_lp()
74 } while (count1 != count2); in rtc_write_sync_lp()
79 count2 = readl(ioaddr + SNVS_LPSRTCLR); in rtc_write_sync_lp()
81 } while (count2 != count3); in rtc_write_sync_lp()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dmodule.c118 int count2; in kportal_memhog_free() local
129 count2 = 0; in kportal_memhog_free()
131 while (count2 < PAGE_CACHE_SIZE/sizeof(struct page *) && in kportal_memhog_free()
137 count2++; in kportal_memhog_free()
162 int count2; in kportal_memhog_alloc() local
195 count2 = 0; in kportal_memhog_alloc()
199 count2 < PAGE_CACHE_SIZE/sizeof(struct page *)) { in kportal_memhog_alloc()
210 count2++; in kportal_memhog_alloc()
/linux-4.1.27/drivers/gpu/drm/savage/
Dsavage_state.c203 unsigned int count2 = 0; in savage_dispatch_state() local
218 count2 = count - (SAVAGE_SCEND_S3D + 1 - start); in savage_dispatch_state()
235 count2 = count - in savage_dispatch_state()
248 bci_size = count + (count + 254) / 255 + count2 + (count2 + 254) / 255; in savage_dispatch_state()
269 count = count2; in savage_dispatch_state()
270 count2 = 0; in savage_dispatch_state()
/linux-4.1.27/drivers/s390/crypto/
Dzcrypt_pcicc.h157 unsigned int count2; /* 0x00000000 */ member
Dzcrypt_msgtype6.c634 if (msg->fmt2.count2) in convert_type86_xcrb()
636 data + msg->fmt2.offset2, msg->fmt2.count2)) in convert_type86_xcrb()
638 xcRB->reply_data_length = msg->fmt2.count2; in convert_type86_xcrb()
682 memcpy(buffer, data + msg->fmt2.offset2, msg->fmt2.count2); in convert_type86_rng()
683 return msg->fmt2.count2; in convert_type86_rng()
847 length = t86r->fmt2.offset2 + t86r->fmt2.count2; in zcrypt_msgtype6_receive()
Dzcrypt_msgtype6.h111 unsigned int count2; /* 0x00000000 */ member
/linux-4.1.27/sound/drivers/
Daloop.c486 unsigned int running, count1, count2; in loopback_pos_update() local
518 count2 = bytepos_delta(dpcm_capt, delta_capt); 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()
522 } else if (count1 > count2) { in loopback_pos_update()
523 dpcm_play->last_drift = count1 - count2; in loopback_pos_update()
/linux-4.1.27/fs/ext4/
Dresize.c412 ext4_group_t count2; in set_flexbg_block_bitmap() local
415 for (count2 = count; count > 0; count -= count2, block += count2) { in set_flexbg_block_bitmap()
425 count2 = EXT4_BLOCKS_PER_GROUP(sb) - (block - start); in set_flexbg_block_bitmap()
426 if (count2 > count) in set_flexbg_block_bitmap()
427 count2 = count; in set_flexbg_block_bitmap()
447 block - start, count2); in set_flexbg_block_bitmap()
448 ext4_set_bits(bh->b_data, block - start, count2); in set_flexbg_block_bitmap()
Dmballoc.c2773 int err, count = 0, count2 = 0; in ext4_free_data_callback() local
2798 count2++; in ext4_free_data_callback()
2824 mb_debug(1, "freed %u blocks in %u structures\n", count, count2); in ext4_free_data_callback()
/linux-4.1.27/drivers/staging/comedi/drivers/
Djr3_pci.h522 u32 count2; /* offset 0x00e9 */ member
/linux-4.1.27/drivers/scsi/
Dmac_esp.c227 : "+a" (addr), "+r" (count32), "+r" (count2) \
247 unsigned int count2 = (esp_count & 0x1F) >> 1; in mac_esp_send_pdma_cmd() local
/linux-4.1.27/drivers/net/usb/
Dkaweth.c601 int count2 = urb->transfer_buffer_length; in kaweth_usb_receive() local
653 dev_err(&kaweth->intf->dev, "Count 2: %x\n", count2); in kaweth_usb_receive()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_pm.c5173 u32 count1, count2, count3, m = 0, c = 0; in __i915_chipset_val() local
5190 count2 = I915_READ(DDREC); in __i915_chipset_val()
5193 total_count = count1 + count2 + count3; in __i915_chipset_val()