/linux-master/arch/parisc/include/asm/ |
H A D | delay.h | 5 static __inline__ void __delay(unsigned long loops) { argument 10 : "=r" (loops) : "0" (loops));
|
/linux-master/arch/arc/include/asm/ |
H A D | delay.h | 22 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 D | delay.c | 8 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 D | delay.h | 5 extern void __delay(int loops);
|
/linux-master/arch/sparc/include/asm/ |
H A D | delay_32.h | 13 static inline void __delay(unsigned long loops) argument 18 "=&r" (loops) : 19 "0" (loops) :
|
H A D | delay_64.h | 12 void __delay(unsigned long loops);
|
/linux-master/arch/sh/lib/ |
H A D | delay.c | 11 void __delay(unsigned long loops) argument 28 : "=r" (loops) 29 : "0" (loops)
|
/linux-master/arch/xtensa/include/asm/ |
H A D | delay.h | 20 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 D | delay.h | 13 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 D | udelay.c | 23 __delay(int loops) argument 32 : "=&r" (tmp), "=r" (loops) : "1"(loops));
|
/linux-master/arch/parisc/lib/ |
H A D | delay.c | 32 u32 bclock, now, loops = __loops; local 40 if ((now - bclock) >= loops) 59 loops -= (now - bclock);
|
/linux-master/arch/nios2/lib/ |
H A D | delay.c | 22 u64 loops; local 24 loops = (u64)xloops * loops_per_jiffy * HZ; 26 __delay(loops >> 32);
|
/linux-master/arch/s390/include/asm/ |
H A D | delay.h | 18 void __delay(unsigned long loops);
|
/linux-master/arch/mips/kernel/ |
H A D | spinlock_test.c | 14 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 D | delay.c | 14 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 D | a20.c | 22 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 D | delay.h | 34 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 D | delay.c | 28 void __delay(unsigned long loops) argument 36 : "=r" (loops) 37 : GCC_DADDI_IMM_ASM() (1), "0" (loops));
|
/linux-master/arch/openrisc/lib/ |
H A D | delay.c | 41 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 D | delay.c | 12 void __delay(unsigned long loops) argument 28 : "a" (loops)
|
/linux-master/tools/perf/bench/ |
H A D | syscall.c | 26 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 D | delay.h | 16 extern void __delay(unsigned long loops);
|
/linux-master/drivers/spi/ |
H A D | spi-altera-dfl.c | 53 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 D | gpio-hammer.c | 26 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 D | wakemain.c | 5 static void udelay(int loops) argument 7 while (loops--)
|