#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/string.h>
#include <linux/clk.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <linux/debugfs.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/timer.h>
#include <linux/io.h>
#include <linux/seq_file.h>
#include <linux/clkdev.h>
#include <asm/clocks.h>
Go to the source code of this file.
#define CGU0_CTL_DF (1 << 0) |
#define CGU0_CTL_MSEL_MASK (0x7f << 8) |
#define CGU0_CTL_MSEL_SHIFT 8 |
#define CGU0_DIV_CSEL_MASK 0x0000001F |
#define CGU0_DIV_CSEL_SHIFT 0 |
#define CGU0_DIV_DSEL_MASK (0x1f << CGU0_DIV_DSEL_SHIFT) |
#define CGU0_DIV_DSEL_SHIFT 16 |
#define CGU0_DIV_OSEL_MASK (0x7f << CGU0_DIV_OSEL_SHIFT) |
#define CGU0_DIV_OSEL_SHIFT 22 |
#define CGU0_DIV_S0SEL_MASK (0x3 << CGU0_DIV_S0SEL_SHIFT) |
#define CGU0_DIV_S0SEL_SHIFT 5 |
#define CGU0_DIV_S1SEL_MASK (0x3 << CGU0_DIV_S1SEL_SHIFT) |
#define CGU0_DIV_S1SEL_SHIFT 13 |
#define CGU0_DIV_SYSSEL_MASK (0x1f << CGU0_DIV_SYSSEL_SHIFT) |
#define CGU0_DIV_SYSSEL_SHIFT 8 |
#define CGU0_STAT_ADDRERR (1 << 16) |
#define CGU0_STAT_CCBF0 (1 << 4) |
#define CGU0_STAT_CCBF1 (1 << 5) |
#define CGU0_STAT_CLKSALGN (1 << 3) |
#define CGU0_STAT_DCBF (1 << 8) |
#define CGU0_STAT_DIVERR (1 << 18) |
#define CGU0_STAT_LWERR (1 << 17) |
#define CGU0_STAT_OCBF (1 << 9) |
#define CGU0_STAT_PLLBP (1 << 1) |
#define CGU0_STAT_PLLEN (1 << 0) |
#define CGU0_STAT_PLLLK (1 << 2) |
#define CGU0_STAT_PLOCKERR (1 << 21) |
#define CGU0_STAT_SCBF0 (1 << 6) |
#define CGU0_STAT_SCBF1 (1 << 7) |
#define CGU0_STAT_WDFMSERR (1 << 19) |
#define CGU0_STAT_WDIVERR (1 << 20) |
#define CLK |
( |
|
_clk, |
|
|
|
_devname, |
|
|
|
_conname |
|
) |
| |
Value:{ \
.clk = &_clk, \
.dev_id = _devname, \
.con_id = _conname, \
}
Definition at line 55 of file clock.c.
#define NEEDS_INITIALIZATION 0x11 |