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

Go to the source code of this file.

Macros

#define SET   0x4
 
#define CLR   0x8
 

Functions

int mxs_clk_wait (void __iomem *reg, u8 shift)
 
struct clkmxs_clk_pll (const char *name, const char *parent_name, void __iomem *base, u8 power, unsigned long rate)
 
struct clkmxs_clk_ref (const char *name, const char *parent_name, void __iomem *reg, u8 idx)
 
struct clkmxs_clk_div (const char *name, const char *parent_name, void __iomem *reg, u8 shift, u8 width, u8 busy)
 
struct clkmxs_clk_frac (const char *name, const char *parent_name, void __iomem *reg, u8 shift, u8 width, u8 busy)
 

Variables

spinlock_t mxs_lock
 

Macro Definition Documentation

#define CLR   0x8

Definition at line 20 of file clk.h.

#define SET   0x4

Definition at line 19 of file clk.h.

Function Documentation

struct clk* mxs_clk_div ( const char name,
const char parent_name,
void __iomem reg,
u8  shift,
u8  width,
u8  busy 
)
read

Definition at line 77 of file clk-div.c.

struct clk* mxs_clk_frac ( const char name,
const char parent_name,
void __iomem reg,
u8  shift,
u8  width,
u8  busy 
)
read

Definition at line 111 of file clk-frac.c.

struct clk* mxs_clk_pll ( const char name,
const char parent_name,
void __iomem base,
u8  power,
unsigned long  rate 
)
read

Definition at line 89 of file clk-pll.c.

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

Definition at line 128 of file clk-ref.c.

int mxs_clk_wait ( void __iomem reg,
u8  shift 
)

Definition at line 19 of file clk.c.

Variable Documentation

spinlock_t mxs_lock