/Linux-v6.1/sound/core/ |
D | rawmidi.c | 1118 int result = 0, count1; in snd_rawmidi_receive() local 1148 count1 = runtime->buffer_size - runtime->hw_ptr; in snd_rawmidi_receive() 1149 if (count1 > count) in snd_rawmidi_receive() 1150 count1 = count; in snd_rawmidi_receive() 1151 if (count1 > (int)(runtime->buffer_size - runtime->avail)) in snd_rawmidi_receive() 1152 count1 = runtime->buffer_size - runtime->avail; in snd_rawmidi_receive() 1153 memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1); in snd_rawmidi_receive() 1154 runtime->hw_ptr += count1; in snd_rawmidi_receive() 1156 runtime->avail += count1; in snd_rawmidi_receive() 1157 count -= count1; in snd_rawmidi_receive() [all …]
|
/Linux-v6.1/drivers/acpi/acpica/ |
D | nsprepkg.c | 28 u32 count1, 121 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package() 138 count1, in acpi_ns_check_package() 428 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list() 438 count1, in acpi_ns_check_package_list() 454 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package_list() 464 count1, in acpi_ns_check_package_list() 470 count1, 0); in acpi_ns_check_package_list() 511 expected_count = package->ret_info.count1; in acpi_ns_check_package_list() 551 package->ret_info.count1) { in acpi_ns_check_package_list() [all …]
|
D | aclocal.h | 317 u8 count1; member 345 u8 count1; member
|
D | dbnames.c | 435 package->ret_info.count1); in acpi_db_walk_for_predefined_names()
|
/Linux-v6.1/tools/perf/tests/ |
D | bp_signal.c | 167 long long count1, count2, count3; in test__bp_signal() local 259 count1 = bp_count(fd1); in test__bp_signal() 268 count1, count2, count3, overflows, overflows_2); in test__bp_signal() 270 if (count1 != 1) { in test__bp_signal() 271 if (count1 == 11) in test__bp_signal() 274 pr_debug("failed: wrong count for bp1: %lld, expected 1\n", count1); in test__bp_signal() 289 return count1 == 1 && overflows == 3 && count2 == 3 && overflows_2 == 3 && count3 == 2 ? in test__bp_signal()
|
/Linux-v6.1/arch/arm/mach-rpc/ |
D | time.c | 31 unsigned int count1, count2, status; in ioc_timer_read() local 38 count1 = ioc_readb(IOC_T0CNTL) | (ioc_readb(IOC_T0CNTH) << 8); in ioc_timer_read() 48 if (count2 < count1) { in ioc_timer_read() 55 } else if (count2 > count1) { in ioc_timer_read()
|
/Linux-v6.1/drivers/rtc/ |
D | rtc-snvs.c | 80 u32 count1, count2; in rtc_read_lp_counter_lsb() local 83 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb() 85 count2 = count1; in rtc_read_lp_counter_lsb() 86 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb() 87 } while (count1 != count2 && --timeout); in rtc_read_lp_counter_lsb() 93 *lsb = count1; in rtc_read_lp_counter_lsb() 99 u32 count1, count2; in rtc_write_sync_lp() local 104 ret = rtc_read_lp_counter_lsb(data, &count1); in rtc_write_sync_lp() 113 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
|
/Linux-v6.1/sound/firewire/ |
D | isight.c | 112 unsigned int count1; in isight_samples() local 122 count1 = runtime->buffer_size - isight->buffer_pointer; in isight_samples() 124 samples, count1 * 4); in isight_samples() 125 samples += count1 * 2; in isight_samples() 126 memcpy(runtime->dma_area, samples, (count - count1) * 4); in isight_samples() 142 unsigned int count1; in isight_dropped_samples() local 154 count1 = runtime->buffer_size - isight->buffer_pointer; in isight_dropped_samples() 156 0, count1 * 4); in isight_dropped_samples() 157 memset(runtime->dma_area, 0, (dropped - count1) * 4); in isight_dropped_samples()
|
/Linux-v6.1/drivers/net/hamradio/ |
D | 6pack.c | 434 int count1; in sixpack_receive_buf() local 444 count1 = count; in sixpack_receive_buf() 453 sixpack_decode(sp, cp, count1); in sixpack_receive_buf() 954 int count1; in sixpack_decode() local 956 for (count1 = 0; count1 < count; count1++) { in sixpack_decode() 957 inbyte = pre_rbuff[count1]; in sixpack_decode()
|
/Linux-v6.1/sound/drivers/ |
D | aloop.c | 609 unsigned int running, count1, count2; in loopback_jiffies_timer_pos_update() local 627 count1 = bytepos_delta(dpcm_play, delta_play - delta_capt); in loopback_jiffies_timer_pos_update() 628 bytepos_finish(dpcm_play, count1); in loopback_jiffies_timer_pos_update() 631 count1 = bytepos_delta(dpcm_capt, delta_capt - delta_play); in loopback_jiffies_timer_pos_update() 632 clear_capture_buf(dpcm_capt, count1); in loopback_jiffies_timer_pos_update() 633 bytepos_finish(dpcm_capt, count1); in loopback_jiffies_timer_pos_update() 641 count1 = bytepos_delta(dpcm_play, delta_play); in loopback_jiffies_timer_pos_update() 643 if (count1 < count2) { in loopback_jiffies_timer_pos_update() 644 dpcm_capt->last_drift = count2 - count1; in loopback_jiffies_timer_pos_update() 645 count1 = count2; in loopback_jiffies_timer_pos_update() [all …]
|
/Linux-v6.1/drivers/s390/crypto/ |
D | zcrypt_msgtype6.c | 697 if (xcrb->reply_control_blk_length < msg->fmt2.count1) { in convert_type86_xcrb() 700 msg->fmt2.count1); in convert_type86_xcrb() 704 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_xcrb() 706 xcrb->reply_control_blk_length = msg->fmt2.count1; in convert_type86_xcrb() 741 if (xcrb->resp_len < msg->fmt2.count1) { in convert_type86_ep11_xcrb() 744 msg->fmt2.count1); in convert_type86_ep11_xcrb() 750 data + msg->fmt2.offset1, msg->fmt2.count1)) in convert_type86_ep11_xcrb() 752 xcrb->resp_len = msg->fmt2.count1; in convert_type86_ep11_xcrb() 998 len = t86r->fmt2.offset1 + t86r->fmt2.count1; in zcrypt_msgtype6_receive_ep11()
|
D | zcrypt_msgtype6.h | 87 unsigned int count1; /* length of CPRB + parameters */ member
|
/Linux-v6.1/drivers/video/fbdev/ |
D | pmagb-b-fb.c | 190 u32 count0 = 8, count1 = 8, counttc = 16 * 256 + 8; in pmagbbfb_osc_setup() local 217 count1 += sfb_read(par, SFB_REG_VIDCLK_COUNT); in pmagbbfb_osc_setup() 226 freq1 = (par->osc0 * count1 + count0 / 2) / count0; in pmagbbfb_osc_setup()
|
/Linux-v6.1/arch/ia64/mm/ |
D | tlb.c | 290 unsigned long i, j, flags, count0, count1, stride0, stride1, addr; in local_flush_tlb_all() local 294 count1 = local_cpu_data->ptce_count[1]; in local_flush_tlb_all() 300 for (j = 0; j < count1; ++j) { in local_flush_tlb_all()
|
/Linux-v6.1/lib/crypto/ |
D | curve25519-hacl64.c | 275 u32 count1) in fsquare_fsquare_times_() argument 279 for (i = 1; i < count1; ++i) in fsquare_fsquare_times_() 284 u32 count1) in fsquare_fsquare_times() argument 288 fsquare_fsquare_times_(output, t, count1); in fsquare_fsquare_times() 292 u32 count1) in fsquare_fsquare_times_inplace() argument 295 fsquare_fsquare_times_(output, t, count1); in fsquare_fsquare_times_inplace()
|
/Linux-v6.1/drivers/scsi/ |
D | mac_esp.c | 195 : "g" (count1), "a" (mep->pdma_io)) 215 unsigned int count1 = esp_count & 1; in mac_esp_send_pdma_cmd() local
|
/Linux-v6.1/drivers/memory/tegra/ |
D | tegra20.c | 450 u32 clocks, count0, count1, control_0, control_1; in tegra20_mc_stat_gather() local 470 count1 = mc_readl(mc, MC_STAT_EMC_COUNT_1); in tegra20_mc_stat_gather() 475 stat->gather1.result = DIV_ROUND_UP(count1, clocks); in tegra20_mc_stat_gather()
|
/Linux-v6.1/kernel/events/ |
D | hw_breakpoint.c | 269 const int count1 = atomic_read(&hist1->count[i]); in bp_slots_histogram_max_merge() local 275 if (count1 + count2 > 0) in bp_slots_histogram_max_merge() 277 WARN(count1 < 0, "inconsistent breakpoint slots histogram"); in bp_slots_histogram_max_merge()
|
/Linux-v6.1/drivers/comedi/drivers/ |
D | jr3_pci.h | 563 u32 count1; /* offset 0x00e8 */ member
|
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | soc15.c | 744 uint64_t *count1) in soc15_get_pcie_usage() argument 787 *count1 = RREG32_PCIE(smnPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32); in soc15_get_pcie_usage() 791 uint64_t *count1) in vega20_get_pcie_usage() argument 836 *count1 = RREG32_PCIE(smnPCIE_PERF_COUNT1_TXCLK3) | (cnt1_of << 32); in vega20_get_pcie_usage()
|
D | cik.c | 1917 uint64_t *count1) in cik_get_pcie_usage() argument 1959 *count1 = RREG32_PCIE(ixPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32); in cik_get_pcie_usage()
|
D | vi.c | 1386 uint64_t *count1) in vi_get_pcie_usage() argument 1428 *count1 = RREG32_PCIE(ixPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32); in vi_get_pcie_usage()
|
D | si.c | 1581 uint64_t *count1) in si_get_pcie_usage() argument 1623 *count1 = RREG32_PCIE(ixPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32); in si_get_pcie_usage()
|
/Linux-v6.1/arch/sparc/kernel/ |
D | irq_64.c | 905 u64 count1; member
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/ |
D | amdgpu_pm.c | 1564 uint64_t count0 = 0, count1 = 0; in amdgpu_get_pcie_bw() local 1584 amdgpu_asic_get_pcie_usage(adev, &count0, &count1); in amdgpu_get_pcie_bw() 1590 count0, count1, pcie_get_mps(adev->pdev)); in amdgpu_get_pcie_bw()
|