Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
time.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/leds.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <asm/mach-types.h>
#include <asm/mach/irq.h>
#include <asm/mach/time.h>
#include <mach/map.h>
#include <mach/regs-timer.h>
#include "nuc9xx.h"

Go to the source code of this file.

Macros

#define RESETINT   0x1f
 
#define PERIOD   (0x01 << 27)
 
#define ONESHOT   (0x00 << 27)
 
#define COUNTEN   (0x01 << 30)
 
#define INTEN   (0x01 << 29)
 
#define TICKS_PER_SEC   100
 
#define PRESCALE   0x63 /* Divider = prescale + 1 */
 
#define TDR_SHIFT   24
 

Variables

struct sys_timer nuc900_timer
 

Macro Definition Documentation

#define COUNTEN   (0x01 << 30)

Definition at line 41 of file time.c.

#define INTEN   (0x01 << 29)

Definition at line 42 of file time.c.

#define ONESHOT   (0x00 << 27)

Definition at line 40 of file time.c.

#define PERIOD   (0x01 << 27)

Definition at line 39 of file time.c.

#define PRESCALE   0x63 /* Divider = prescale + 1 */

Definition at line 45 of file time.c.

#define RESETINT   0x1f

Definition at line 38 of file time.c.

#define TDR_SHIFT   24

Definition at line 47 of file time.c.

#define TICKS_PER_SEC   100

Definition at line 44 of file time.c.

Variable Documentation

struct sys_timer nuc900_timer
Initial value:
= {
.init = nuc900_timer_init,
}

Definition at line 176 of file time.c.