Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/cs5535.h>
#include <linux/clockchips.h>
Go to the source code of this file.
Macros | |
#define | DRV_NAME "cs5535-clockevt" |
#define | MFGPT_DIVISOR 16 |
#define | MFGPT_SCALE 4 /* divisor = 2^(scale) */ |
#define | MFGPT_HZ (32768 / MFGPT_DIVISOR) |
#define | MFGPT_PERIODIC (MFGPT_HZ / HZ) |
Functions | |
module_param_named (irq, timer_irq, int, 0644) | |
MODULE_PARM_DESC (irq,"Which IRQ to use for the clock source MFGPT ticks.") | |
module_init (cs5535_mfgpt_init) | |
MODULE_AUTHOR ("Andres Salomon <[email protected]>") | |
MODULE_DESCRIPTION ("CS5535/CS5536 MFGPT clock event driver") | |
MODULE_LICENSE ("GPL") | |
#define DRV_NAME "cs5535-clockevt" |
Definition at line 22 of file cs5535-clockevt.c.
#define MFGPT_DIVISOR 16 |
Definition at line 50 of file cs5535-clockevt.c.
#define MFGPT_HZ (32768 / MFGPT_DIVISOR) |
Definition at line 52 of file cs5535-clockevt.c.
Definition at line 53 of file cs5535-clockevt.c.
#define MFGPT_SCALE 4 /* divisor = 2^(scale) */ |
Definition at line 51 of file cs5535-clockevt.c.
MODULE_AUTHOR | ( | "Andres Salomon <[email protected]>" | ) |
module_init | ( | cs5535_mfgpt_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |