Go to the documentation of this file.
6 #ifndef __ASM_ARM_DELAY_H
7 #define __ASM_ARM_DELAY_H
9 #include <asm/memory.h>
10 #include <asm/param.h>
12 #define MAX_UDELAY_MS 2
13 #define UDELAY_MULT ((UL(2199023) * HZ) >> 11)
14 #define UDELAY_SHIFT 30
29 #define __delay(n) arm_delay_ops.delay(n)
50 #define __udelay(n) arm_delay_ops.udelay(n)
51 #define __const_udelay(n) arm_delay_ops.const_udelay(n)
54 (__builtin_constant_p(n) ? \
55 ((n) > (MAX_UDELAY_MS * 1000) ? __bad_udelay() : \
56 __const_udelay((n) * UDELAY_MULT)) : \
65 #define ARCH_HAS_READ_CURRENT_TIMER