#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/ioctl.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/mmtimer.h>
#include <linux/miscdevice.h>
#include <linux/posix-timers.h>
#include <linux/interrupt.h>
#include <linux/time.h>
#include <linux/math64.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <asm/uaccess.h>
#include <asm/sn/addrs.h>
#include <asm/sn/intr.h>
#include <asm/sn/shub_mmr.h>
#include <asm/sn/nodepda.h>
#include <asm/sn/shubio.h>
Go to the source code of this file.
#define MMTIMER_DESC "SGI Altix RTC Timer" |
#define MMTIMER_INTERVAL_RETRY_INCREMENT_DEFAULT 40 |
#define MMTIMER_NAME "mmtimer" |
#define MMTIMER_VERSION "2.1" |
#define RTC_BITS 55 /* 55 bits for this implementation */ |
#define TIMER_OFF 0xbadcabLL /* Timer is not setup */ |
MODULE_DESCRIPTION |
( |
"SGI Altix RTC Timer" |
| ) |
|
module_init |
( |
mmtimer_init |
| ) |
|
module_param |
( |
mmtimer_interval_retry_increment |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mmtimer_interval_retry_increment |
, |
|
|
"RTC ticks to add to expiration on interval retry (default 40)" |
|
|
) |
| |
unsigned long sn_rtc_cycles_per_second |