Searched refs:loops (Results 51 - 75 of 147) sorted by relevance

123456

/linux-master/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmmcra_bhrb_disable_test.c13 extern void thirty_two_instruction_loop(int loops);
H A Dmmcra_thresh_cmp_test.c21 extern void thirty_two_instruction_loop_with_ll_sc(u64 loops, u64 *ll_sc_target);
H A Dmmcr2_fcs_fch_test.c15 extern void thirty_two_instruction_loop(int loops);
H A Dmmcra_thresh_marked_sample_test.c20 extern void thirty_two_instruction_loop_with_ll_sc(u64 loops, u64 *ll_sc_target);
/linux-master/arch/arm/include/asm/
H A Ddelay.h16 * loops = loops_per_jiffy * jiffies_per_sec * delay_us / us_per_sec
28 * loops = (loops_per_jiffy * delay_us * UDELAY_MULT) >> 31
89 extern void __loop_delay(unsigned long loops);
/linux-master/drivers/soc/fsl/qbman/
H A Dbman_test_api.c99 int i, loops = LOOPS; local
141 if (--loops)
/linux-master/tools/perf/bench/
H A Dsched-pipe.c42 static int loops = LOOPS_DEFAULT; variable
84 OPT_INTEGER('l', "loop", &loops, "Specify number of loops"),
180 for (i = 0; i < loops; i++) {
277 loops, threaded ? "threads" : "processes");
287 (double)result_usec / (double)loops);
289 (int)((double)loops /
/linux-master/lib/zlib_inflate/
H A Dinffast.c241 unsigned long loops; local
255 loops = len >> 1;
261 } while (--loops);
275 loops = len >> 1;
278 while (--loops);
331 - Three separate decoding do-loops for direct, window, and write == 0
337 - Larger unrolled copy loops (three is about right)
/linux-master/drivers/media/pci/bt8xx/
H A Dbttv-audio-hook.c18 int bits_out, loops, vol, data; local
30 for (loops = 17; loops >= 0 ; loops--) {
31 if (bits_out & (1<<loops))
/linux-master/arch/x86/kernel/cpu/microcode/
H A Dcore.c284 unsigned int timeout, loops; local
292 for (loops = 0; loops < loops_per_usec; loops++)
309 unsigned int timeout, loops; local
315 for (loops = 0; loops < loops_per_usec; loops++)
/linux-master/drivers/phy/marvell/
H A Dphy-pxa-usb.c163 int loops; local
225 loops = 0;
228 loops++;
229 if (loops > 100) {
H A Dphy-mmp3-usb.c200 int loops; local
222 loops = 0;
225 loops++;
226 if (loops > 100) {
/linux-master/tools/testing/selftests/kvm/
H A Dset_memory_region_test.c544 int i, loops; local
567 loops = atoi_positive("Number of iterations", argv[1]);
569 loops = 10;
571 pr_info("Testing MOVE of in-use region, %d loops\n", loops);
572 for (i = 0; i < loops; i++)
575 pr_info("Testing DELETE of in-use region, %d loops\n", loops);
576 for (i = 0; i < loops; i++)
/linux-master/drivers/spi/
H A Dspi-cavium.c19 unsigned int loops = 0; local
22 if (loops++)
H A Dspi-fsi.c301 int loops; local
320 loops = 0;
323 if (loops++ && time_after(jiffies, end))
339 loops = 0;
342 if (loops++ && time_after(jiffies, end))
364 int loops = 0; local
377 if (loops++ && time_after(jiffies, end))
/linux-master/arch/sh/lib/
H A Dmemset-sh4.S53 shlr2 r3 ! number of loops
63 shld r0,r2 ! number of loops
/linux-master/arch/x86/events/intel/
H A Dknc.c218 int bit, loops; local
231 loops = 0;
234 if (++loops > 100) {
/linux-master/drivers/platform/x86/intel/
H A Dpunit_ipc.c103 int loops = CMD_TIMEOUT_SECONDS * USEC_PER_SEC; local
114 while ((ipc_read_status(ipcdev, type) & CMD_RUN) && --loops)
116 if (!loops) {
/linux-master/drivers/video/fbdev/
H A Dwmt_ge_rops.c115 int loops = 5000000; local
116 while ((readl(regbase + GE_STATUS_OFF) & 4) && --loops)
118 return loops > 0 ? 0 : -EBUSY;
/linux-master/drivers/pwm/
H A Dpwm-vt8500.c61 int loops = msecs_to_loops(10); local
64 while ((readl(vt8500->base + REG_STATUS) & mask) && --loops)
67 if (unlikely(!loops))
/linux-master/drivers/fpga/
H A Ddfl-n3000-nios.c458 int loops; local
465 * overhead on it. Usually the state changes in 1 or 2 loops on the
468 for (loops = N3000_NIOS_REGBUS_RETRY_COUNT; loops > 0 ; loops--) {
475 return (loops > 0) ? 0 : -ETIMEDOUT;
/linux-master/drivers/media/common/saa7146/
H A Dsaa7146_core.c91 unsigned long loops; local
94 loops = us1;
98 if (!loops--) {
107 loops = us2 / 5;
112 if (!loops--) {
/linux-master/include/trace/events/
H A Dio_uring.h656 * @loops: how many loops it ran
661 TP_PROTO(void *ctx, int count, unsigned int loops),
663 TP_ARGS(ctx, count, loops),
668 __field(unsigned int, loops )
674 __entry->loops = loops;
677 TP_printk("ring %p, count %d, loops %u", __entry->ctx, __entry->count, __entry->loops)
/linux-master/tools/testing/selftests/powerpc/pmu/
H A Dcount_instructions.c17 extern void thirty_two_instruction_loop(u64 loops);
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/
H A Dinstruction_count_test.c21 extern void thirty_two_instruction_loop(uint64_t loops);

Completed in 199 milliseconds

123456