Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cevt-r4k.c File Reference
#include <linux/clockchips.h>
#include <linux/interrupt.h>
#include <linux/percpu.h>
#include <linux/smp.h>
#include <linux/irq.h>
#include <asm/smtc_ipi.h>
#include <asm/time.h>
#include <asm/cevt-r4k.h>
#include <asm/gic.h>

Go to the source code of this file.

Macros

#define COMPARE_INT_SEEN_TICKS   50
 

Functions

void mips_set_clock_mode (enum clock_event_mode mode, struct clock_event_device *evt)
 
 DEFINE_PER_CPU (struct clock_event_device, mips_clockevent_device)
 
irqreturn_t c0_compare_interrupt (int irq, void *dev_id)
 
void mips_event_handler (struct clock_event_device *dev)
 
int c0_compare_int_usable (void)
 
int __cpuinit r4k_clockevent_init (void)
 

Variables

int cp0_timer_irq_installed
 
struct irqaction c0_compare_irqaction
 

Macro Definition Documentation

#define COMPARE_INT_SEEN_TICKS   50

Definition at line 114 of file cevt-r4k.c.

Function Documentation

int c0_compare_int_usable ( void  )

Definition at line 116 of file cevt-r4k.c.

irqreturn_t c0_compare_interrupt ( int  irq,
void dev_id 
)

Definition at line 53 of file cevt-r4k.c.

DEFINE_PER_CPU ( struct clock_event_device  ,
mips_clockevent_device   
)
void mips_event_handler ( struct clock_event_device *  dev)

Definition at line 93 of file cevt-r4k.c.

void mips_set_clock_mode ( enum clock_event_mode  mode,
struct clock_event_device *  evt 
)

Definition at line 42 of file cevt-r4k.c.

int __cpuinit r4k_clockevent_init ( void  )

Definition at line 170 of file cevt-r4k.c.

Variable Documentation

struct irqaction c0_compare_irqaction
Initial value:
= {
.flags = IRQF_PERCPU | IRQF_TIMER,
.name = "timer",
}

Definition at line 86 of file cevt-r4k.c.

int cp0_timer_irq_installed

Definition at line 49 of file cevt-r4k.c.