1 #ifndef __MACH_IMX_CLK_H
2 #define __MACH_IMX_CLK_H
25 const char *parent_name,
void __iomem *base,
u32 gate_mask,
29 const char *parent_name,
unsigned long flags,
33 static inline struct clk *imx_clk_gate2(
const char *
name,
const char *
parent,
37 shift, 0, &imx_ccm_lock);
49 const char **parent_names,
int num_parents);
51 static inline struct clk *imx_clk_fixed(
const char *
name,
int rate)
56 static inline struct clk *imx_clk_divider(
const char *
name,
const char *
parent,
60 reg, shift, width, 0, &imx_ccm_lock);
63 static inline struct clk *imx_clk_gate(
const char *
name,
const char *
parent,
67 shift, 0, &imx_ccm_lock);
74 width, 0, &imx_ccm_lock);
77 static inline struct clk *imx_clk_fixed_factor(
const char *
name,
81 CLK_SET_RATE_PARENT, mult, div);