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 ndelay(n)   __ndelay((unsigned long long) (n))
 
#define udelay(n)   __udelay((unsigned long long) (n))
 
#define mdelay(n)   __udelay((unsigned long long) (n) * 1000)
 

Functions

void __ndelay (unsigned long long nsecs)
 
void __udelay (unsigned long long usecs)
 
void udelay_simple (unsigned long long usecs)
 
void __delay (unsigned long loops)
 

Macro Definition Documentation

#define mdelay (   n)    __udelay((unsigned long long) (n) * 1000)

Definition at line 22 of file delay.h.

#define ndelay (   n)    __ndelay((unsigned long long) (n))

Definition at line 20 of file delay.h.

#define udelay (   n)    __udelay((unsigned long long) (n))

Definition at line 21 of file delay.h.

Function Documentation

void __delay ( unsigned long  loops)
inline

Definition at line 27 of file delay.c.

void __ndelay ( unsigned long long  nsecs)

Definition at line 119 of file delay.c.

void __udelay ( unsigned long long  usecs)

Definition at line 76 of file delay.c.

void udelay_simple ( unsigned long long  usecs)

Definition at line 110 of file delay.c.