#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/irq.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/sh_timer.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/pm_domain.h>
#include <linux/pm_runtime.h>
Go to the source code of this file.
#define CMCNT 1 /* channel register */ |
#define CMCOR 2 /* channel register */ |
#define CMCSR 0 /* channel register */ |
#define CMSTR -1 /* shared register */ |
#define FLAG_CLOCKEVENT (1 << 0) |
#define FLAG_CLOCKSOURCE (1 << 1) |
#define FLAG_IRQCONTEXT (1 << 4) |
#define FLAG_REPROGRAM (1 << 2) |
#define FLAG_SKIPEVENT (1 << 3) |
early_platform_init |
( |
"earlytimer" |
, |
|
|
& |
sh_cmt_device_driver |
|
) |
| |
MODULE_AUTHOR |
( |
"Magnus Damm" |
| ) |
|
MODULE_DESCRIPTION |
( |
"SuperH CMT Timer Driver" |
| ) |
|
module_exit |
( |
sh_cmt_exit |
| ) |
|
module_init |
( |
sh_cmt_init |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|