/linux-2.4.37.9/include/asm-sparc64/ |
D | delay.h | 35 extern __inline__ void __udelay(unsigned long usecs, unsigned long lps) in __udelay() argument 37 usecs *= 0x00000000000010c6UL; /* 2**32 / 1000000 */ in __udelay() 42 : "=r" (usecs) in __udelay() 43 : "r" (usecs), "r" (lps)); in __udelay() 45 __delay(usecs * HZ); in __udelay() 48 extern __inline__ void __ndelay(unsigned long usecs, unsigned long lps) in __ndelay() argument 50 usecs *= 0x0000000000000005UL; /* 2**32 / 10000 */ in __ndelay() 55 : "=r" (usecs) in __ndelay() 56 : "r" (usecs), "r" (lps)); in __ndelay() 58 __delay(usecs * HZ); in __ndelay() [all …]
|
/linux-2.4.37.9/include/net/ |
D | profile.h | 98 time_t usecs = acc->tv_usec + leaved->tv_usec - entered->tv_usec in net_profile_accumulate() local 102 if (usecs >= 0x100000000L) { in net_profile_accumulate() 103 usecs -= 0x100000000L; in net_profile_accumulate() 105 } else if (usecs < -0x100000000L) { in net_profile_accumulate() 106 usecs += 0x200000000L; in net_profile_accumulate() 108 } else if (usecs < 0) { in net_profile_accumulate() 109 usecs += 0x100000000L; in net_profile_accumulate() 113 acc->tv_usec = usecs; in net_profile_accumulate() 119 time_t usecs = leaved->tv_usec - entered->tv_usec; in net_profile_sub() local 122 if (usecs < 0) { in net_profile_sub() [all …]
|
/linux-2.4.37.9/include/asm-mips64/ |
D | delay.h | 42 static inline void __udelay(unsigned long usecs, unsigned long lpj) in __udelay() argument 51 usecs *= 0x0008637bd05af6c7UL; /* 2**64 / (1000000 / HZ) */ in __udelay() 53 usecs *= 0x004189374BC6A7f0UL; /* 2**64 / (1000000 / HZ) */ in __udelay() 55 usecs *= (0x8000000000000000UL / (500000 / HZ)); in __udelay() 58 : "=h" (usecs), "=l" (lo) in __udelay() 59 : "r" (usecs), "r" (lpj) in __udelay() 61 __delay(usecs); in __udelay() 92 #define udelay(usecs) __udelay((usecs),__udelay_val) argument
|
/linux-2.4.37.9/include/asm-mips/ |
D | delay.h | 40 static __inline__ void __udelay(unsigned long usecs, unsigned long lpj) in __udelay() argument 47 usecs *= (unsigned long) (((0x8000000000000000ULL / (500000 / HZ)) + in __udelay() 50 : "=h" (usecs), "=l" (lo) in __udelay() 51 : "r" (usecs), "r" (lpj) in __udelay() 53 __delay(usecs); in __udelay() 78 #define udelay(usecs) __udelay((usecs),__udelay_val) argument
|
/linux-2.4.37.9/arch/sh64/lib/ |
D | udelay.c | 32 void __udelay(unsigned long long usecs, unsigned long lpj) in __udelay() argument 34 usecs *= (((unsigned long long) HZ << 32) / 1000000) * lpj; in __udelay() 35 __delay((long long) usecs >> 32); in __udelay() 44 void udelay(unsigned long usecs) in udelay() argument 46 __udelay(usecs, loops_per_jiffy); in udelay()
|
/linux-2.4.37.9/arch/x86_64/lib/ |
D | delay.c | 38 void __udelay(unsigned long usecs) in __udelay() argument 40 __const_udelay(usecs * 0x000010c6); /* 2**32 / 1000000 */ in __udelay() 43 void __ndelay(unsigned long usecs) in __ndelay() argument 45 __const_udelay(usecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/linux-2.4.37.9/drivers/usb/host/ |
D | ehci-sched.c | 107 unsigned usecs = 0; in periodic_usecs() local 114 usecs += q->qh->usecs; in periodic_usecs() 117 usecs += q->qh->c_usecs; in periodic_usecs() 130 usecs += q->itd->usecs [uframe]; in periodic_usecs() 143 usecs += HS_USECS (188); in periodic_usecs() 145 usecs += HS_USECS (1); in periodic_usecs() 152 usecs += HS_USECS (0); in periodic_usecs() 154 usecs += HS_USECS (188); in periodic_usecs() 164 if (usecs > 100) in periodic_usecs() 166 frame * 8 + uframe, usecs); in periodic_usecs() [all …]
|
/linux-2.4.37.9/arch/s390x/lib/ |
D | delay.c | 39 void __udelay(unsigned long usecs) in __udelay() argument 43 if (usecs == 0) in __udelay() 48 } while (((end_cc - start_cc)/4096) < usecs); in __udelay()
|
/linux-2.4.37.9/arch/s390/lib/ |
D | delay.c | 39 void __udelay(unsigned long usecs) in __udelay() argument 43 if (usecs == 0) in __udelay() 48 } while (((end_cc - start_cc)/4096) < usecs); in __udelay()
|
/linux-2.4.37.9/arch/alpha/lib/ |
D | udelay.c | 48 udelay(unsigned long usecs) in udelay() argument 50 usecs *= (((unsigned long)HZ << 32) / 1000000) * LPJ; in udelay() 51 __delay((long)usecs >> 32); in udelay()
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | delay.h | 13 extern void __udelay(unsigned long usecs); 14 extern void __ndelay(unsigned long usecs); 15 extern void __const_udelay(unsigned long usecs);
|
/linux-2.4.37.9/include/asm-sh64/ |
D | delay.h | 5 extern void __udelay(unsigned long long usecs, unsigned long lpj); 7 extern void udelay(unsigned long usecs);
|
/linux-2.4.37.9/include/asm-sparc/ |
D | delay.h | 23 extern void udelay(unsigned long usecs); 24 extern void ndelay(unsigned long usecs);
|
/linux-2.4.37.9/drivers/char/ftape/lowlevel/ |
D | ftape-calibr.c | 140 static unsigned int usecs(unsigned int count) in usecs() function 156 return usecs(diff(t0, t1)); in ftape_timediff() 251 usecs(once), count - 1, usecs(multiple), tc); in ftape_calibrate()
|
D | fdc-io.c | 106 int fdc_wait(unsigned int usecs, __u8 mask, __u8 state) in fdc_wait() argument 108 int count_1 = (fdc_calibr_count * usecs + in fdc_wait() 120 int fdc_ready_wait(unsigned int usecs) in fdc_ready_wait() argument 122 return fdc_wait(usecs, FDC_DATA_READY | FDC_BUSY, FDC_DATA_READY); in fdc_ready_wait() 127 static void fdc_usec_wait(unsigned int usecs) in fdc_usec_wait() argument 129 fdc_wait(usecs, 0, 1); /* will always timeout ! */ in fdc_usec_wait() 132 int fdc_ready_out_wait(unsigned int usecs) in fdc_ready_out_wait() argument 135 return fdc_wait(usecs, FDC_DATA_OUT_READY, FDC_DATA_OUT_READY); in fdc_ready_out_wait() 138 int fdc_ready_in_wait(unsigned int usecs) in fdc_ready_in_wait() argument 141 return fdc_wait(usecs, FDC_DATA_OUT_READY, FDC_DATA_IN_READY); in fdc_ready_in_wait()
|
/linux-2.4.37.9/include/asm-cris/ |
D | delay.h | 37 extern __inline__ void udelay(unsigned long usecs) in udelay() argument 39 __delay(usecs * loops_per_usec); in udelay()
|
/linux-2.4.37.9/arch/sh/lib/ |
D | delay.c | 32 void __udelay(unsigned long usecs) in __udelay() argument 34 __const_udelay(usecs * 0x000010c6); /* 2**32 / 1000000 */ in __udelay()
|
/linux-2.4.37.9/include/asm-parisc/ |
D | delay.h | 37 static __inline__ void __udelay(unsigned long usecs) { in __udelay() argument 38 __cr16_delay(usecs * ((unsigned long)boot_cpu_data.cpu_hz / 1000000UL)); in __udelay()
|
/linux-2.4.37.9/include/asm-sh/ |
D | delay.h | 13 extern void __udelay(unsigned long usecs); 15 extern void __const_udelay(unsigned long usecs);
|
/linux-2.4.37.9/include/asm-i386/ |
D | delay.h | 13 extern void __udelay(unsigned long usecs); 15 extern void __const_udelay(unsigned long usecs);
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | delay.h | 42 static inline void udelay(unsigned long usecs) in udelay() argument 44 unsigned long loops = tb_ticks_per_usec * usecs; in udelay()
|
/linux-2.4.37.9/arch/i386/lib/ |
D | delay.c | 80 void __udelay(unsigned long usecs) in __udelay() argument 82 __const_udelay(usecs * 0x000010c6); /* 2**32 / 1000000 */ in __udelay()
|
/linux-2.4.37.9/include/asm-m68k/ |
D | delay.h | 38 static inline void __udelay(unsigned long usecs) in __udelay() argument 40 __const_udelay(usecs * 4295); /* 2**32 / 1000000 */ in __udelay()
|
/linux-2.4.37.9/include/asm-ia64/ |
D | delay.h | 76 udelay (unsigned long usecs) in udelay() argument 79 unsigned long cycles = usecs*local_cpu_data->cyc_per_usec; in udelay()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | syscalls.c | 279 time_t usecs; in sys64_time() local 285 usecs = xtime.tv_usec + tb_delta / tb_ticks_per_usec; in sys64_time() 286 while (usecs >= USEC_PER_SEC) { in sys64_time() 288 usecs -= USEC_PER_SEC; in sys64_time()
|