Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
delay.h File Reference
#include <asm/memory.h>
#include <asm/param.h>

Go to the source code of this file.

Data Structures

struct  delay_timer
 
struct  arm_delay_ops
 

Macros

#define MAX_UDELAY_MS   2
 
#define UDELAY_MULT   ((UL(2199023) * HZ) >> 11)
 
#define UDELAY_SHIFT   30
 
#define __delay(n)   arm_delay_ops.delay(n)
 
#define __udelay(n)   arm_delay_ops.udelay(n)
 
#define __const_udelay(n)   arm_delay_ops.const_udelay(n)
 
#define udelay(n)
 
#define ARCH_HAS_READ_CURRENT_TIMER
 

Functions

void __bad_udelay (void)
 
void __loop_delay (unsigned long loops)
 
void __loop_udelay (unsigned long usecs)
 
void __loop_const_udelay (unsigned long)
 
void register_current_timer_delay (const struct delay_timer *timer)
 

Variables

struct arm_delay_ops arm_delay_ops
 

Macro Definition Documentation

#define __const_udelay (   n)    arm_delay_ops.const_udelay(n)

Definition at line 51 of file delay.h.

#define __delay (   n)    arm_delay_ops.delay(n)

Definition at line 29 of file delay.h.

#define __udelay (   n)    arm_delay_ops.udelay(n)

Definition at line 50 of file delay.h.

#define ARCH_HAS_READ_CURRENT_TIMER

Definition at line 65 of file delay.h.

#define MAX_UDELAY_MS   2

Definition at line 12 of file delay.h.

#define udelay (   n)
Value:
(__builtin_constant_p(n) ? \
((n) > (MAX_UDELAY_MS * 1000) ? __bad_udelay() : \

Definition at line 53 of file delay.h.

#define UDELAY_MULT   ((UL(2199023) * HZ) >> 11)

Definition at line 13 of file delay.h.

#define UDELAY_SHIFT   30

Definition at line 14 of file delay.h.

Function Documentation

void __bad_udelay ( void  )
void __loop_const_udelay ( unsigned  long)
void __loop_delay ( unsigned long  loops)
void __loop_udelay ( unsigned long  usecs)
void register_current_timer_delay ( const struct delay_timer timer)

Definition at line 70 of file delay.c.

Variable Documentation