Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
time_64.c File Reference
#include <linux/errno.h>
#include <linux/export.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/time.h>
#include <linux/timex.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/mc146818rtc.h>
#include <linux/delay.h>
#include <linux/profile.h>
#include <linux/bcd.h>
#include <linux/jiffies.h>
#include <linux/cpufreq.h>
#include <linux/percpu.h>
#include <linux/miscdevice.h>
#include <linux/rtc.h>
#include <linux/rtc/m48t59.h>
#include <linux/kernel_stat.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/ftrace.h>
#include <asm/oplib.h>
#include <asm/timer.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/prom.h>
#include <asm/starfire.h>
#include <asm/smp.h>
#include <asm/sections.h>
#include <asm/cpudata.h>
#include <asm/uaccess.h>
#include <asm/irq_regs.h>
#include "entry.h"

Go to the source code of this file.

Data Structures

struct  freq_table
 

Macros

#define TICK_PRIV_BIT   (1UL << 63)
 
#define TICKCMP_IRQ_BIT   (1UL << 63)
 
#define HBIRD_STICKCMP_ADDR   0x1fe0000f060UL
 
#define HBIRD_STICK_ADDR   0x1fe0000f070UL
 
#define SPARC64_NSEC_PER_CYC_SHIFT   10UL
 

Functions

 DEFINE_SPINLOCK (rtc_lock)
 
 EXPORT_SYMBOL (tick_ops)
 
int update_persistent_clock (struct timespec now)
 
 EXPORT_SYMBOL (cmos_regs)
 
 fs_initcall (clock_init)
 
unsigned long sparc64_get_clock_tick (unsigned int cpu)
 
 EXPORT_SYMBOL (sparc64_get_clock_tick)
 
void __irq_entry timer_interrupt (int irq, struct pt_regs *regs)
 
void __devinit setup_sparc64_timer (void)
 
void __delay (unsigned long loops)
 
 EXPORT_SYMBOL (__delay)
 
void udelay (unsigned long usecs)
 
 EXPORT_SYMBOL (udelay)
 
void __init time_init (void)
 
unsigned long long sched_clock (void)
 
int __devinit read_current_timer (unsigned long *timer_val)
 

Variables

unsigned long cmos_regs
 

Macro Definition Documentation

#define HBIRD_STICK_ADDR   0x1fe0000f070UL

Definition at line 282 of file time_64.c.

#define HBIRD_STICKCMP_ADDR   0x1fe0000f060UL

Definition at line 281 of file time_64.c.

#define SPARC64_NSEC_PER_CYC_SHIFT   10UL

Definition at line 777 of file time_64.c.

#define TICK_PRIV_BIT   (1UL << 63)

Definition at line 56 of file time_64.c.

#define TICKCMP_IRQ_BIT   (1UL << 63)

Definition at line 57 of file time_64.c.

Function Documentation

void __delay ( unsigned long  loops)
inline

Definition at line 787 of file time_64.c.

DEFINE_SPINLOCK ( rtc_lock  )
EXPORT_SYMBOL ( tick_ops  )
EXPORT_SYMBOL ( cmos_regs  )
EXPORT_SYMBOL ( sparc64_get_clock_tick  )
EXPORT_SYMBOL ( __delay  )
EXPORT_SYMBOL ( udelay  )
fs_initcall ( clock_init  )
int __devinit read_current_timer ( unsigned long timer_val)

Definition at line 847 of file time_64.c.

unsigned long long sched_clock ( void  )

Definition at line 839 of file time_64.c.

void __devinit setup_sparc64_timer ( void  )

Definition at line 749 of file time_64.c.

unsigned long sparc64_get_clock_tick ( unsigned int  cpu)

Definition at line 638 of file time_64.c.

void __init time_init ( void  )

Definition at line 809 of file time_64.c.

void __irq_entry timer_interrupt ( int  irq,
struct pt_regs regs 
)

Definition at line 724 of file time_64.c.

void udelay ( unsigned long  usecs)

Definition at line 798 of file time_64.c.

int update_persistent_clock ( struct timespec  now)

Definition at line 397 of file time_64.c.

Variable Documentation

unsigned long cmos_regs

Definition at line 410 of file time_64.c.