Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
regs-clk.h File Reference

Go to the source code of this file.

Macros

#define LS1X_CLK_REG(x)   ((void __iomem *)KSEG1ADDR(LS1X_CLK_BASE + (x)))
 
#define LS1X_CLK_PLL_FREQ   LS1X_CLK_REG(0x0)
 
#define LS1X_CLK_PLL_DIV   LS1X_CLK_REG(0x4)
 
#define DIV_DC_EN   (0x1 << 31)
 
#define DIV_DC   (0x1f << 26)
 
#define DIV_CPU_EN   (0x1 << 25)
 
#define DIV_CPU   (0x1f << 20)
 
#define DIV_DDR_EN   (0x1 << 19)
 
#define DIV_DDR   (0x1f << 14)
 
#define DIV_DC_SHIFT   26
 
#define DIV_CPU_SHIFT   20
 
#define DIV_DDR_SHIFT   14
 

Macro Definition Documentation

#define DIV_CPU   (0x1f << 20)

Definition at line 25 of file regs-clk.h.

#define DIV_CPU_EN   (0x1 << 25)

Definition at line 24 of file regs-clk.h.

#define DIV_CPU_SHIFT   20

Definition at line 30 of file regs-clk.h.

#define DIV_DC   (0x1f << 26)

Definition at line 23 of file regs-clk.h.

#define DIV_DC_EN   (0x1 << 31)

Definition at line 22 of file regs-clk.h.

#define DIV_DC_SHIFT   26

Definition at line 29 of file regs-clk.h.

#define DIV_DDR   (0x1f << 14)

Definition at line 27 of file regs-clk.h.

#define DIV_DDR_EN   (0x1 << 19)

Definition at line 26 of file regs-clk.h.

#define DIV_DDR_SHIFT   14

Definition at line 31 of file regs-clk.h.

#define LS1X_CLK_PLL_DIV   LS1X_CLK_REG(0x4)

Definition at line 19 of file regs-clk.h.

#define LS1X_CLK_PLL_FREQ   LS1X_CLK_REG(0x0)

Definition at line 18 of file regs-clk.h.

#define LS1X_CLK_REG (   x)    ((void __iomem *)KSEG1ADDR(LS1X_CLK_BASE + (x)))

Definition at line 15 of file regs-clk.h.