Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
clk-pllv3.c File Reference
#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/err.h>
#include "clk.h"

Go to the source code of this file.

Data Structures

struct  clk_pllv3
 

Macros

#define PLL_NUM_OFFSET   0x10
 
#define PLL_DENOM_OFFSET   0x20
 
#define BM_PLL_POWER   (0x1 << 12)
 
#define BM_PLL_ENABLE   (0x1 << 13)
 
#define BM_PLL_BYPASS   (0x1 << 16)
 
#define BM_PLL_LOCK   (0x1 << 31)
 
#define to_clk_pllv3(_hw)   container_of(_hw, struct clk_pllv3, hw)
 

Functions

struct clkimx_clk_pllv3 (enum imx_pllv3_type type, const char *name, const char *parent_name, void __iomem *base, u32 gate_mask, u32 div_mask)
 

Macro Definition Documentation

#define BM_PLL_BYPASS   (0x1 << 16)

Definition at line 26 of file clk-pllv3.c.

#define BM_PLL_ENABLE   (0x1 << 13)

Definition at line 25 of file clk-pllv3.c.

#define BM_PLL_LOCK   (0x1 << 31)

Definition at line 27 of file clk-pllv3.c.

#define BM_PLL_POWER   (0x1 << 12)

Definition at line 24 of file clk-pllv3.c.

#define PLL_DENOM_OFFSET   0x20

Definition at line 22 of file clk-pllv3.c.

#define PLL_NUM_OFFSET   0x10

Definition at line 21 of file clk-pllv3.c.

#define to_clk_pllv3 (   _hw)    container_of(_hw, struct clk_pllv3, hw)

Definition at line 48 of file clk-pllv3.c.

Function Documentation

struct clk* imx_clk_pllv3 ( enum imx_pllv3_type  type,
const char name,
const char parent_name,
void __iomem base,
u32  gate_mask,
u32  div_mask 
)
read

Definition at line 369 of file clk-pllv3.c.