Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
time.c File Reference
#include <linux/timex.h>
#include <linux/time.h>
#include <linux/clocksource.h>
#include <linux/interrupt.h>
#include <linux/swap.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/threads.h>
#include <linux/cpufreq.h>
#include <asm/types.h>
#include <asm/signal.h>
#include <asm/io.h>
#include <asm/delay.h>
#include <asm/irq.h>
#include <asm/irq_regs.h>
#include <hwregs/reg_map.h>
#include <hwregs/reg_rdwr.h>
#include <hwregs/timer_defs.h>
#include <hwregs/intr_vect_defs.h>

Go to the source code of this file.

Macros

#define ETRAX_WD_KEY_MASK   0x7F /* key is 7 bit */
 
#define ETRAX_WD_HZ   763 /* watchdog counts at 763 Hz */
 
#define ETRAX_WD_CNT   ((2*ETRAX_WD_HZ)/HZ + 1)
 
#define start_watchdog   reset_watchdog
 
#define WATCHDOG_MIN_FREE_PAGES   8
 

Functions

 arch_initcall (etrax_init_cont_rotime)
 
int set_rtc_mmss (unsigned long nowtime)
 
unsigned long get_ns_in_jiffie (void)
 
void reset_watchdog (void)
 
void stop_watchdog (void)
 
void show_registers (struct pt_regs *regs)
 
void handle_watchdog_bite (struct pt_regs *regs)
 
void cris_do_profile (struct pt_regs *regs)
 
void __init cris_timer_init (void)
 
void __init time_init (void)
 

Variables

unsigned long timer_regs [NR_CPUS]
 

Macro Definition Documentation

#define ETRAX_WD_CNT   ((2*ETRAX_WD_HZ)/HZ + 1)

Definition at line 36 of file time.c.

#define ETRAX_WD_HZ   763 /* watchdog counts at 763 Hz */

Definition at line 34 of file time.c.

#define ETRAX_WD_KEY_MASK   0x7F /* key is 7 bit */

Definition at line 33 of file time.c.

#define start_watchdog   reset_watchdog

Definition at line 102 of file time.c.

#define WATCHDOG_MIN_FREE_PAGES   8

Definition at line 110 of file time.c.

Function Documentation

arch_initcall ( etrax_init_cont_rotime  )
void cris_do_profile ( struct pt_regs regs)

Definition at line 81 of file time.c.

void __init cris_timer_init ( void  )

Definition at line 228 of file time.c.

unsigned long get_ns_in_jiffie ( void  )

Definition at line 80 of file time.c.

void handle_watchdog_bite ( struct pt_regs regs)

Definition at line 146 of file time.c.

void reset_watchdog ( void  )

Definition at line 112 of file time.c.

static int set_rtc_mmss ( unsigned long  nowtime)

Definition at line 369 of file time_32.c.

void show_registers ( struct pt_regs regs)

Definition at line 17 of file traps.c.

void stop_watchdog ( void  )

Definition at line 132 of file time.c.

void __init time_init ( void  )

Definition at line 254 of file time.c.

Variable Documentation

unsigned long timer_regs[NR_CPUS]
Initial value:
=
{
}

Definition at line 60 of file time.c.