Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
bcm2835_timer.c File Reference
#include <linux/bcm2835_timer.h>
#include <linux/bitops.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/interrupt.h>
#include <linux/irqreturn.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <asm/sched_clock.h>
#include <asm/irq.h>

Go to the source code of this file.

Data Structures

struct  bcm2835_timer
 

Macros

#define REG_CONTROL   0x00
 
#define REG_COUNTER_LO   0x04
 
#define REG_COUNTER_HI   0x08
 
#define REG_COMPARE(n)   (0x0c + (n) * 4)
 
#define MAX_TIMER   3
 
#define DEFAULT_TIMER   3
 

Variables

struct sys_timer bcm2835_timer
 

Macro Definition Documentation

#define DEFAULT_TIMER   3

Definition at line 41 of file bcm2835_timer.c.

#define MAX_TIMER   3

Definition at line 40 of file bcm2835_timer.c.

#define REG_COMPARE (   n)    (0x0c + (n) * 4)

Definition at line 39 of file bcm2835_timer.c.

#define REG_CONTROL   0x00

Definition at line 36 of file bcm2835_timer.c.

#define REG_COUNTER_HI   0x08

Definition at line 38 of file bcm2835_timer.c.

#define REG_COUNTER_LO   0x04

Definition at line 37 of file bcm2835_timer.c.

Variable Documentation

Initial value:
= {
.init = bcm2835_time_init,
}

Definition at line 159 of file bcm2835_timer.c.