Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions | Variables
clk.h File Reference
#include <linux/spinlock.h>
#include <linux/clk-provider.h>

Go to the source code of this file.

Enumerations

enum  imx_pllv3_type {
  IMX_PLLV3_GENERIC, IMX_PLLV3_SYS, IMX_PLLV3_USB, IMX_PLLV3_AV,
  IMX_PLLV3_ENET, IMX_PLLV3_MLB
}
 

Functions

struct clkimx_clk_pllv1 (const char *name, const char *parent, void __iomem *base)
 
struct clkimx_clk_pllv2 (const char *name, const char *parent, void __iomem *base)
 
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)
 
struct clkclk_register_gate2 (struct device *dev, const char *name, const char *parent_name, unsigned long flags, void __iomem *reg, u8 bit_idx, u8 clk_gate_flags, spinlock_t *lock)
 
struct clkimx_clk_pfd (const char *name, const char *parent_name, void __iomem *reg, u8 idx)
 
struct clkimx_clk_busy_divider (const char *name, const char *parent_name, void __iomem *reg, u8 shift, u8 width, void __iomem *busy_reg, u8 busy_shift)
 
struct clkimx_clk_busy_mux (const char *name, void __iomem *reg, u8 shift, u8 width, void __iomem *busy_reg, u8 busy_shift, const char **parent_names, int num_parents)
 

Variables

spinlock_t imx_ccm_lock
 

Enumeration Type Documentation

Enumerator:
IMX_PLLV3_GENERIC 
IMX_PLLV3_SYS 
IMX_PLLV3_USB 
IMX_PLLV3_AV 
IMX_PLLV3_ENET 
IMX_PLLV3_MLB 

Definition at line 15 of file clk.h.

Function Documentation

struct clk* clk_register_gate2 ( struct device dev,
const char name,
const char parent_name,
unsigned long  flags,
void __iomem reg,
u8  bit_idx,
u8  clk_gate_flags,
spinlock_t lock 
)
read

Definition at line 86 of file clk-gate2.c.

struct clk* imx_clk_busy_divider ( const char name,
const char parent_name,
void __iomem reg,
u8  shift,
u8  width,
void __iomem busy_reg,
u8  busy_shift 
)
read

Definition at line 81 of file clk-busy.c.

struct clk* imx_clk_busy_mux ( const char name,
void __iomem reg,
u8  shift,
u8  width,
void __iomem busy_reg,
u8  busy_shift,
const char **  parent_names,
int  num_parents 
)
read

Definition at line 155 of file clk-busy.c.

struct clk* imx_clk_pfd ( const char name,
const char parent_name,
void __iomem reg,
u8  idx 
)
read

Definition at line 120 of file clk-pfd.c.

struct clk* imx_clk_pllv1 ( const char name,
const char parent,
void __iomem base 
)
read

Definition at line 85 of file clk-pllv1.c.

struct clk* imx_clk_pllv2 ( const char name,
const char parent,
void __iomem base 
)
read

Definition at line 240 of file clk-pllv2.c.

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.

Variable Documentation

spinlock_t imx_ccm_lock