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 <linux/types.h>
#include <linux/i8253.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/smp.h>
#include <linux/time.h>
#include <linux/clockchips.h>
#include <asm/sni.h>
#include <asm/time.h>
#include <asm-generic/rtc.h>

Go to the source code of this file.

Macros

#define SNI_CLOCK_TICK_RATE   3686400
 
#define SNI_COUNTER2_DIV   64
 
#define SNI_COUNTER0_DIV   ((SNI_CLOCK_TICK_RATE / SNI_COUNTER2_DIV) / HZ)
 
#define SNI_8254_TICK_RATE   1193182UL
 
#define SNI_8254_TCSAMP_COUNTER   ((SNI_8254_TICK_RATE / HZ) + 255)
 

Functions

void __init plat_time_init (void)
 
void read_persistent_clock (struct timespec *ts)
 

Macro Definition Documentation

#define SNI_8254_TCSAMP_COUNTER   ((SNI_8254_TICK_RATE / HZ) + 255)

Definition at line 93 of file time.c.

#define SNI_8254_TICK_RATE   1193182UL

Definition at line 91 of file time.c.

#define SNI_CLOCK_TICK_RATE   3686400

Definition at line 13 of file time.c.

#define SNI_COUNTER0_DIV   ((SNI_CLOCK_TICK_RATE / SNI_COUNTER2_DIV) / HZ)

Definition at line 15 of file time.c.

#define SNI_COUNTER2_DIV   64

Definition at line 14 of file time.c.

Function Documentation

void __init plat_time_init ( void  )

Definition at line 130 of file time.c.

void read_persistent_clock ( struct timespec ts)

Definition at line 186 of file time.c.