
Go to the source code of this file.
Functions | |
| unsigned int | ns2cyc (unsigned int ns, unsigned int rate) |
| Convert from nanoseconds to clock cycles using 32-bit arithmetic. | |
| void | udelay (unsigned long us) |
| Delay for a specified number of microseconds. | |
| static void | mdelay (unsigned long ms) |
| Delay for a specified number of milliseconds. | |
Definition in file delay.h.
| static void mdelay | ( | unsigned long | ms | ) | [inline, static] |
| unsigned int ns2cyc | ( | unsigned int | ns, | |
| unsigned int | rate | |||
| ) |
| void udelay | ( | unsigned long | us | ) |
Delay for a specified number of microseconds.
Since the max CPU frequency at this point is 66 MHz, this function supports delays up to
| us | Number of microseconds to delay. |
Definition at line 64 of file delay.c.
References div_ceil, and get_cpu_clock_rate().
Referenced by mdelay().

1.5.8