Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/mach-rpc/
Dtime.c31 unsigned int count1, count2, status; in ioc_timer_read() local
44 count2 = ioc_readb(IOC_T0CNTL) | (ioc_readb(IOC_T0CNTH) << 8); in ioc_timer_read()
45 ticks = ioc_time + RPC_LATCH - count2; in ioc_timer_read()
48 if (count2 < count1) { in ioc_timer_read()
55 } else if (count2 > count1) { in ioc_timer_read()
/Linux-v5.4/drivers/clocksource/
Dclksrc-dbx500-prcmu.c33 u32 count, count2; in clksrc_dbx500_prcmu_read() local
37 count2 = readl_relaxed(base + PRCMU_TIMER_DOWNCOUNT); in clksrc_dbx500_prcmu_read()
38 } while (count2 != count); in clksrc_dbx500_prcmu_read()
/Linux-v5.4/tools/perf/tests/
Dbp_signal.c172 long long count1, count2, count3; in test__bp_signal() local
260 count2 = bp_count(fd2); in test__bp_signal()
268 count1, count2, count3, overflows, overflows_2); in test__bp_signal()
283 if (count2 != 3) in test__bp_signal()
289 return count1 == 1 && overflows == 3 && count2 == 3 && overflows_2 == 3 && count3 == 2 ? in test__bp_signal()
/Linux-v5.4/fs/afs/
Dvlclient.c216 call->count2 = nentries; in afs_deliver_vl_get_addrs_u()
233 if (alist->nr_addrs < call->count2) in afs_deliver_vl_get_addrs_u()
334 call->count2 = count; in afs_deliver_vl_get_capabilities()
428 call->unmarshall, iov_iter_count(call->_iter), call->count2); in afs_deliver_yfsvl_get_endpoints()
447 call->count2 = ntohl(*bp); /* Type or next count */ in afs_deliver_yfsvl_get_endpoints()
463 switch (call->count2) { in afs_deliver_yfsvl_get_endpoints()
487 switch (call->count2) { in afs_deliver_yfsvl_get_endpoints()
510 call->count2 = ntohl(*bp++); in afs_deliver_yfsvl_get_endpoints()
518 call->count = call->count2; in afs_deliver_yfsvl_get_endpoints()
541 call->count2 = ntohl(*bp++); in afs_deliver_yfsvl_get_endpoints()
[all …]
Dcmservice.c340 call->count2 = ntohl(call->tmp); in afs_deliver_cb_callback()
341 _debug("CB count: %u", call->count2); in afs_deliver_cb_callback()
342 if (call->count2 != call->count && call->count2 != 0) in afs_deliver_cb_callback()
346 iov_iter_discard(&call->iter, READ, call->count2 * 3 * 4); in afs_deliver_cb_callback()
352 iov_iter_count(&call->iter), call->count2 * 3 * 4); in afs_deliver_cb_callback()
Dyfsclient.c1828 _debug("status count: %u/%u", tmp, call->count2); in yfs_deliver_fs_inline_bulk_status()
1829 if (tmp != call->count2) in yfs_deliver_fs_inline_bulk_status()
1852 if (call->count < call->count2) in yfs_deliver_fs_inline_bulk_status()
1869 if (tmp != call->count2) in yfs_deliver_fs_inline_bulk_status()
1889 if (call->count < call->count2) in yfs_deliver_fs_inline_bulk_status()
1956 call->count2 = nr_fids; in yfs_fs_inline_bulk_status()
1999 size = call->count2 = ntohl(call->tmp); in yfs_deliver_fs_fetch_opaque_acl()
2007 acl->size = call->count2; in yfs_deliver_fs_fetch_opaque_acl()
2031 size = call->count2 = ntohl(call->tmp); in yfs_deliver_fs_fetch_opaque_acl()
2039 acl->size = call->count2; in yfs_deliver_fs_fetch_opaque_acl()
Dfsclient.c1872 call->count2 = count; in afs_deliver_fs_get_capabilities()
2043 _debug("status count: %u/%u", tmp, call->count2); in afs_deliver_fs_inline_bulk_status()
2044 if (tmp != call->count2) in afs_deliver_fs_inline_bulk_status()
2067 if (call->count < call->count2) in afs_deliver_fs_inline_bulk_status()
2084 if (tmp != call->count2) in afs_deliver_fs_inline_bulk_status()
2104 if (call->count < call->count2) in afs_deliver_fs_inline_bulk_status()
2171 call->count2 = nr_fids; in afs_fs_inline_bulk_status()
2214 size = call->count2 = ntohl(call->tmp); in afs_deliver_fs_fetch_acl()
2221 acl->size = call->count2; in afs_deliver_fs_fetch_acl()
Dinternal.h153 unsigned count2; /* count used in unmarshalling */ member
/Linux-v5.4/drivers/acpi/acpica/
Dnsprepkg.c29 u8 type2, u32 count2, u32 start_index);
121 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package()
142 count2, 0); in acpi_ns_check_package()
428 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
442 count2, 0); in acpi_ns_check_package_list()
454 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list()
705 u8 type2, u32 count2, u32 start_index) in acpi_ns_check_package_elements() argument
726 for (i = 0; i < count2; i++) { in acpi_ns_check_package_elements()
Daclocal.h319 u8 count2; member
/Linux-v5.4/drivers/rtc/
Drtc-snvs.c81 u32 count1, count2; in rtc_read_lp_counter_lsb() local
86 count2 = count1; in rtc_read_lp_counter_lsb()
88 } while (count1 != count2 && --timeout); in rtc_read_lp_counter_lsb()
100 u32 count1, count2; in rtc_write_sync_lp() local
111 ret = rtc_read_lp_counter_lsb(data, &count2); in rtc_write_sync_lp()
114 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
/Linux-v5.4/drivers/gpu/drm/savage/
Dsavage_state.c210 unsigned int count2 = 0; in savage_dispatch_state() local
225 count2 = count - (SAVAGE_SCEND_S3D + 1 - start); in savage_dispatch_state()
242 count2 = count - in savage_dispatch_state()
255 bci_size = count + (count + 254) / 255 + count2 + (count2 + 254) / 255; in savage_dispatch_state()
276 count = count2; in savage_dispatch_state()
277 count2 = 0; in savage_dispatch_state()
/Linux-v5.4/drivers/s390/crypto/
Dzcrypt_msgtype6.c726 if (msg->fmt2.count2) in convert_type86_xcrb()
728 data + msg->fmt2.offset2, msg->fmt2.count2)) in convert_type86_xcrb()
730 xcRB->reply_data_length = msg->fmt2.count2; in convert_type86_xcrb()
774 memcpy(buffer, data + msg->fmt2.offset2, msg->fmt2.count2); in convert_type86_rng()
775 return msg->fmt2.count2; in convert_type86_rng()
947 length = t86r->fmt2.offset2 + t86r->fmt2.count2; in zcrypt_msgtype6_receive()
Dzcrypt_msgtype6.h91 unsigned int count2; /* 0x00000000 */ member
/Linux-v5.4/sound/drivers/
Daloop.c467 unsigned int running, count1, count2; in loopback_pos_update() local
499 count2 = bytepos_delta(dpcm_capt, delta_capt); in loopback_pos_update()
500 if (count1 < count2) { in loopback_pos_update()
501 dpcm_capt->last_drift = count2 - count1; in loopback_pos_update()
502 count1 = count2; in loopback_pos_update()
503 } else if (count1 > count2) { in loopback_pos_update()
504 dpcm_play->last_drift = count1 - count2; in loopback_pos_update()
/Linux-v5.4/drivers/scsi/
Dmac_esp.c194 : "+a" (addr), "+r" (count32), "+r" (count2) \
214 unsigned int count2 = (esp_count & 0x1F) >> 1; in mac_esp_send_pdma_cmd() local
/Linux-v5.4/fs/ext4/
Dresize.c430 ext4_group_t count2; in set_flexbg_block_bitmap() local
434 for (count2 = count; count > 0; in set_flexbg_block_bitmap()
435 count -= count2, first_cluster += count2) { in set_flexbg_block_bitmap()
445 count2 = EXT4_CLUSTERS_PER_GROUP(sb) - (first_cluster - start); in set_flexbg_block_bitmap()
446 if (count2 > count) in set_flexbg_block_bitmap()
447 count2 = count; in set_flexbg_block_bitmap()
469 first_cluster, first_cluster - start, count2); in set_flexbg_block_bitmap()
470 ext4_set_bits(bh->b_data, first_cluster - start, count2); in set_flexbg_block_bitmap()
Dmballoc.c2783 int err, count = 0, count2 = 0; in ext4_free_data_in_buddy() local
2799 count2++; in ext4_free_data_in_buddy()
2825 mb_debug(1, "freed %u blocks in %u structures\n", count, count2); in ext4_free_data_in_buddy()
/Linux-v5.4/drivers/staging/comedi/drivers/
Djr3_pci.h564 u32 count2; /* offset 0x00e9 */ member
/Linux-v5.4/drivers/net/usb/
Dkaweth.c580 int count2 = urb->transfer_buffer_length; in kaweth_usb_receive() local
632 dev_err(&kaweth->intf->dev, "Count 2: %x\n", count2); in kaweth_usb_receive()
/Linux-v5.4/drivers/gpu/drm/i915/
Dintel_pm.c8108 u32 count1, count2, count3, m = 0, c = 0; in __i915_chipset_val() local
8125 count2 = I915_READ(DDREC); in __i915_chipset_val()
8128 total_count = count1 + count2 + count3; in __i915_chipset_val()