15 #define TICKS_PER_SEC 1024 25 #define TICKS_PER_MS 1 48 void ( *
udelay ) (
unsigned long usecs );
52 #define TIMERS __table ( struct timer, "timers" ) 55 #define __timer( order ) __table_entry ( TIMERS, order ) 62 #define TIMER_PREFERRED 01 63 #define TIMER_NORMAL 02 74 extern void udelay (
unsigned long usecs );
75 extern void mdelay (
unsigned long msecs );
unsigned int sleep(unsigned int seconds)
Sleep (interruptibly) for a fixed number of seconds.
void mdelay(unsigned long msecs)
Delay for a fixed number of milliseconds.
void(* udelay)(unsigned long usecs)
Delay for a fixed number of microseconds.
unsigned long(* currticks)(void)
Get current system time in ticks.
unsigned long currticks(void)
Get current system time in ticks.
int(* probe)(void)
Probe timer.
UINT16_t seconds
Elapsed time.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
void sleep_fixed(unsigned int secs)
Sleep (uninterruptibly) for a fixed number of seconds.
void udelay(unsigned long usecs)
Delay for a fixed number of microseconds.