Home
last modified time | relevance | path

Searched refs:loops (Results 1 – 25 of 46) sorted by relevance

12

/arch/mips/kernel/
Dspinlock_test.c14 int loops; in ss_get() local
18 loops = 1000000; in ss_get()
25 loops--; in ss_get()
26 if (loops == 0) in ss_get()
47 int loops; member
57 int loops; in multi_other() local
62 loops = s->loops; in multi_other()
79 loops--; in multi_other()
80 if (loops == 0) in multi_other()
98 ms.loops = 1000000; in multi_get()
/arch/csky/lib/
Ddelay.c8 void __delay(unsigned long loops) in __delay() argument
14 : "=r"(loops) in __delay()
15 : "0"(loops)); in __delay()
21 unsigned long long loops; in __const_udelay() local
23 loops = (unsigned long long)xloops * loops_per_jiffy * HZ; in __const_udelay()
25 __delay(loops >> 32); in __const_udelay()
/arch/arc/include/asm/
Ddelay.h22 static inline void __delay(unsigned long loops) in __delay() argument
30 : "r"(loops) in __delay()
56 unsigned long loops; in __udelay() local
61 loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; in __udelay()
63 __delay(loops); in __udelay()
/arch/microblaze/include/asm/
Ddelay.h13 static inline void __delay(unsigned long loops) in __delay() argument
19 : "=r" (loops) in __delay()
20 : "0" (loops)); in __delay()
47 unsigned loops = tmp >> 32; in __udelay() local
53 __delay(loops); in __udelay()
/arch/xtensa/include/asm/
Ddelay.h20 static inline void __delay(unsigned long loops) in __delay() argument
22 if (__builtin_constant_p(loops) && loops < 2) in __delay()
24 else if (loops >= 2) in __delay()
27 : "+r" (loops)); in __delay()
/arch/x86/boot/
Da20.c22 int loops = MAX_8042_LOOPS; in empty_8042() local
25 while (loops--) { in empty_8042()
54 static int a20_test(int loops) in a20_test() argument
64 while (loops--) { in a20_test()
130 int loops = A20_ENABLE_LOOPS; in enable_a20() local
133 while (loops--) { in enable_a20()
/arch/ia64/include/asm/
Ddelay.h76 extern void ia64_delay_loop (unsigned long loops);
79 __delay (unsigned long loops) in __delay() argument
81 if (unlikely(loops < 1)) in __delay()
84 ia64_delay_loop (loops - 1); in __delay()
/arch/parisc/include/asm/
Ddelay.h5 static __inline__ void __delay(unsigned long loops) { in __delay() argument
10 : "=r" (loops) : "0" (loops)); in __delay()
/arch/sh/lib/
Ddelay.c11 void __delay(unsigned long loops) in __delay() argument
28 : "=r" (loops) in __delay()
29 : "0" (loops) in __delay()
/arch/nds32/include/asm/
Ddelay.h10 static inline void __delay(unsigned long loops) in __delay() argument
16 :"=r"(loops) in __delay()
17 :"0"(loops)); in __delay()
/arch/sparc/include/asm/
Ddelay_32.h13 static inline void __delay(unsigned long loops) in __delay() argument
18 "=&r" (loops) : in __delay()
19 "0" (loops) : in __delay()
/arch/h8300/lib/
Ddelay.c23 u64 loops; in __const_udelay() local
25 loops = (u64)xloops * loops_per_jiffy * HZ; in __const_udelay()
27 __delay(loops >> 32); in __const_udelay()
/arch/alpha/lib/
Dudelay.c23 __delay(int loops) in __delay() argument
32 : "=&r" (tmp), "=r" (loops) : "1"(loops)); in __delay()
/arch/nios2/lib/
Ddelay.c22 u64 loops; in __const_udelay() local
24 loops = (u64)xloops * loops_per_jiffy * HZ; in __const_udelay()
26 __delay(loops >> 32); in __const_udelay()
/arch/mips/lib/
Ddelay.c29 void __delay(unsigned long loops) in __delay() argument
37 : "=r" (loops) in __delay()
38 : GCC_DADDI_IMM_ASM() (1), "0" (loops)); in __delay()
/arch/openrisc/lib/
Ddelay.c40 unsigned long long loops; in __const_udelay() local
42 loops = (unsigned long long)xloops * loops_per_jiffy * HZ; in __const_udelay()
44 __delay(loops >> 32); in __const_udelay()
/arch/parisc/lib/
Ddelay.c32 u32 bclock, now, loops = __loops; in __cr16_delay() local
40 if ((now - bclock) >= loops) in __cr16_delay()
59 loops -= (now - bclock); in __cr16_delay()
/arch/m68k/include/asm/
Ddelay.h34 static inline void __delay(unsigned long loops) in __delay() argument
40 : "=d" (loops) in __delay()
41 : "0" (loops)); in __delay()
/arch/arm64/include/asm/
Dfutex.h17 unsigned int loops = FUTEX_MAX_LOOPS; \
39 "+r" (loops) \
90 unsigned int loops = FUTEX_MAX_LOOPS; in futex_atomic_cmpxchg_inatomic() local
118 : "+r" (ret), "=&r" (val), "+Q" (*uaddr), "=&r" (tmp), "+r" (loops) in futex_atomic_cmpxchg_inatomic()
/arch/mips/cavium-octeon/
Dcsrc-octeon.c72 unsigned loops = 2; in octeon_init_cvmcount() local
78 asm("" : "+r" (loops)); in octeon_init_cvmcount()
85 while (loops--) { in octeon_init_cvmcount()
172 void __delay(unsigned long loops) in __delay() argument
177 end = cur + loops; in __delay()
/arch/x86/lib/
Ddelay.c42 unsigned long loops = (unsigned long)__loops; in delay_loop() local
57 : "+a" (loops) in delay_loop()
201 void __delay(unsigned long loops) in __delay() argument
203 delay_fn(loops); in __delay()
/arch/x86/um/
Ddelay.c12 void __delay(unsigned long loops) in __delay() argument
28 : "a" (loops) in __delay()
/arch/s390/lib/
Ddelay.c15 void __delay(unsigned long loops) in __delay() argument
24 asm volatile("0: brct %0,0b" : : "d" ((loops/2) + 1)); in __delay()
/arch/arm/lib/
Ddelay.c55 unsigned long long loops = xloops; in __timer_const_udelay() local
56 loops *= arm_delay_ops.ticks_per_jiffy; in __timer_const_udelay()
57 __timer_delay(loops >> UDELAY_SHIFT); in __timer_const_udelay()
/arch/x86/realmode/rm/
Dwakemain.c5 static void udelay(int loops) in udelay() argument
7 while (loops--) in udelay()

12