/arch/s390/lib/ |
D | delay.c | 116 void __ndelay(unsigned long long nsecs) in __ndelay() argument 120 nsecs <<= 9; in __ndelay() 121 do_div(nsecs, 125); in __ndelay() 122 end = get_tod_clock_fast() + nsecs; in __ndelay() 123 if (nsecs & ~0xfffUL) in __ndelay() 124 __udelay(nsecs >> 12); in __ndelay()
|
/arch/alpha/lib/ |
D | udelay.c | 50 ndelay(unsigned long nsecs) in ndelay() argument 52 nsecs *= (((unsigned long)HZ << 32) / 1000000000) * LPJ; in ndelay() 53 __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 | 49 void __ndelay(unsigned long nsecs) in __ndelay() argument 51 __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 | 36 void __ndelay(unsigned long nsecs) in __ndelay() argument 38 __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/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/avr32/lib/ |
D | delay.c | 54 void __ndelay(unsigned long nsecs) in __ndelay() argument 56 __const_udelay(nsecs * 0x00005); /* 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/tile/lib/ |
D | delay.c | 30 void __ndelay(unsigned long nsecs) in __ndelay() argument 33 target += ns2cycles(nsecs); in __ndelay()
|
/arch/openrisc/lib/ |
D | delay.c | 56 void __ndelay(unsigned long nsecs) in __ndelay() argument 58 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/arch/arm/vdso/ |
D | vgettimeofday.c | 138 u64 nsecs; in do_realtime() local 148 nsecs = get_ns(vdata); in do_realtime() 153 timespec_add_ns(ts, nsecs); in do_realtime() 161 u64 nsecs; in do_monotonic() local 171 nsecs = get_ns(vdata); in do_monotonic() 180 timespec_add_ns(ts, nsecs + tomono.tv_nsec); in do_monotonic()
|
/arch/metag/lib/ |
D | delay.c | 52 void __ndelay(unsigned long nsecs) in __ndelay() argument 54 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/arch/m32r/lib/ |
D | delay.c | 121 void __ndelay(unsigned long nsecs) in __ndelay() argument 123 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/arch/um/kernel/ |
D | time.c | 124 long long nsecs = os_persistent_clock_emulation(); in read_persistent_clock() local 126 set_normalized_timespec(ts, nsecs / NSEC_PER_SEC, in read_persistent_clock() 127 nsecs % NSEC_PER_SEC); in read_persistent_clock()
|
/arch/x86/lib/ |
D | delay.c | 184 void __ndelay(unsigned long nsecs) in __ndelay() argument 186 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/arch/alpha/include/asm/ |
D | delay.h | 7 extern void ndelay(unsigned long nsecs);
|
/arch/s390/include/asm/ |
D | delay.h | 15 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 | 234 cycles_t ns2cycles(unsigned long nsecs) in ns2cycles() argument 247 u64 quot = (u64)nsecs >> dev->shift; in ns2cycles() 248 u64 rem = (u64)nsecs & ((1ULL << dev->shift) - 1); in ns2cycles()
|
/arch/sparc/include/asm/ |
D | delay_32.h | 24 void __ndelay(unsigned long nsecs, unsigned long lpj);
|