Home
last modified time | relevance | path

Searched refs:nsecs (Results 1 – 25 of 29) sorted by relevance

12

/arch/s390/lib/
Ddelay.c116 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/
Dudelay.c50 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/
Dcounter_32k.c59 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/
Dudelay.c46 void __ndelay(unsigned long nsecs) in __ndelay() argument
48 __const_udelay(nsecs * 0x00000005); in __ndelay()
/arch/sh/lib/
Ddelay.c49 void __ndelay(unsigned long nsecs) in __ndelay() argument
51 __const_udelay(nsecs * 0x00000005); in __ndelay()
/arch/blackfin/include/asm/
Ddelay.h44 static inline void ndelay(unsigned long nsecs) in ndelay() argument
46 __delay(__to_delay(1) * nsecs / 1000); in ndelay()
/arch/x86/um/
Ddelay.c56 void __ndelay(unsigned long nsecs) in __ndelay() argument
58 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/arch/h8300/lib/
Ddelay.c36 void __ndelay(unsigned long nsecs) in __ndelay() argument
38 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/arch/arm64/lib/
Ddelay.c51 void __ndelay(unsigned long nsecs) in __ndelay() argument
53 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/arch/nios2/lib/
Ddelay.c48 void __ndelay(unsigned long nsecs) in __ndelay() argument
50 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/arch/avr32/lib/
Ddelay.c54 void __ndelay(unsigned long nsecs) in __ndelay() argument
56 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/arch/tile/lib/
Ddelay.c30 void __ndelay(unsigned long nsecs) in __ndelay() argument
33 target += ns2cycles(nsecs); in __ndelay()
/arch/um/os-Linux/
Dtime.c170 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/openrisc/lib/
Ddelay.c56 void __ndelay(unsigned long nsecs) in __ndelay() argument
58 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/arch/metag/lib/
Ddelay.c52 void __ndelay(unsigned long nsecs) in __ndelay() argument
54 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/arch/arm/vdso/
Dvgettimeofday.c138 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/m32r/lib/
Ddelay.c121 void __ndelay(unsigned long nsecs) in __ndelay() argument
123 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/arch/um/kernel/
Dtime.c124 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/
Ddelay.c184 void __ndelay(unsigned long nsecs) in __ndelay() argument
186 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/arch/alpha/include/asm/
Ddelay.h7 extern void ndelay(unsigned long nsecs);
/arch/s390/include/asm/
Ddelay.h15 void __ndelay(unsigned long long nsecs);
/arch/tile/include/asm/
Dtimex.h44 cycles_t ns2cycles(unsigned long nsecs);
Ddelay.h23 extern void __ndelay(unsigned long nsecs);
/arch/sparc/include/asm/
Ddelay_32.h24 void __ndelay(unsigned long nsecs, unsigned long lpj);
/arch/metag/include/asm/
Ddelay.h15 extern void __ndelay(unsigned long nsecs);

12