/linux/arch/arm/mach-rpc/ |
H A D | time.c | 31 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()
|
/linux/tools/perf/tests/ |
H A D | bp_signal.c | 168 long long count1, count2, count3; in test__bp_signal() local 209 * sig_handler - fd2 event breakpoint hit -> count2 == 1 in test__bp_signal() 217 * sig_handler - fd2 event breakpoint hit -> count2 == 2 in test__bp_signal() 225 * sig_handler - fd2 event breakpoint hit -> count2 == 3 in test__bp_signal() 261 count2 = bp_count(fd2); in test__bp_signal() 268 pr_debug("count1 %lld, count2 %lld, count3 %lld, overflow %d, overflows_2 %d\n", in test__bp_signal() 269 count1, count2, count3, overflows, overflows_2); in test__bp_signal() 284 if (count2 != 3) in test__bp_signal() 285 pr_debug("failed: wrong count for bp2 (%lld), expected 3\n", count2); in test__bp_signal() 290 return count1 == 1 && overflows == 3 && count2 == 3 && overflows_2 == 3 && count3 == 2 ? in test__bp_signal()
|
/linux/fs/afs/ |
H A D | vlclient.c | 209 call->count2 = nentries; in afs_deliver_vl_get_addrs_u() 226 if (alist->nr_addrs < call->count2) { in afs_deliver_vl_get_addrs_u() 338 call->count2 = count; in afs_deliver_vl_get_capabilities() 439 call->unmarshall, iov_iter_count(call->iter), call->count2); in afs_deliver_yfsvl_get_endpoints() 458 call->count2 = ntohl(*bp); /* Type or next count */ in afs_deliver_yfsvl_get_endpoints() 473 switch (call->count2) { in afs_deliver_yfsvl_get_endpoints() 496 switch (call->count2) { in afs_deliver_yfsvl_get_endpoints() 522 call->count2 = ntohl(*bp++); in afs_deliver_yfsvl_get_endpoints() 530 call->count = call->count2; in afs_deliver_yfsvl_get_endpoints() 552 call->count2 = ntohl(*bp++); in afs_deliver_yfsvl_get_endpoints() [all …]
|
H A D | cmservice.c | 299 call->count2 = ntohl(call->tmp); in afs_deliver_cb_callback() 300 _debug("CB count: %u", call->count2); in afs_deliver_cb_callback() 301 if (call->count2 != call->count && call->count2 != 0) in afs_deliver_cb_callback() 304 iov_iter_discard(&call->def_iter, ITER_DEST, call->count2 * 3 * 4); in afs_deliver_cb_callback() 310 iov_iter_count(call->iter), call->count2 * 3 * 4); in afs_deliver_cb_callback()
|
H A D | yfsclient.c | 1798 size = call->count2 = ntohl(call->tmp); in yfs_deliver_fs_fetch_opaque_acl() 1806 acl->size = call->count2; in yfs_deliver_fs_fetch_opaque_acl() 1830 size = call->count2 = ntohl(call->tmp); in yfs_deliver_fs_fetch_opaque_acl() 1838 acl->size = call->count2; in yfs_deliver_fs_fetch_opaque_acl()
|
H A D | fsclient.c | 1690 call->count2 = count; in afs_deliver_fs_get_capabilities() 2010 size = call->count2 = ntohl(call->tmp); in afs_deliver_fs_fetch_acl() 2017 acl->size = call->count2; in afs_deliver_fs_fetch_acl()
|
H A D | internal.h | 170 unsigned count2; /* count used in unmarshalling */ member
|
/linux/drivers/clocksource/ |
H A D | clksrc-dbx500-prcmu.c | 33 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/drivers/acpi/acpica/ |
H A D | nsprepkg.c | 29 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() argument 728 for (i = 0; i < count2; i++) { in acpi_ns_check_package_elements()
|
H A D | aclocal.h | 319 u8 count2; member
|
/linux/drivers/rtc/ |
H A D | rtc-snvs.c | 90 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()
|
/linux/drivers/s390/crypto/ |
H A D | zcrypt_msgtype6.c | 641 if (msg->fmt2.count2) { in convert_type86_xcrb() 642 if (xcrb->reply_data_length < msg->fmt2.count2) { in convert_type86_xcrb() 644 xcrb->reply_data_length, msg->fmt2.count2); in convert_type86_xcrb() 648 data + msg->fmt2.offset2, msg->fmt2.count2)) in convert_type86_xcrb() 651 xcrb->reply_data_length = msg->fmt2.count2; in convert_type86_xcrb() 699 memcpy(buffer, data + msg->fmt2.offset2, msg->fmt2.count2); in convert_type86_rng() 700 return msg->fmt2.count2; in convert_type86_rng() 882 if (t86r->fmt2.count2) in zcrypt_msgtype6_receive() 883 len = t86r->fmt2.offset2 + t86r->fmt2.count2; in zcrypt_msgtype6_receive()
|
H A D | zcrypt_msgtype6.h | 89 unsigned int count2; /* 0x00000000 */ member
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | port_scale.sh | 34 # '$netdev1 $count1 $netdev2 $count2...', when:
|
/linux/drivers/watchdog/ |
H A D | wd501p.h | 30 #define WDT_CLOCK (io+12) /* COUNT2: rd=16.67MHz, wr=2.0833MHz */
|
/linux/fs/bcachefs/ |
H A D | fsck.c | 1507 s64 count2; in check_i_sectors_notnested() local 1513 count2 = bch2_count_inode_sectors(trans, w->last_pos.inode, i->snapshot); in check_i_sectors_notnested() 1516 i->count = count2; in check_i_sectors_notnested() 1518 if (i->count != count2) { in check_i_sectors_notnested() 1520 w->last_pos.inode, i->snapshot, i->count, count2); in check_i_sectors_notnested() 1521 i->count = count2; in check_i_sectors_notnested() 1948 s64 count2; in check_subdir_count_notnested() local 1954 count2 = bch2_count_subdirs(trans, w->last_pos.inode, i->snapshot); in check_subdir_count_notnested() 1955 if (count2 < 0) in check_subdir_count_notnested() 1956 return count2; in check_subdir_count_notnested() [all …]
|
/linux/sound/drivers/ |
H A D | aloop.c | 653 unsigned int running, count1, count2; in loopback_jiffies_timer_pos_update() local 686 count2 = bytepos_delta(dpcm_capt, delta_capt); in loopback_jiffies_timer_pos_update() 687 if (count1 < count2) { in loopback_jiffies_timer_pos_update() 688 dpcm_capt->last_drift = count2 - count1; in loopback_jiffies_timer_pos_update() 689 count1 = count2; in loopback_jiffies_timer_pos_update() 690 } else if (count1 > count2) { in loopback_jiffies_timer_pos_update() 691 dpcm_play->last_drift = count1 - count2; in loopback_jiffies_timer_pos_update()
|
/linux/include/uapi/linux/ |
H A D | counter.h | 42 * the respective /sys/bus/counter/devices/counter4/count2/ceiling_component_id
|
/linux/fs/ext4/ |
H A D | resize.c | 466 ext4_group_t count2; in set_flexbg_block_bitmap() local 470 for (; count > 0; 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() 505 first_cluster, first_cluster - start, count2); in set_flexbg_block_bitmap() 506 mb_set_bits(bh->b_data, first_cluster - start, count2); in set_flexbg_block_bitmap()
|
/linux/kernel/events/ |
H A D | hw_breakpoint.c | 270 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()
|
/linux/Documentation/devicetree/bindings/timer/ |
H A D | renesas,rz-mtu3.yaml | 85 count2 - MTU1+ MTU2 32-bit phase counting
|
/linux/drivers/net/usb/ |
H A D | kaweth.c | 502 int count2 = urb->transfer_buffer_length; in kaweth_usb_receive() local 554 dev_err(&kaweth->intf->dev, "Count 2: %x\n", count2); in kaweth_usb_receive()
|
/linux/drivers/comedi/drivers/ |
H A D | jr3_pci.h | 564 u32 count2; /* offset 0x00e9 */ member
|