Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
timers.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/profile.h>
#include <linux/clocksource.h>
#include <asm/io.h>
#include <asm/traps.h>
#include <asm/machdep.h>
#include <asm/coldfire.h>
#include <asm/mcftimer.h>
#include <asm/mcfsim.h>

Go to the source code of this file.

Macros

#define FREQ   (MCF_BUSCLK / 16)
 
#define TA(a)   (MCFTIMER_BASE1 + (a))
 
#define __raw_readtrr   __raw_readw
 
#define __raw_writetrr   __raw_writew
 

Functions

void coldfire_profile_init (void)
 
void hw_timer_init (irq_handler_t handler)
 

Macro Definition Documentation

#define __raw_readtrr   __raw_readw

Definition at line 43 of file timers.c.

#define __raw_writetrr   __raw_writew

Definition at line 44 of file timers.c.

#define FREQ   (MCF_BUSCLK / 16)

Definition at line 30 of file timers.c.

#define TA (   a)    (MCFTIMER_BASE1 + (a))

Definition at line 31 of file timers.c.

Function Documentation

void coldfire_profile_init ( void  )
void hw_timer_init ( irq_handler_t  handler)

Definition at line 118 of file timers.c.