/arch/s390/lib/ |
D | delay.c | 117 void __ndelay(unsigned long long nsecs) in __ndelay() argument 121 nsecs <<= 9; in __ndelay() 122 do_div(nsecs, 125); in __ndelay() 123 end = get_tod_clock_fast() + nsecs; in __ndelay() 124 if (nsecs & ~0xfffUL) in __ndelay() 125 __udelay(nsecs >> 12); in __ndelay()
|
/arch/alpha/lib/ |
D | udelay.c | 51 ndelay(unsigned long nsecs) in ndelay() argument 53 nsecs *= (((unsigned long)HZ << 32) / 1000000000) * LPJ; in ndelay() 54 __delay((long)nsecs >> 32); in ndelay()
|
/arch/arm/plat-omap/ |
D | counter_32k.c | 59 unsigned long long nsecs; in omap_read_persistent_clock64() local 65 nsecs = clocksource_cyc2ns(cycles - last_cycles, in omap_read_persistent_clock64() 68 timespec64_add_ns(&persistent_ts, nsecs); in omap_read_persistent_clock64()
|
/arch/sh/lib64/ |
D | udelay.c | 46 void __ndelay(unsigned long nsecs) in __ndelay() argument 48 __const_udelay(nsecs * 0x00000005); in __ndelay()
|
/arch/sh/lib/ |
D | delay.c | 50 void __ndelay(unsigned long nsecs) in __ndelay() argument 52 __const_udelay(nsecs * 0x00000005); in __ndelay()
|
/arch/blackfin/include/asm/ |
D | delay.h | 44 static inline void ndelay(unsigned long nsecs) in ndelay() argument 46 __delay(__to_delay(1) * nsecs / 1000); in ndelay()
|
/arch/x86/um/ |
D | delay.c | 56 void __ndelay(unsigned long nsecs) in __ndelay() argument 58 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/arch/h8300/lib/ |
D | delay.c | 37 void __ndelay(unsigned long nsecs) in __ndelay() argument 39 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/arch/arm64/lib/ |
D | delay.c | 51 void __ndelay(unsigned long nsecs) in __ndelay() argument 53 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/arch/um/os-Linux/ |
D | time.c | 170 void os_idle_sleep(unsigned long long nsecs) in os_idle_sleep() argument 174 if (nsecs <= 0) { in os_idle_sleep() 179 .tv_sec = nsecs / UM_NSEC_PER_SEC, in os_idle_sleep() 180 .tv_nsec = nsecs % UM_NSEC_PER_SEC in os_idle_sleep()
|
/arch/nios2/lib/ |
D | delay.c | 48 void __ndelay(unsigned long nsecs) in __ndelay() argument 50 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/arch/tile/lib/ |
D | delay.c | 30 void __ndelay(unsigned long nsecs) in __ndelay() argument 33 target += ns2cycles(nsecs); in __ndelay()
|
/arch/arm/vdso/ |
D | vgettimeofday.c | 139 u64 nsecs; in do_realtime() local 149 nsecs = get_ns(vdata); in do_realtime() 154 timespec_add_ns(ts, nsecs); in do_realtime() 162 u64 nsecs; in do_monotonic() local 172 nsecs = get_ns(vdata); in do_monotonic() 181 timespec_add_ns(ts, nsecs + tomono.tv_nsec); in do_monotonic()
|
/arch/openrisc/lib/ |
D | delay.c | 57 void __ndelay(unsigned long nsecs) in __ndelay() argument 59 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/arch/metag/lib/ |
D | delay.c | 53 void __ndelay(unsigned long nsecs) in __ndelay() argument 55 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/arch/m32r/lib/ |
D | delay.c | 122 void __ndelay(unsigned long nsecs) in __ndelay() argument 124 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/arch/um/kernel/ |
D | time.c | 126 long long nsecs = os_persistent_clock_emulation(); in read_persistent_clock() local 128 set_normalized_timespec(ts, nsecs / NSEC_PER_SEC, in read_persistent_clock() 129 nsecs % NSEC_PER_SEC); in read_persistent_clock()
|
/arch/x86/lib/ |
D | delay.c | 185 void __ndelay(unsigned long nsecs) in __ndelay() argument 187 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/arch/alpha/include/asm/ |
D | delay.h | 8 extern void ndelay(unsigned long nsecs);
|
/arch/s390/include/asm/ |
D | delay.h | 16 void __ndelay(unsigned long long nsecs);
|
/arch/tile/include/asm/ |
D | timex.h | 44 cycles_t ns2cycles(unsigned long nsecs);
|
D | delay.h | 23 extern void __ndelay(unsigned long nsecs);
|
/arch/tile/kernel/ |
D | time.c | 238 cycles_t ns2cycles(unsigned long nsecs) in ns2cycles() argument 251 u64 quot = (u64)nsecs >> dev->shift; in ns2cycles() 252 u64 rem = (u64)nsecs & ((1ULL << dev->shift) - 1); in ns2cycles()
|
/arch/sparc/include/asm/ |
D | delay_32.h | 25 void __ndelay(unsigned long nsecs, unsigned long lpj);
|
/arch/metag/include/asm/ |
D | delay.h | 16 extern void __ndelay(unsigned long nsecs);
|