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

Go to the source code of this file.

Macros

#define __ASM_PLAT_S5P_CLOCK_H   __FILE__
 
#define GET_DIV(clk, field)   ((((clk) & field##_MASK) >> field##_SHIFT) + 1)
 
#define clk_fin_apll   clk_ext_xtal_mux
 
#define clk_fin_bpll   clk_ext_xtal_mux
 
#define clk_fin_cpll   clk_ext_xtal_mux
 
#define clk_fin_mpll   clk_ext_xtal_mux
 
#define clk_fin_epll   clk_ext_xtal_mux
 
#define clk_fin_dpll   clk_ext_xtal_mux
 
#define clk_fin_vpll   clk_ext_xtal_mux
 
#define clk_fin_hpll   clk_ext_xtal_mux
 

Functions

int s5p_gatectrl (void __iomem *reg, struct clk *clk, int enable)
 
int s5p_epll_enable (struct clk *clk, int enable)
 
unsigned long s5p_epll_get_rate (struct clk *clk)
 
int s5p_spdif_set_rate (struct clk *clk, unsigned long rate)
 
unsigned long s5p_spdif_get_rate (struct clk *clk)
 

Variables

struct clk clk_ext_xtal_mux
 
struct clk clk_xusbxti
 
struct clk clk_48m
 
struct clk s5p_clk_27m
 
struct clk clk_fout_apll
 
struct clk clk_fout_bpll
 
struct clk clk_fout_bpll_div2
 
struct clk clk_fout_cpll
 
struct clk clk_fout_mpll
 
struct clk clk_fout_mpll_div2
 
struct clk clk_fout_epll
 
struct clk clk_fout_dpll
 
struct clk clk_fout_vpll
 
struct clk clk_arm
 
struct clk clk_vpll
 
struct clksrc_sources clk_src_apll
 
struct clksrc_sources clk_src_bpll
 
struct clksrc_sources clk_src_bpll_fout
 
struct clksrc_sources clk_src_cpll
 
struct clksrc_sources clk_src_mpll
 
struct clksrc_sources clk_src_mpll_fout
 
struct clksrc_sources clk_src_epll
 
struct clksrc_sources clk_src_dpll
 
struct clk_ops s5p_sclk_spdif_ops
 

Macro Definition Documentation

#define __ASM_PLAT_S5P_CLOCK_H   __FILE__

Definition at line 14 of file s5p-clock.h.

#define clk_fin_apll   clk_ext_xtal_mux

Definition at line 20 of file s5p-clock.h.

#define clk_fin_bpll   clk_ext_xtal_mux

Definition at line 21 of file s5p-clock.h.

#define clk_fin_cpll   clk_ext_xtal_mux

Definition at line 22 of file s5p-clock.h.

#define clk_fin_dpll   clk_ext_xtal_mux

Definition at line 25 of file s5p-clock.h.

#define clk_fin_epll   clk_ext_xtal_mux

Definition at line 24 of file s5p-clock.h.

#define clk_fin_hpll   clk_ext_xtal_mux

Definition at line 27 of file s5p-clock.h.

#define clk_fin_mpll   clk_ext_xtal_mux

Definition at line 23 of file s5p-clock.h.

#define clk_fin_vpll   clk_ext_xtal_mux

Definition at line 26 of file s5p-clock.h.

#define GET_DIV (   clk,
  field 
)    ((((clk) & field##_MASK) >> field##_SHIFT) + 1)

Definition at line 18 of file s5p-clock.h.

Function Documentation

int s5p_epll_enable ( struct clk clk,
int  enable 
)

Definition at line 219 of file s5p-clock.c.

unsigned long s5p_epll_get_rate ( struct clk clk)

Definition at line 232 of file s5p-clock.c.

int s5p_gatectrl ( void __iomem reg,
struct clk clk,
int  enable 
)

Definition at line 208 of file s5p-clock.c.

unsigned long s5p_spdif_get_rate ( struct clk clk)

Definition at line 252 of file s5p-clock.c.

int s5p_spdif_set_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 237 of file s5p-clock.c.

Variable Documentation

struct clk clk_48m

Definition at line 81 of file clock.c.

struct clk clk_ext_xtal_mux

Definition at line 32 of file s5p-clock.c.

struct clk clk_fout_apll

Definition at line 59 of file s5p-clock.c.

struct clk clk_fout_bpll

Definition at line 66 of file s5p-clock.c.

struct clk clk_fout_bpll_div2

Definition at line 71 of file s5p-clock.c.

struct clk clk_fout_cpll

Definition at line 78 of file s5p-clock.c.

struct clk clk_fout_dpll

Definition at line 104 of file s5p-clock.c.

struct clk clk_fout_epll

Definition at line 97 of file s5p-clock.c.

struct clk clk_fout_mpll

Definition at line 86 of file s5p-clock.c.

struct clk clk_fout_mpll_div2

Definition at line 91 of file s5p-clock.c.

struct clk clk_fout_vpll

Definition at line 111 of file s5p-clock.c.

struct clksrc_sources clk_src_apll

Definition at line 123 of file s5p-clock.c.

struct clksrc_sources clk_src_bpll

Definition at line 134 of file s5p-clock.c.

struct clksrc_sources clk_src_bpll_fout

Definition at line 144 of file s5p-clock.c.

struct clksrc_sources clk_src_cpll

Definition at line 155 of file s5p-clock.c.

struct clksrc_sources clk_src_dpll

Definition at line 198 of file s5p-clock.c.

struct clksrc_sources clk_src_epll

Definition at line 187 of file s5p-clock.c.

struct clksrc_sources clk_src_mpll

Definition at line 166 of file s5p-clock.c.

struct clksrc_sources clk_src_mpll_fout

Definition at line 176 of file s5p-clock.c.

struct clk clk_vpll

Definition at line 203 of file s5p-clock.c.

struct clk clk_xusbxti

Definition at line 87 of file clock.c.

struct clk s5p_clk_27m

Definition at line 43 of file s5p-clock.c.

struct clk_ops s5p_sclk_spdif_ops

Definition at line 267 of file s5p-clock.c.