Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cevt-smtc.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>

Go to the source code of this file.

Macros

#define MAKEVALID(x)   (((x) == 0L) ? 1L : (x))
 
#define ISVALID(x)   ((x) != 0L)
 
#define IS_SOONER(a, b, reference)   (((a) - (unsigned long)(reference)) < ((b) - (unsigned long)(reference)))
 
#define CATCHUP_INCREMENT   64
 

Functions

void smtc_distribute_timer (int vpe)
 
irqreturn_t c0_compare_interrupt (int irq, void *dev_id)
 
int __cpuinit smtc_clockevent_init (void)
 

Variables

unsigned long smtc_nexttime [NR_CPUS][NR_CPUS]
 

Macro Definition Documentation

#define CATCHUP_INCREMENT   64

Definition at line 76 of file cevt-smtc.c.

#define IS_SOONER (   a,
  b,
  reference 
)    (((a) - (unsigned long)(reference)) < ((b) - (unsigned long)(reference)))

Definition at line 68 of file cevt-smtc.c.

#define ISVALID (   x)    ((x) != 0L)

Definition at line 61 of file cevt-smtc.c.

#define MAKEVALID (   x)    (((x) == 0L) ? 1L : (x))

Definition at line 60 of file cevt-smtc.c.

Function Documentation

irqreturn_t c0_compare_interrupt ( int  irq,
void dev_id 
)

Definition at line 235 of file cevt-smtc.c.

int __cpuinit smtc_clockevent_init ( void  )

Definition at line 251 of file cevt-smtc.c.

void smtc_distribute_timer ( int  vpe)

Definition at line 171 of file cevt-smtc.c.

Variable Documentation

unsigned long smtc_nexttime[NR_CPUS][NR_CPUS]

Definition at line 47 of file cevt-smtc.c.