|
Linux Kernel
3.7.1
|
#include <linux/clocksource.h>#include <linux/init.h>#include <linux/module.h>#include <linux/ioport.h>#include <linux/scx200.h>Go to the source code of this file.
Macros | |
| #define | NAME "scx200_hrt" |
| #define | SCx200_TMCNFG_OFFSET (SCx200_TIMER_OFFSET + 5) |
| #define | HR_TMEN (1 << 0) /* timer interrupt enable */ |
| #define | HR_TMCLKSEL (1 << 1) /* 1|0 counts at 27|1 MHz */ |
| #define | HR_TM27MPD (1 << 2) /* 1 turns off input clock (power-down) */ |
| #define | HRT_FREQ 1000000 |
Functions | |
| module_param (mhz27, int, 0) | |
| MODULE_PARM_DESC (mhz27,"count at 27.0 MHz (default is 1.0 MHz)") | |
| module_param (ppm, int, 0) | |
| MODULE_PARM_DESC (ppm,"+-adjust to actual XO freq (ppm)") | |
| module_init (init_hrt_clocksource) | |
| MODULE_AUTHOR ("Jim Cromie <[email protected]>") | |
| MODULE_DESCRIPTION ("clocksource on SCx200 HiRes Timer") | |
| MODULE_LICENSE ("GPL") | |
Definition at line 41 of file scx200_hrt.c.
Definition at line 40 of file scx200_hrt.c.
Definition at line 39 of file scx200_hrt.c.
| #define HRT_FREQ 1000000 |
Definition at line 44 of file scx200_hrt.c.
| #define NAME "scx200_hrt" |
Definition at line 25 of file scx200_hrt.c.
| #define SCx200_TMCNFG_OFFSET (SCx200_TIMER_OFFSET + 5) |
Definition at line 36 of file scx200_hrt.c.
| MODULE_AUTHOR | ( | "Jim Cromie <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "clocksource on SCx200 HiRes Timer" | ) |
| module_init | ( | init_hrt_clocksource | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_param | ( | mhz27 | , |
| int | , | ||
| 0 | |||
| ) |
| module_param | ( | ppm | , |
| int | , | ||
| 0 | |||
| ) |
1.8.2