Lines Matching defs:clk
42 static int mtk_clk_find_parent_rate(struct clk *clk, int id, in mtk_clk_find_parent_rate()
112 static void mtk_pll_set_rate_regs(struct clk *clk, u32 pcw, int postdiv) in mtk_pll_set_rate_regs()
148 static void mtk_pll_calc_values(struct clk *clk, u32 *pcw, u32 *postdiv, in mtk_pll_calc_values()
173 static ulong mtk_apmixedsys_set_rate(struct clk *clk, ulong rate) in mtk_apmixedsys_set_rate()
184 static ulong mtk_apmixedsys_get_rate(struct clk *clk) in mtk_apmixedsys_get_rate()
202 static int mtk_apmixedsys_enable(struct clk *clk) in mtk_apmixedsys_enable()
231 static int mtk_apmixedsys_disable(struct clk *clk) in mtk_apmixedsys_disable()
268 static int mtk_topckgen_get_factor_rate(struct clk *clk, u32 off) in mtk_topckgen_get_factor_rate()
290 static int mtk_topckgen_get_mux_rate(struct clk *clk, u32 off) in mtk_topckgen_get_mux_rate()
307 static ulong mtk_topckgen_get_rate(struct clk *clk) in mtk_topckgen_get_rate()
321 static int mtk_topckgen_enable(struct clk *clk) in mtk_topckgen_enable()
349 static int mtk_topckgen_disable(struct clk *clk) in mtk_topckgen_disable()
370 static int mtk_topckgen_set_parent(struct clk *clk, struct clk *parent) in mtk_topckgen_set_parent()
383 static int mtk_clk_gate_enable(struct clk *clk) in mtk_clk_gate_enable()
410 static int mtk_clk_gate_disable(struct clk *clk) in mtk_clk_gate_disable()
437 static ulong mtk_clk_gate_get_rate(struct clk *clk) in mtk_clk_gate_get_rate()