Searched refs:mtk_clk_pll (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/clk/mediatek/ |
| H A D | clk-pll.c | 35 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_is_prepared() 42 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_fenc_is_prepared() 47 static unsigned long __mtk_pll_recalc_rate(struct mtk_clk_pll *pll, u32 fin, in __mtk_pll_recalc_rate() 74 static void __mtk_pll_tuner_enable(struct mtk_clk_pll *pll) in __mtk_pll_tuner_enable() 87 static void __mtk_pll_tuner_disable(struct mtk_clk_pll *pll) in __mtk_pll_tuner_disable() 100 static void mtk_pll_set_rate_regs(struct mtk_clk_pll *pll, u32 pcw, in mtk_pll_set_rate_regs() 145 void mtk_pll_calc_values(struct mtk_clk_pll *pll, u32 *pcw, u32 *postdiv, in mtk_pll_calc_values() 185 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_set_rate() 197 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_recalc_rate() 212 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_determine_rate() [all …]
|
| H A D | clk-pll.h | 65 struct mtk_clk_pll { struct 90 static inline struct mtk_clk_pll *to_mtk_clk_pll(struct clk_hw *hw) in to_mtk_clk_pll() argument 92 return container_of(hw, struct mtk_clk_pll, hw); in to_mtk_clk_pll() 103 void mtk_pll_calc_values(struct mtk_clk_pll *pll, u32 *pcw, u32 *postdiv, 109 struct clk_hw *mtk_clk_register_pll_ops(struct mtk_clk_pll *pll,
|
| H A D | clk-fhctl.c | 55 static void dump_hw(struct mtk_clk_pll *pll, struct fh_pll_regs *regs, in dump_hw() 68 static int fhctl_set_ssc_regs(struct mtk_clk_pll *pll, struct fh_pll_regs *regs, in fhctl_set_ssc_regs() 116 static int hopping_hw_flow(struct mtk_clk_pll *pll, struct fh_pll_regs *regs, in hopping_hw_flow() 161 static unsigned int __get_postdiv(struct mtk_clk_pll *pll) in __get_postdiv() 171 static void __set_postdiv(struct mtk_clk_pll *pll, unsigned int postdiv) in __set_postdiv() 187 struct mtk_clk_pll *pll = &fh->clk_pll; in fhctl_hopping() 217 struct mtk_clk_pll *pll = &fh->clk_pll; in fhctl_ssc_enable()
|
| H A D | clk-pllfh.h | 58 struct mtk_clk_pll clk_pll;
|
| H A D | clk-pllfh.c | 22 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in to_mtk_fh() 30 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_fhctl_set_rate()
|