/arch/mips/kernel/ |
D | spinlock_test.c | 14 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/ |
D | delay.c | 8 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/ |
D | delay.h | 22 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/ |
D | delay.h | 13 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/ |
D | delay.h | 20 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/ |
D | a20.c | 22 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/ |
D | delay.h | 76 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/ |
D | delay.h | 5 static __inline__ void __delay(unsigned long loops) { in __delay() argument 10 : "=r" (loops) : "0" (loops)); in __delay()
|
/arch/sh/lib/ |
D | delay.c | 11 void __delay(unsigned long loops) in __delay() argument 28 : "=r" (loops) in __delay() 29 : "0" (loops) in __delay()
|
/arch/nds32/include/asm/ |
D | delay.h | 10 static inline void __delay(unsigned long loops) in __delay() argument 16 :"=r"(loops) in __delay() 17 :"0"(loops)); in __delay()
|
/arch/sparc/include/asm/ |
D | delay_32.h | 13 static inline void __delay(unsigned long loops) in __delay() argument 18 "=&r" (loops) : in __delay() 19 "0" (loops) : in __delay()
|
/arch/h8300/lib/ |
D | delay.c | 23 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/ |
D | udelay.c | 23 __delay(int loops) in __delay() argument 32 : "=&r" (tmp), "=r" (loops) : "1"(loops)); in __delay()
|
/arch/nios2/lib/ |
D | delay.c | 22 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/ |
D | delay.c | 29 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/ |
D | delay.c | 40 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/ |
D | delay.c | 32 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/ |
D | delay.h | 34 static inline void __delay(unsigned long loops) in __delay() argument 40 : "=d" (loops) in __delay() 41 : "0" (loops)); in __delay()
|
/arch/arm64/include/asm/ |
D | futex.h | 17 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/ |
D | csrc-octeon.c | 72 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/ |
D | delay.c | 42 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/ |
D | delay.c | 12 void __delay(unsigned long loops) in __delay() argument 28 : "a" (loops) in __delay()
|
/arch/s390/lib/ |
D | delay.c | 15 void __delay(unsigned long loops) in __delay() argument 24 asm volatile("0: brct %0,0b" : : "d" ((loops/2) + 1)); in __delay()
|
/arch/arm/lib/ |
D | delay.c | 55 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/ |
D | wakemain.c | 5 static void udelay(int loops) in udelay() argument 7 while (loops--) in udelay()
|