Home
last modified time | relevance | path

Searched refs:count2 (Results 1 - 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/arch/arm/mach-rpc/
H A 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()
51 * count2, check whether an interrupt was actually pending. in ioc_timer_read()
55 } else if (count2 > count1) { in ioc_timer_read()
57 * The timer has reloaded, so count2 indicates the new in ioc_timer_read()
/kernel/linux/linux-6.6/arch/arm/mach-rpc/
H A 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()
51 * count2, check whether an interrupt was actually pending. in ioc_timer_read()
55 } else if (count2 > count1) { in ioc_timer_read()
57 * The timer has reloaded, so count2 indicates the new in ioc_timer_read()
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dbp_signal.c167 long long count1, count2, count3; in test__bp_signal() local
203 * sig_handler - fd2 event breakpoint hit -> count2 == 1 in test__bp_signal()
211 * sig_handler - fd2 event breakpoint hit -> count2 == 2 in test__bp_signal()
219 * sig_handler - fd2 event breakpoint hit -> count2 == 3 in test__bp_signal()
255 count2 = bp_count(fd2); in test__bp_signal()
262 pr_debug("count1 %lld, count2 %lld, count3 %lld, overflow %d, overflows_2 %d\n", in test__bp_signal()
263 count1, count2, count3, overflows, overflows_2); in test__bp_signal()
278 if (count2 != 3) in test__bp_signal()
279 pr_debug("failed: wrong count for bp2 (%lld), expected 3\n", count2); in test__bp_signal()
284 return count1 == 1 && overflows == 3 && count2 in test__bp_signal()
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dbp_signal.c167 long long count1, count2, count3; in test__bp_signal() local
208 * sig_handler - fd2 event breakpoint hit -> count2 == 1 in test__bp_signal()
216 * sig_handler - fd2 event breakpoint hit -> count2 == 2 in test__bp_signal()
224 * sig_handler - fd2 event breakpoint hit -> count2 == 3 in test__bp_signal()
260 count2 = bp_count(fd2); in test__bp_signal()
267 pr_debug("count1 %lld, count2 %lld, count3 %lld, overflow %d, overflows_2 %d\n", in test__bp_signal()
268 count1, count2, count3, overflows, overflows_2); in test__bp_signal()
283 if (count2 != 3) in test__bp_signal()
284 pr_debug("failed: wrong count for bp2 (%lld), expected 3\n", count2); in test__bp_signal()
289 return count1 == 1 && overflows == 3 && count2 in test__bp_signal()
[all...]
/kernel/linux/linux-5.10/fs/afs/
H A Dvlclient.c217 call->count2 = nentries; in afs_deliver_vl_get_addrs_u()
234 if (alist->nr_addrs < call->count2) in afs_deliver_vl_get_addrs_u()
335 call->count2 = count; in afs_deliver_vl_get_capabilities()
429 call->unmarshall, iov_iter_count(call->iter), call->count2); in afs_deliver_yfsvl_get_endpoints()
448 call->count2 = ntohl(*bp); /* Type or next count */ in afs_deliver_yfsvl_get_endpoints()
463 switch (call->count2) { in afs_deliver_yfsvl_get_endpoints()
486 switch (call->count2) { in afs_deliver_yfsvl_get_endpoints()
508 call->count2 = ntohl(*bp++); in afs_deliver_yfsvl_get_endpoints()
516 call->count = call->count2; in afs_deliver_yfsvl_get_endpoints()
538 call->count2 in afs_deliver_yfsvl_get_endpoints()
[all...]
H A Dcmservice.c296 call->count2 = ntohl(call->tmp); in afs_deliver_cb_callback()
297 _debug("CB count: %u", call->count2); in afs_deliver_cb_callback()
298 if (call->count2 != call->count && call->count2 != 0) in afs_deliver_cb_callback()
301 iov_iter_discard(&call->def_iter, READ, call->count2 * 3 * 4); in afs_deliver_cb_callback()
307 iov_iter_count(call->iter), call->count2 * 3 * 4); in afs_deliver_cb_callback()
/kernel/linux/linux-6.6/fs/afs/
H A Dvlclient.c217 call->count2 = nentries; in afs_deliver_vl_get_addrs_u()
234 if (alist->nr_addrs < call->count2) in afs_deliver_vl_get_addrs_u()
335 call->count2 = count; in afs_deliver_vl_get_capabilities()
429 call->unmarshall, iov_iter_count(call->iter), call->count2); in afs_deliver_yfsvl_get_endpoints()
448 call->count2 = ntohl(*bp); /* Type or next count */ in afs_deliver_yfsvl_get_endpoints()
463 switch (call->count2) { in afs_deliver_yfsvl_get_endpoints()
486 switch (call->count2) { in afs_deliver_yfsvl_get_endpoints()
508 call->count2 = ntohl(*bp++); in afs_deliver_yfsvl_get_endpoints()
516 call->count = call->count2; in afs_deliver_yfsvl_get_endpoints()
538 call->count2 in afs_deliver_yfsvl_get_endpoints()
[all...]
H A Dcmservice.c298 call->count2 = ntohl(call->tmp); in afs_deliver_cb_callback()
299 _debug("CB count: %u", call->count2); in afs_deliver_cb_callback()
300 if (call->count2 != call->count && call->count2 != 0) in afs_deliver_cb_callback()
303 iov_iter_discard(&call->def_iter, ITER_DEST, call->count2 * 3 * 4); in afs_deliver_cb_callback()
309 iov_iter_count(call->iter), call->count2 * 3 * 4); in afs_deliver_cb_callback()
/kernel/linux/linux-5.10/drivers/clocksource/
H A 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()
/kernel/linux/linux-6.6/drivers/clocksource/
H A 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()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A 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()
690 * count2 - Count for second group
705 u8 type2, u32 count2, u32 start_index) in acpi_ns_check_package_elements()
726 for (i = 0; i < count2; i++) { in acpi_ns_check_package_elements()
701 acpi_ns_check_package_elements(struct acpi_evaluate_info *info, union acpi_operand_object **elements, u8 type1, u32 count1, u8 type2, u32 count2, u32 start_index) acpi_ns_check_package_elements() argument
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A 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()
690 * count2 - Count for second group
705 u8 type2, u32 count2, u32 start_index) in acpi_ns_check_package_elements()
728 for (i = 0; i < count2; i++) { in acpi_ns_check_package_elements()
701 acpi_ns_check_package_elements(struct acpi_evaluate_info *info, union acpi_operand_object **elements, u8 type1, u32 count1, u8 type2, u32 count2, u32 start_index) acpi_ns_check_package_elements() argument
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-snvs.c90 u32 count1, count2; in rtc_read_lp_counter_lsb() local
96 count2 = count1; in rtc_read_lp_counter_lsb()
98 diff = count1 - count2; in rtc_read_lp_counter_lsb()
111 u32 count1, count2; in rtc_write_sync_lp() local
122 ret = rtc_read_lp_counter_lsb(data, &count2); in rtc_write_sync_lp()
125 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-snvs.c90 u32 count1, count2; in rtc_read_lp_counter_lsb() local
96 count2 = count1; in rtc_read_lp_counter_lsb()
98 diff = count1 - count2; in rtc_read_lp_counter_lsb()
111 u32 count1, count2; in rtc_write_sync_lp() local
122 ret = rtc_read_lp_counter_lsb(data, &count2); in rtc_write_sync_lp()
125 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
/kernel/linux/linux-6.6/drivers/s390/crypto/
H A Dzcrypt_msgtype6.c643 if (msg->fmt2.count2) { in convert_type86_xcrb()
644 if (xcrb->reply_data_length < msg->fmt2.count2) { in convert_type86_xcrb()
647 msg->fmt2.count2); in convert_type86_xcrb()
651 data + msg->fmt2.offset2, msg->fmt2.count2)) in convert_type86_xcrb()
654 xcrb->reply_data_length = msg->fmt2.count2; in convert_type86_xcrb()
703 memcpy(buffer, data + msg->fmt2.offset2, msg->fmt2.count2); in convert_type86_rng()
704 return msg->fmt2.count2; in convert_type86_rng()
886 if (t86r->fmt2.count2) in zcrypt_msgtype6_receive()
887 len = t86r->fmt2.offset2 + t86r->fmt2.count2; in zcrypt_msgtype6_receive()
H A Dzcrypt_msgtype6.h89 unsigned int count2; /* 0x00000000 */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/savage/
H A 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()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dmac_esp.c194 : "+a" (addr), "+r" (count32), "+r" (count2) \
214 unsigned int count2 = (esp_count & 0x1F) >> 1; in mac_esp_send_pdma_cmd() local
/kernel/linux/linux-6.6/drivers/scsi/
H A Dmac_esp.c194 : "+a" (addr), "+r" (count32), "+r" (count2) \
214 unsigned int count2 = (esp_count & 0x1F) >> 1; in mac_esp_send_pdma_cmd() local
/kernel/linux/linux-5.10/drivers/s390/crypto/
H A Dzcrypt_msgtype6.c733 if (msg->fmt2.count2) in convert_type86_xcrb()
735 data + msg->fmt2.offset2, msg->fmt2.count2)) in convert_type86_xcrb()
737 xcRB->reply_data_length = msg->fmt2.count2; in convert_type86_xcrb()
781 memcpy(buffer, data + msg->fmt2.offset2, msg->fmt2.count2); in convert_type86_rng()
782 return msg->fmt2.count2; in convert_type86_rng()
954 len = t86r->fmt2.offset2 + t86r->fmt2.count2; in zcrypt_msgtype6_receive()
H A Dzcrypt_msgtype6.h91 unsigned int count2; /* 0x00000000 */ member
/kernel/linux/linux-5.10/fs/ext4/
H A Dresize.c465 ext4_group_t count2; in set_flexbg_block_bitmap() local
469 for (count2 = count; count > 0; in set_flexbg_block_bitmap()
470 count -= count2, first_cluster += count2) { in set_flexbg_block_bitmap()
480 count2 = EXT4_CLUSTERS_PER_GROUP(sb) - (first_cluster - start); in set_flexbg_block_bitmap()
481 if (count2 > count) in set_flexbg_block_bitmap()
482 count2 = count; in set_flexbg_block_bitmap()
504 first_cluster, first_cluster - start, count2); in set_flexbg_block_bitmap()
505 ext4_set_bits(bh->b_data, first_cluster - start, count2); in set_flexbg_block_bitmap()
/kernel/linux/linux-6.6/fs/ext4/
H A Dresize.c467 ext4_group_t count2; in set_flexbg_block_bitmap() local
471 for (count2 = count; count > 0; in set_flexbg_block_bitmap()
472 count -= count2, first_cluster += count2) { in set_flexbg_block_bitmap()
482 count2 = EXT4_CLUSTERS_PER_GROUP(sb) - (first_cluster - start); in set_flexbg_block_bitmap()
483 if (count2 > count) in set_flexbg_block_bitmap()
484 count2 = count; in set_flexbg_block_bitmap()
507 first_cluster, first_cluster - start, count2); in set_flexbg_block_bitmap()
508 mb_set_bits(bh->b_data, first_cluster - start, count2); in set_flexbg_block_bitmap()
/kernel/linux/linux-6.6/kernel/events/
H A Dhw_breakpoint.c270 const int count2 = atomic_read(&hist2->count[i]); in bp_slots_histogram_max_merge() local
275 if (count1 + count2 > 0) in bp_slots_histogram_max_merge()
278 WARN(count2 < 0, "inconsistent breakpoint slots histogram"); in bp_slots_histogram_max_merge()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Djr3_pci.h564 u32 count2; /* offset 0x00e9 */ member

Completed in 34 milliseconds

12