Searched refs:loops (Results 1 - 25 of 147) sorted by relevance

123456

/linux-master/arch/parisc/include/asm/
H A Ddelay.h5 static __inline__ void __delay(unsigned long loops) { argument
10 : "=r" (loops) : "0" (loops));
/linux-master/arch/arc/include/asm/
H A Ddelay.h22 static inline void __delay(unsigned long loops) argument
30 : "r"(loops)
37 * Normal Math for computing loops in "N" usecs
40 * loops per "N" usecs = ((loops_per_jiffy * HZ / 1000000) * N)
56 unsigned long loops; local
61 loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32;
63 __delay(loops);
/linux-master/arch/csky/lib/
H A Ddelay.c8 void __aligned(8) __delay(unsigned long loops) argument
14 : "=r"(loops)
15 : "0"(loops));
21 unsigned long long loops; local
23 loops = (unsigned long long)xloops * loops_per_jiffy * HZ;
25 __delay(loops >> 32);
/linux-master/arch/alpha/include/asm/
H A Ddelay.h5 extern void __delay(int loops);
/linux-master/arch/sparc/include/asm/
H A Ddelay_32.h13 static inline void __delay(unsigned long loops) argument
18 "=&r" (loops) :
19 "0" (loops) :
H A Ddelay_64.h12 void __delay(unsigned long loops);
/linux-master/arch/sh/lib/
H A Ddelay.c11 void __delay(unsigned long loops) argument
28 : "=r" (loops)
29 : "0" (loops)
/linux-master/arch/xtensa/include/asm/
H A Ddelay.h20 static inline void __delay(unsigned long loops) argument
22 if (__builtin_constant_p(loops) && loops < 2)
24 else if (loops >= 2)
27 : "+r" (loops));
/linux-master/arch/microblaze/include/asm/
H A Ddelay.h13 static inline void __delay(unsigned long loops) argument
19 : "=r" (loops)
20 : "0" (loops));
25 * loops = (4294 * usecs * loops_per_jiffy * HZ) / 2^32.
27 * The mul instruction gives us loops = (a * b) / 2^32.
47 unsigned loops = tmp >> 32; local
50 __asm__("mulxuu %0,%1,%2" : "=r" (loops) :
53 __delay(loops);
/linux-master/arch/alpha/lib/
H A Dudelay.c23 __delay(int loops) argument
32 : "=&r" (tmp), "=r" (loops) : "1"(loops));
/linux-master/arch/parisc/lib/
H A Ddelay.c32 u32 bclock, now, loops = __loops; local
40 if ((now - bclock) >= loops)
59 loops -= (now - bclock);
/linux-master/arch/nios2/lib/
H A Ddelay.c22 u64 loops; local
24 loops = (u64)xloops * loops_per_jiffy * HZ;
26 __delay(loops >> 32);
/linux-master/arch/s390/include/asm/
H A Ddelay.h18 void __delay(unsigned long loops);
/linux-master/arch/mips/kernel/
H A Dspinlock_test.c14 int loops; local
18 loops = 1000000;
25 loops--;
26 if (loops == 0)
47 int loops; member in struct:spin_multi_state
57 int loops; local
62 loops = s->loops;
79 loops--;
80 if (loops
[all...]
/linux-master/arch/s390/lib/
H A Ddelay.c14 void __delay(unsigned long loops) argument
17 * Loop 'loops' times. Callers must not assume a specific
20 asm volatile("0: brct %0,0b" : : "d" ((loops/2) + 1));
/linux-master/arch/x86/boot/
H A Da20.c22 int loops = MAX_8042_LOOPS; local
25 while (loops--) {
54 static int a20_test(int loops) argument
64 while (loops--) {
130 int loops = A20_ENABLE_LOOPS; local
133 while (loops--) {
/linux-master/arch/m68k/include/asm/
H A Ddelay.h34 static inline void __delay(unsigned long loops) argument
40 : "=d" (loops)
41 : "0" (loops));
97 * ((((HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6) is the number of loops
104 * be the number of loops for n nanoseconds
/linux-master/arch/mips/lib/
H A Ddelay.c28 void __delay(unsigned long loops) argument
36 : "=r" (loops)
37 : GCC_DADDI_IMM_ASM() (1), "0" (loops));
/linux-master/arch/openrisc/lib/
H A Ddelay.c41 unsigned long long loops; local
43 loops = (unsigned long long)xloops * loops_per_jiffy * HZ;
45 __delay(loops >> 32);
/linux-master/arch/x86/um/
H A Ddelay.c12 void __delay(unsigned long loops) argument
28 : "a" (loops)
/linux-master/tools/perf/bench/
H A Dsyscall.c26 static int loops = LOOPS_DEFAULT; variable
29 OPT_INTEGER('l', "loop", &loops, "Specify number of loops"),
87 for (i = 0; i < loops; i++) {
99 loops = 10000;
105 loops = 10000;
134 printf("# Executed %'d %s calls\n", loops, name);
144 (double)result_usec / (double)loops);
146 (int)((double)loops /
/linux-master/arch/mips/include/asm/
H A Ddelay.h16 extern void __delay(unsigned long loops);
/linux-master/drivers/spi/
H A Dspi-altera-dfl.c53 int loops; local
58 loops = 0;
60 (loops++ < INDIRECT_TIMEOUT))
63 if (loops >= INDIRECT_TIMEOUT) {
64 pr_err("%s timed out %d\n", __func__, loops);
79 int loops; local
84 loops = 0;
86 (loops++ < INDIRECT_TIMEOUT))
89 if (loops >= INDIRECT_TIMEOUT) {
90 pr_err("%s timed out %d\n", __func__, loops);
[all...]
/linux-master/tools/gpio/
H A Dgpio-hammer.c26 unsigned int loops)
101 if (loops && iteration == loops)
119 " [-c <n>] Do <n> loops (optional, infinite loop if not stated)\n"
131 unsigned int loops = 0; local
140 loops = strtoul(optarg, NULL, 10);
175 return hammer_device(device_name, lines, num_lines, loops);
25 hammer_device(const char *device_name, unsigned int *lines, int num_lines, unsigned int loops) argument
/linux-master/arch/x86/realmode/rm/
H A Dwakemain.c5 static void udelay(int loops) argument
7 while (loops--)

Completed in 368 milliseconds

123456