Home
last modified time | relevance | path

Searched refs:usecs (Results 1 – 25 of 47) sorted by relevance

12

/arch/parisc/include/asm/
Ddelay.h12 extern void __udelay(unsigned long usecs);
13 extern void __udelay_bad(unsigned long usecs);
15 static inline void udelay(unsigned long usecs) in udelay() argument
17 if (__builtin_constant_p(usecs) && (usecs) > 20000) in udelay()
18 __udelay_bad(usecs); in udelay()
19 __udelay(usecs); in udelay()
/arch/s390/lib/
Ddelay.c30 static void __udelay_disabled(unsigned long long usecs) in __udelay_disabled() argument
35 end = get_tod_clock() + (usecs << 12); in __udelay_disabled()
54 static void __udelay_enabled(unsigned long long usecs) in __udelay_enabled() argument
58 end = get_tod_clock_fast() + (usecs << 12); in __udelay_enabled()
74 void __udelay(unsigned long long usecs) in __udelay() argument
81 __udelay_disabled(usecs); in __udelay()
86 __udelay_disabled(usecs); in __udelay()
88 __udelay_enabled(usecs); in __udelay()
93 __udelay_disabled(usecs); in __udelay()
97 __udelay_enabled(usecs); in __udelay()
[all …]
/arch/tile/lib/
Ddelay.c20 void __udelay(unsigned long usecs) in __udelay() argument
22 if (usecs > ULONG_MAX / 1000) { in __udelay()
23 WARN_ON_ONCE(usecs > ULONG_MAX / 1000); in __udelay()
24 usecs = ULONG_MAX / 1000; in __udelay()
26 __ndelay(usecs * 1000); in __udelay()
/arch/score/include/asm/
Ddelay.h17 static inline void __udelay(unsigned long usecs) in __udelay() argument
23 __delay(usecs * loops_per_usec); in __udelay()
26 #define udelay(usecs) __udelay(usecs) argument
/arch/hexagon/include/asm/
Ddelay.h25 extern void __udelay(unsigned long usecs);
27 #define udelay(usecs) __udelay((usecs)) argument
/arch/alpha/lib/
Dudelay.c41 udelay(unsigned long usecs) in udelay() argument
43 usecs *= (((unsigned long)HZ << 32) / 1000000) * LPJ; in udelay()
44 __delay((long)usecs >> 32); in udelay()
/arch/cris/include/asm/
Ddelay.h18 static inline void udelay(unsigned long usecs) in udelay() argument
20 __delay(usecs * loops_per_usec); in udelay()
/arch/frv/include/asm/
Ddelay.h43 static inline void udelay(unsigned long usecs) in udelay() argument
45 __delay(usecs * __delay_loops_MHz); in udelay()
/arch/s390/include/asm/
Ddelay.h16 void __udelay(unsigned long long usecs);
17 void udelay_simple(unsigned long long usecs);
/arch/sh/lib64/
Dudelay.c41 void __udelay(unsigned long usecs) in __udelay() argument
43 __const_udelay(usecs * 0x000010c6); /* 2**32 / 1000000 */ in __udelay()
/arch/mn10300/lib/
Ddelay.c39 void __udelay(unsigned long usecs) in __udelay() argument
44 stop = __muldiv64u(usecs, MN10300_TSCCLK, 1000000); in __udelay()
/arch/sh/lib/
Ddelay.c44 void __udelay(unsigned long usecs) in __udelay() argument
46 __const_udelay(usecs * 0x000010c6); /* 2**32 / 1000000 */ in __udelay()
/arch/blackfin/include/asm/
Ddelay.h39 static inline void udelay(unsigned long usecs) in udelay() argument
41 __delay(__to_delay(usecs)); in udelay()
/arch/arc/include/asm/
Ddelay.h52 static inline void __udelay(unsigned long usecs) in __udelay() argument
59 loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; in __udelay()
/arch/x86/um/
Ddelay.c50 void __udelay(unsigned long usecs) in __udelay() argument
52 __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ in __udelay()
/arch/arm64/lib/
Ddelay.c45 void __udelay(unsigned long usecs) in __udelay() argument
47 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay()
/arch/avr32/lib/
Ddelay.c49 void __udelay(unsigned long usecs) in __udelay() argument
51 __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ in __udelay()
/arch/openrisc/lib/
Ddelay.c50 void __udelay(unsigned long usecs) in __udelay() argument
52 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay()
/arch/parisc/lib/
Ddelay.c69 void __udelay(unsigned long usecs) in __udelay() argument
71 __cr16_delay(usecs * ((unsigned long)boot_cpu_data.cpu_hz / 1000000UL)); in __udelay()
/arch/ia64/sn/kernel/sn2/
Dtimer.c44 ia64_sn_udelay (unsigned long usecs) in ia64_sn_udelay() argument
48 usecs * sn_rtc_cycles_per_second / 1000000; in ia64_sn_udelay()
/arch/metag/lib/
Ddelay.c46 void __udelay(unsigned long usecs) in __udelay() argument
48 __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ in __udelay()
/arch/m32r/lib/
Ddelay.c116 void __udelay(unsigned long usecs) in __udelay() argument
118 __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ in __udelay()
/arch/xtensa/include/asm/
Ddelay.h37 static inline void __udelay(unsigned long usecs) in __udelay() argument
40 unsigned long cycles = (usecs * (ccount_freq >> 15)) >> 5; in __udelay()
/arch/m68k/include/asm/
Ddelay.h80 static inline void __udelay(unsigned long usecs) in __udelay() argument
82 __const_udelay(usecs); in __udelay()
/arch/x86/lib/
Ddelay.c129 void __udelay(unsigned long usecs) in __udelay() argument
131 __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ in __udelay()

12