| /linux/sound/core/ |
| H A D | rawmidi.c | 1147 int result = 0, count1; in snd_rawmidi_receive() local 1178 count1 = runtime->buffer_size - runtime->hw_ptr; in snd_rawmidi_receive() 1179 if (count1 > count) in snd_rawmidi_receive() 1180 count1 = count; in snd_rawmidi_receive() 1181 if (count1 > (int)(runtime->buffer_size - runtime->avail)) in snd_rawmidi_receive() 1182 count1 = runtime->buffer_size - runtime->avail; in snd_rawmidi_receive() 1183 count1 = get_aligned_size(runtime, count1); in snd_rawmidi_receive() 1184 if (!count1) in snd_rawmidi_receive() 1186 memcpy(runtime->buffer + runtime->hw_ptr, buffer, count1); in snd_rawmidi_receive() 1222 long result = 0, count1; snd_rawmidi_kernel_read1() local 1274 int count1; snd_rawmidi_read() local 1357 int result, count1; __snd_rawmidi_transmit_peek() local 1524 long count1, result; snd_rawmidi_kernel_write1() local 1591 int count1; snd_rawmidi_write() local [all...] |
| /linux/drivers/acpi/acpica/ |
| H A 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 …]
|
| H A D | aclocal.h | 317 u8 count1; member 345 u8 count1; member
|
| H A D | dbnames.c | 435 package->ret_info.count1); in acpi_db_walk_for_predefined_names()
|
| /linux/tools/perf/tests/ |
| H A D | bp_signal.c | 168 long long count1, count2, count3; in test__bp_signal() local 260 count1 = bp_count(fd1); in test__bp_signal() 269 count1, count2, count3, overflows, overflows_2); in test__bp_signal() 271 if (count1 != 1) { in test__bp_signal() 272 if (count1 == 11) in test__bp_signal() 275 pr_debug("failed: wrong count for bp1: %lld, expected 1\n", count1); in test__bp_signal() 290 return count1 == 1 && overflows == 3 && count2 == 3 && overflows_2 == 3 && count3 == 2 ? in test__bp_signal()
|
| /linux/arch/arm/mach-rpc/ |
| H A 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/drivers/rtc/ |
| H A D | rtc-snvs.c | 90 u32 count1, count2; in rtc_read_lp_counter_lsb() local 94 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb() 96 count2 = count1; in rtc_read_lp_counter_lsb() 97 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &count1); in rtc_read_lp_counter_lsb() 98 diff = count1 - count2; in rtc_read_lp_counter_lsb() 105 *lsb = count1; in rtc_read_lp_counter_lsb() 111 u32 count1, count2; in rtc_write_sync_lp() local 116 ret = rtc_read_lp_counter_lsb(data, &count1); in rtc_write_sync_lp() 125 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | tailcall_bpf2bpf_hierarchy2.c | 23 int count1 = 0; 52 count1++; in classifier_1() 70 return (count1 << 16) | count0; 22 int count1 = 0; global() variable
|
| /linux/tools/perf/util/ |
| H A D | bpf-utils.c | 202 __u32 count1, count2, size1, size2; in get_bpf_prog_info_linear() local 208 count1 = bpf_prog_info_read_offset_u32(&info, desc->count_offset); in get_bpf_prog_info_linear() 211 if (count1 != count2) { in get_bpf_prog_info_linear() 212 pr_warning("%s: mismatch in element count %u vs %u\n", __func__, count1, count2); in get_bpf_prog_info_linear() 231 ptr += roundup(count1 * size1, sizeof(__u64)); in get_bpf_prog_info_linear()
|
| /linux/drivers/video/fbdev/ |
| H A D | pmagb-b-fb.c | 188 u32 count0 = 8, count1 = 8, counttc = 16 * 256 + 8; in pmagbbfb_osc_setup() local 215 count1 += sfb_read(par, SFB_REG_VIDCLK_COUNT); in pmagbbfb_osc_setup() 224 freq1 = (par->osc0 * count1 + count0 / 2) / count0; in pmagbbfb_osc_setup()
|
| /linux/lib/crypto/ |
| H A D | curve25519-hacl64.c | 273 u32 count1) in fsquare_fsquare_times_() argument 277 for (i = 1; i < count1; ++i) in fsquare_fsquare_times_() 282 u32 count1) in fsquare_fsquare_times() argument 286 fsquare_fsquare_times_(output, t, count1); in fsquare_fsquare_times() 290 u32 count1) in fsquare_fsquare_times_inplace() argument 293 fsquare_fsquare_times_(output, t, count1); in fsquare_fsquare_times_inplace()
|
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_msgtype6.h | 87 unsigned int count1; /* length of CPRB + parameters */ member
|
| /linux/drivers/memory/tegra/ |
| H A D | tegra20.c | 451 u32 clocks, count0, count1, control_0, control_1; in tegra20_mc_stat_gather() local 471 count1 = mc_readl(mc, MC_STAT_EMC_COUNT_1); in tegra20_mc_stat_gather() 476 stat->gather1.result = DIV_ROUND_UP(count1, clocks); in tegra20_mc_stat_gather()
|
| /linux/drivers/comedi/drivers/ |
| H A D | jr3_pci.h | 563 u32 count1; /* offset 0x00e8 */ member
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | soc15.c | 757 uint64_t *count1) in soc15_get_pcie_usage() argument 800 *count1 = RREG32_PCIE(smnPCIE_PERF_COUNT1_TXCLK) | (cnt1_of << 32); in soc15_get_pcie_usage() 804 uint64_t *count1) in vega20_get_pcie_usage() argument 849 *count1 = RREG32_PCIE(smnPCIE_PERF_COUNT1_TXCLK3) | (cnt1_of << 32); in vega20_get_pcie_usage()
|
| H A D | amdgpu.h | 688 uint64_t *count1);
|
| /linux/tools/accounting/ |
| H A D | delaytop.c | 780 unsigned long count1; in compare_tasks() local 786 count1 = *(unsigned long *)((char *)t1 + cfg.sort_field->count_offset); in compare_tasks() 789 avg1 = average_ms(total1, count1); in compare_tasks()
|
| /linux/drivers/gpu/drm/amd/pm/ |
| H A D | amdgpu_pm.c | 1532 uint64_t count0 = 0, count1 = 0; in amdgpu_get_pcie_bw() local 1545 amdgpu_asic_get_pcie_usage(adev, &count0, &count1); in amdgpu_get_pcie_bw() 1550 count0, count1, pcie_get_mps(adev->pdev)); in amdgpu_get_pcie_bw()
|