Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
delay.h File Reference

Go to the source code of this file.

Macros

#define udelay(n)
 
#define ndelay(n)
 

Functions

void __bad_udelay (void)
 
void __bad_ndelay (void)
 
void __udelay (unsigned long usecs)
 
void __ndelay (unsigned long nsecs)
 
void __delay (unsigned long loops)
 

Macro Definition Documentation

#define ndelay (   n)
Value:
(__builtin_constant_p(n) ? \
((n) > 20000 ? __bad_ndelay() : __ndelay(n)) : \

Definition at line 30 of file delay.h.

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

Definition at line 26 of file delay.h.

Function Documentation

void __bad_ndelay ( void  )
void __bad_udelay ( void  )
void __delay ( unsigned long  loops)
inline

Definition at line 27 of file delay.c.

void __ndelay ( unsigned long  nsecs)

Definition at line 51 of file delay.c.

void __udelay ( unsigned long  usecs)

Definition at line 45 of file delay.c.