Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
time.c File Reference
#include <asm/ptrace.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/kernel_stat.h>
#include <linux/interrupt.h>
#include <asm/machdep.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/traps.h>
#include <asm/blinken.h>

Go to the source code of this file.

Macros

#define CLOCKBASE   0xf05f8000
 
#define CLKCR1   0x1
 
#define CLKCR2   0x3
 
#define CLKCR3   CLKCR1
 
#define CLKSR   CLKCR2
 
#define CLKMSB1   0x5
 
#define CLKMSB2   0x9
 
#define CLKMSB3   0xD
 
#define USECS_PER_JIFFY   (1000000/HZ)
 
#define INTVAL   ((10000 / 4) - 1)
 

Functions

unsigned long hp300_gettimeoffset (void)
 
void __init hp300_sched_init (irq_handler_t vector)
 

Macro Definition Documentation

#define CLKCR1   0x1

Definition at line 25 of file time.c.

#define CLKCR2   0x3

Definition at line 26 of file time.c.

#define CLKCR3   CLKCR1

Definition at line 27 of file time.c.

#define CLKMSB1   0x5

Definition at line 29 of file time.c.

#define CLKMSB2   0x9

Definition at line 30 of file time.c.

#define CLKMSB3   0xD

Definition at line 31 of file time.c.

#define CLKSR   CLKCR2

Definition at line 28 of file time.c.

#define CLOCKBASE   0xf05f8000

Definition at line 23 of file time.c.

#define INTVAL   ((10000 / 4) - 1)

Definition at line 36 of file time.c.

#define USECS_PER_JIFFY   (1000000/HZ)

Definition at line 34 of file time.c.

Function Documentation

unsigned long hp300_gettimeoffset ( void  )

Definition at line 49 of file time.c.

void __init hp300_sched_init ( irq_handler_t  vector)

Definition at line 65 of file time.c.