#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include <linux/timer.h>
#include <linux/sysfs.h>
#include <linux/device.h>
#include <linux/miscdevice.h>
#include <linux/platform_device.h>
#include <asm/io.h>
#include <asm/uaccess.h>
Go to the source code of this file.
| #define CLK_11_184MHz 0x09 |
| #define CLK_16_384MHz 0xfb |
| #define CLK_19_440MHz 0x06 |
| #define CLK_1_544MHz 0x00 |
| #define CLK_2_048MHz 0x01 |
| #define CLK_34_368MHz 0x0b |
| #define CLK_44_736MHz 0x0a |
| #define CLK_4_096MHz 0x02 |
| #define CLK_6_312MHz 0x03 |
| #define CLK_8_192MHz 0x04 |
| #define CLK_8_592MHz 0x08 |
| #define FREERUN_MODE 0x20 |
| #define HOLDOVER_01_MASK 0x10 |
| #define HOLDOVER_10_MASK 0x20 |
| #define HOLDOVER_MASK 0x20 |
| #define HOLDOVER_MODE 0x10 |
| #define PLL_HOLDOVER 0x40 |
| #define PRI_LOS_01_MASK 0x01 |
| #define PRI_LOS_10_MASK 0x02 |
| #define PRI_LOST_MASK 0x80 |
| #define PRIMARY_CLOCK 0x00 |
| #define REF_CLK1_8kHz 0x00 |
| #define REF_CLK2_19_44MHz 0x02 |
| #define SEC_LOS_01_MASK 0x04 |
| #define SEC_LOS_10_MASK 0x08 |
| #define SEC_LOST_MASK 0x40 |
| #define SECONDARY_CLOCK 0x01 |
| #define UNLOCK_01_MASK 0x40 |
| #define UNLOCK_10_MASK 0x80 |
| module_exit |
( |
tlclk_cleanup |
| ) |
|
| module_init |
( |
tlclk_init |
| ) |
|