Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cyclone.c File Reference
#include <linux/clocksource.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/timex.h>
#include <linux/init.h>
#include <asm/pgtable.h>
#include <asm/io.h>
#include <asm/mach_timer.h>

Go to the source code of this file.

Macros

#define CYCLONE_CBAR_ADDR   0xFEB00CD0 /* base address ptr */
 
#define CYCLONE_PMCC_OFFSET   0x51A0 /* offset to control register */
 
#define CYCLONE_MPCS_OFFSET   0x51A8 /* offset to select register */
 
#define CYCLONE_MPMC_OFFSET   0x51D0 /* offset to count register */
 
#define CYCLONE_TIMER_FREQ   99780000 /* 100Mhz, but not really */
 
#define CYCLONE_TIMER_MASK   CLOCKSOURCE_MASK(32) /* 32 bit mask */
 

Functions

 arch_initcall (init_cyclone_clocksource)
 

Variables

int use_cyclone = 0
 

Macro Definition Documentation

#define CYCLONE_CBAR_ADDR   0xFEB00CD0 /* base address ptr */

Definition at line 12 of file cyclone.c.

#define CYCLONE_MPCS_OFFSET   0x51A8 /* offset to select register */

Definition at line 14 of file cyclone.c.

#define CYCLONE_MPMC_OFFSET   0x51D0 /* offset to count register */

Definition at line 15 of file cyclone.c.

#define CYCLONE_PMCC_OFFSET   0x51A0 /* offset to control register */

Definition at line 13 of file cyclone.c.

#define CYCLONE_TIMER_FREQ   99780000 /* 100Mhz, but not really */

Definition at line 16 of file cyclone.c.

#define CYCLONE_TIMER_MASK   CLOCKSOURCE_MASK(32) /* 32 bit mask */

Definition at line 17 of file cyclone.c.

Function Documentation

arch_initcall ( init_cyclone_clocksource  )

Variable Documentation

int use_cyclone = 0

Definition at line 19 of file cyclone.c.